Skip to content

Commit d0ebfd7

Browse files
committed
chore(release): 1.2.0
1 parent 050bac6 commit d0ebfd7

File tree

4 files changed

+198
-182
lines changed

4 files changed

+198
-182
lines changed

.openshiftio/application.yaml

+179-180
Original file line numberDiff line numberDiff line change
@@ -6,188 +6,187 @@ metadata:
66
description: This template creates a Build Configuration using an S2I builder.
77
tags: instant-app
88
parameters:
9-
- name: SOURCE_REPOSITORY_URL
10-
description: The source URL for the application
11-
displayName: Source URL
12-
required: true
13-
- name: SOURCE_REPOSITORY_REF
14-
description: The branch name for the application
15-
displayName: Source Branch
16-
value: master
17-
required: true
18-
- name: SOURCE_REPOSITORY_DIR
19-
description: The location within the source repo of the application
20-
displayName: Source Directory
21-
value: .
22-
required: true
23-
- name: GITHUB_WEBHOOK_SECRET
24-
description: A secret string used to configure the GitHub webhook.
25-
displayName: GitHub Webhook Secret
26-
required: true
27-
from: '[a-zA-Z0-9]{40}'
28-
generate: expression
9+
- name: SOURCE_REPOSITORY_URL
10+
description: The source URL for the application
11+
displayName: Source URL
12+
required: true
13+
- name: SOURCE_REPOSITORY_REF
14+
description: The branch name for the application
15+
displayName: Source Branch
16+
value: master
17+
required: true
18+
- name: SOURCE_REPOSITORY_DIR
19+
description: The location within the source repo of the application
20+
displayName: Source Directory
21+
value: .
22+
required: true
23+
- name: GITHUB_WEBHOOK_SECRET
24+
description: A secret string used to configure the GitHub webhook.
25+
displayName: GitHub Webhook Secret
26+
required: true
27+
from: '[a-zA-Z0-9]{40}'
28+
generate: expression
2929
objects:
30-
- apiVersion: v1
31-
kind: ImageStream
32-
metadata:
33-
name: nodejs-rest-http-crud
34-
spec: {}
35-
- apiVersion: v1
36-
kind: ImageStream
37-
metadata:
38-
name: runtime
39-
spec:
40-
tags:
41-
- name: latest
42-
from:
43-
kind: DockerImage
44-
name: 'bucharestgold/centos7-s2i-nodejs:8.x'
45-
- apiVersion: v1
46-
kind: BuildConfig
47-
metadata:
48-
name: nodejs-rest-http-crud
49-
spec:
50-
output:
51-
to:
52-
kind: ImageStreamTag
53-
name: nodejs-rest-http-crud:latest
54-
postCommit: {}
55-
resources: {}
56-
source:
57-
git:
58-
uri: ${SOURCE_REPOSITORY_URL}
59-
ref: ${SOURCE_REPOSITORY_REF}
60-
#contextDir: ${SOURCE_REPOSITORY_DIR}
61-
type: Git
62-
strategy:
63-
type: Source
64-
sourceStrategy:
65-
from:
30+
- apiVersion: v1
31+
kind: ImageStream
32+
metadata:
33+
name: nodejs-rest-http-crud
34+
spec: {}
35+
- apiVersion: v1
36+
kind: ImageStream
37+
metadata:
38+
name: runtime
39+
spec:
40+
tags:
41+
- name: latest
42+
from:
43+
kind: DockerImage
44+
name: 'bucharestgold/centos7-s2i-nodejs:8.x'
45+
- apiVersion: v1
46+
kind: BuildConfig
47+
metadata:
48+
name: nodejs-rest-http-crud
49+
spec:
50+
output:
51+
to:
6652
kind: ImageStreamTag
67-
name: runtime:latest
68-
incremental: true
69-
triggers:
70-
- github:
71-
secret: ${GITHUB_WEBHOOK_SECRET}
72-
type: GitHub
73-
- type: ConfigChange
74-
- imageChange: {}
75-
type: ImageChange
76-
status:
77-
lastVersion: 0
78-
- apiVersion: v1
79-
kind: Service
80-
spec:
81-
ports:
82-
- protocol: TCP
83-
port: 8080
84-
targetPort: 8080
85-
type: ClusterIP
86-
selector:
87-
project: nodejs-rest-http-crud
88-
provider: nodeshift
89-
metadata:
90-
name: nodejs-rest-http-crud
91-
labels:
92-
provider: nodeshift
93-
expose: 'true'
94-
project: nodejs-rest-http-crud
95-
version: 1.0.0
96-
- apiVersion: v1
97-
kind: DeploymentConfig
98-
metadata:
99-
name: nodejs-rest-http-crud
100-
labels:
101-
app: nodejs-rest-http-crud
102-
provider: nodeshift
103-
project: nodejs-rest-http-crud
104-
version: 1.0.0
105-
spec:
106-
template:
107-
spec:
108-
containers:
109-
- env:
110-
- name: DB_USERNAME
111-
valueFrom:
112-
secretKeyRef:
113-
name: my-database-secret
114-
key: user
115-
- name: DB_PASSWORD
116-
valueFrom:
117-
secretKeyRef:
118-
name: my-database-secret
119-
key: password
120-
readinessProbe:
121-
httpGet:
122-
path: /api/health/readiness
123-
port: 8080
124-
scheme: HTTP
125-
failureThreshold: 3
126-
initialDelaySeconds: 10
127-
periodSeconds: 5
128-
successThreshold: 1
129-
timeoutSeconds: 1
130-
livenessProbe:
131-
httpGet:
132-
path: /api/health/liveness
133-
port: 8080
134-
scheme: HTTP
135-
failureThreshold: 2
136-
initialDelaySeconds: 60
137-
periodSeconds: 3
138-
successThreshold: 1
139-
timeoutSeconds: 1
140-
image: nodejs-rest-http-crud
141-
name: nodejs-rest-http-crud
142-
securityContext:
143-
privileged: false
144-
ports:
145-
- containerPort: 8080
146-
name: http
147-
protocol: TCP
148-
metadata:
149-
labels:
150-
app: nodejs-rest-http-crud
151-
project: nodejs-rest-http-crud
152-
provider: nodeshift
153-
version: 1.0.0
154-
replicas: 1
155-
selector:
156-
app: nodejs-rest-http-crud
157-
project: nodejs-rest-http-crud
158-
provider: nodeshift
159-
triggers:
160-
- type: ConfigChange
161-
- type: ImageChange
162-
imageChangeParams:
163-
automatic: true
164-
containerNames:
165-
- nodejs-rest-http-crud
53+
name: 'nodejs-rest-http-crud:latest'
54+
postCommit: {}
55+
resources: {}
56+
source:
57+
git:
58+
uri: '${SOURCE_REPOSITORY_URL}'
59+
ref: '${SOURCE_REPOSITORY_REF}'
60+
type: Git
61+
strategy:
62+
type: Source
63+
sourceStrategy:
16664
from:
16765
kind: ImageStreamTag
168-
name: 'nodejs-rest-http-crud:latest'
169-
- apiVersion: v1
170-
kind: Route
171-
spec:
172-
to:
173-
kind: Service
66+
name: 'runtime:latest'
67+
incremental: true
68+
triggers:
69+
- github:
70+
secret: '${GITHUB_WEBHOOK_SECRET}'
71+
type: GitHub
72+
- type: ConfigChange
73+
- imageChange: {}
74+
type: ImageChange
75+
status:
76+
lastVersion: 0
77+
- apiVersion: v1
78+
kind: Service
79+
spec:
80+
ports:
81+
- protocol: TCP
82+
port: 8080
83+
targetPort: 8080
84+
type: ClusterIP
85+
selector:
86+
project: nodejs-rest-http-crud
87+
provider: nodeshift
88+
metadata:
89+
name: nodejs-rest-http-crud
90+
labels:
91+
provider: nodeshift
92+
expose: 'true'
93+
project: nodejs-rest-http-crud
94+
version: 1.2.0
95+
- apiVersion: v1
96+
kind: DeploymentConfig
97+
metadata:
98+
name: nodejs-rest-http-crud
99+
labels:
100+
app: nodejs-rest-http-crud
101+
provider: nodeshift
102+
project: nodejs-rest-http-crud
103+
version: 1.2.0
104+
spec:
105+
template:
106+
spec:
107+
containers:
108+
- env:
109+
- name: DB_USERNAME
110+
valueFrom:
111+
secretKeyRef:
112+
name: my-database-secret
113+
key: user
114+
- name: DB_PASSWORD
115+
valueFrom:
116+
secretKeyRef:
117+
name: my-database-secret
118+
key: password
119+
readinessProbe:
120+
httpGet:
121+
path: /api/health/readiness
122+
port: 8080
123+
scheme: HTTP
124+
failureThreshold: 3
125+
initialDelaySeconds: 10
126+
periodSeconds: 5
127+
successThreshold: 1
128+
timeoutSeconds: 1
129+
livenessProbe:
130+
httpGet:
131+
path: /api/health/liveness
132+
port: 8080
133+
scheme: HTTP
134+
failureThreshold: 2
135+
initialDelaySeconds: 60
136+
periodSeconds: 3
137+
successThreshold: 1
138+
timeoutSeconds: 1
139+
image: nodejs-rest-http-crud
140+
name: nodejs-rest-http-crud
141+
securityContext:
142+
privileged: false
143+
ports:
144+
- containerPort: 8080
145+
name: http
146+
protocol: TCP
147+
metadata:
148+
labels:
149+
app: nodejs-rest-http-crud
150+
project: nodejs-rest-http-crud
151+
provider: nodeshift
152+
version: 1.2.0
153+
replicas: 1
154+
selector:
155+
app: nodejs-rest-http-crud
156+
project: nodejs-rest-http-crud
157+
provider: nodeshift
158+
triggers:
159+
- type: ConfigChange
160+
- type: ImageChange
161+
imageChangeParams:
162+
automatic: true
163+
containerNames:
164+
- nodejs-rest-http-crud
165+
from:
166+
kind: ImageStreamTag
167+
name: 'nodejs-rest-http-crud:latest'
168+
- apiVersion: v1
169+
kind: Route
170+
spec:
171+
to:
172+
kind: Service
173+
name: nodejs-rest-http-crud
174+
port:
175+
targetPort: 8080
176+
metadata:
174177
name: nodejs-rest-http-crud
175-
port:
176-
targetPort: 8080
177-
metadata:
178-
name: nodejs-rest-http-crud
179-
labels:
180-
provider: nodeshift
181-
project: nodejs-rest-http-crud
182-
version: 1.0.0
183-
- apiVersion: v1
184-
kind: Secret
185-
metadata:
186-
name: my-database-secret
187-
labels:
188-
provider: nodeshift
189-
app: nodejs-rest-http-crud
190-
version: 1.0.0
191-
stringData:
192-
user: luke
193-
password: secret
178+
labels:
179+
provider: nodeshift
180+
project: nodejs-rest-http-crud
181+
version: 1.2.0
182+
- apiVersion: v1
183+
kind: Secret
184+
metadata:
185+
name: my-database-secret
186+
labels:
187+
provider: nodeshift
188+
app: nodejs-rest-http-crud
189+
version: 1.2.0
190+
stringData:
191+
user: luke
192+
password: secret

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
<a name="1.2.0"></a>
6+
# [1.2.0](https://github.com/bucharest-gold/nodejs-rest-http-crud/compare/v1.1.1...v1.2.0) (2018-03-07)
7+
8+
9+
### Bug Fixes
10+
11+
* creating a item should return the newly created value. ([#81](https://github.com/bucharest-gold/nodejs-rest-http-crud/issues/81)) ([d5a8bc1](https://github.com/bucharest-gold/nodejs-rest-http-crud/commit/d5a8bc1)), closes [#79](https://github.com/bucharest-gold/nodejs-rest-http-crud/issues/79)
12+
* **application.yaml:** docker tag should be 8.x ([5ba5a77](https://github.com/bucharest-gold/nodejs-rest-http-crud/commit/5ba5a77))
13+
14+
15+
### Features
16+
17+
* **package:** Move nsp check from prepare step to an optional script. ([#78](https://github.com/bucharest-gold/nodejs-rest-http-crud/issues/78)) ([914a763](https://github.com/bucharest-gold/nodejs-rest-http-crud/commit/914a763)), closes [#77](https://github.com/bucharest-gold/nodejs-rest-http-crud/issues/77)

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)