Skip to content

Commit

Permalink
chore(release): 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lholmquist committed Mar 7, 2018
1 parent 050bac6 commit d0ebfd7
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 182 deletions.
359 changes: 179 additions & 180 deletions .openshiftio/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,188 +6,187 @@ metadata:
description: This template creates a Build Configuration using an S2I builder.
tags: instant-app
parameters:
- name: SOURCE_REPOSITORY_URL
description: The source URL for the application
displayName: Source URL
required: true
- name: SOURCE_REPOSITORY_REF
description: The branch name for the application
displayName: Source Branch
value: master
required: true
- name: SOURCE_REPOSITORY_DIR
description: The location within the source repo of the application
displayName: Source Directory
value: .
required: true
- name: GITHUB_WEBHOOK_SECRET
description: A secret string used to configure the GitHub webhook.
displayName: GitHub Webhook Secret
required: true
from: '[a-zA-Z0-9]{40}'
generate: expression
- name: SOURCE_REPOSITORY_URL
description: The source URL for the application
displayName: Source URL
required: true
- name: SOURCE_REPOSITORY_REF
description: The branch name for the application
displayName: Source Branch
value: master
required: true
- name: SOURCE_REPOSITORY_DIR
description: The location within the source repo of the application
displayName: Source Directory
value: .
required: true
- name: GITHUB_WEBHOOK_SECRET
description: A secret string used to configure the GitHub webhook.
displayName: GitHub Webhook Secret
required: true
from: '[a-zA-Z0-9]{40}'
generate: expression
objects:
- apiVersion: v1
kind: ImageStream
metadata:
name: nodejs-rest-http-crud
spec: {}
- apiVersion: v1
kind: ImageStream
metadata:
name: runtime
spec:
tags:
- name: latest
from:
kind: DockerImage
name: 'bucharestgold/centos7-s2i-nodejs:8.x'
- apiVersion: v1
kind: BuildConfig
metadata:
name: nodejs-rest-http-crud
spec:
output:
to:
kind: ImageStreamTag
name: nodejs-rest-http-crud:latest
postCommit: {}
resources: {}
source:
git:
uri: ${SOURCE_REPOSITORY_URL}
ref: ${SOURCE_REPOSITORY_REF}
#contextDir: ${SOURCE_REPOSITORY_DIR}
type: Git
strategy:
type: Source
sourceStrategy:
from:
- apiVersion: v1
kind: ImageStream
metadata:
name: nodejs-rest-http-crud
spec: {}
- apiVersion: v1
kind: ImageStream
metadata:
name: runtime
spec:
tags:
- name: latest
from:
kind: DockerImage
name: 'bucharestgold/centos7-s2i-nodejs:8.x'
- apiVersion: v1
kind: BuildConfig
metadata:
name: nodejs-rest-http-crud
spec:
output:
to:
kind: ImageStreamTag
name: runtime:latest
incremental: true
triggers:
- github:
secret: ${GITHUB_WEBHOOK_SECRET}
type: GitHub
- type: ConfigChange
- imageChange: {}
type: ImageChange
status:
lastVersion: 0
- apiVersion: v1
kind: Service
spec:
ports:
- protocol: TCP
port: 8080
targetPort: 8080
type: ClusterIP
selector:
project: nodejs-rest-http-crud
provider: nodeshift
metadata:
name: nodejs-rest-http-crud
labels:
provider: nodeshift
expose: 'true'
project: nodejs-rest-http-crud
version: 1.0.0
- apiVersion: v1
kind: DeploymentConfig
metadata:
name: nodejs-rest-http-crud
labels:
app: nodejs-rest-http-crud
provider: nodeshift
project: nodejs-rest-http-crud
version: 1.0.0
spec:
template:
spec:
containers:
- env:
- name: DB_USERNAME
valueFrom:
secretKeyRef:
name: my-database-secret
key: user
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: my-database-secret
key: password
readinessProbe:
httpGet:
path: /api/health/readiness
port: 8080
scheme: HTTP
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
livenessProbe:
httpGet:
path: /api/health/liveness
port: 8080
scheme: HTTP
failureThreshold: 2
initialDelaySeconds: 60
periodSeconds: 3
successThreshold: 1
timeoutSeconds: 1
image: nodejs-rest-http-crud
name: nodejs-rest-http-crud
securityContext:
privileged: false
ports:
- containerPort: 8080
name: http
protocol: TCP
metadata:
labels:
app: nodejs-rest-http-crud
project: nodejs-rest-http-crud
provider: nodeshift
version: 1.0.0
replicas: 1
selector:
app: nodejs-rest-http-crud
project: nodejs-rest-http-crud
provider: nodeshift
triggers:
- type: ConfigChange
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- nodejs-rest-http-crud
name: 'nodejs-rest-http-crud:latest'
postCommit: {}
resources: {}
source:
git:
uri: '${SOURCE_REPOSITORY_URL}'
ref: '${SOURCE_REPOSITORY_REF}'
type: Git
strategy:
type: Source
sourceStrategy:
from:
kind: ImageStreamTag
name: 'nodejs-rest-http-crud:latest'
- apiVersion: v1
kind: Route
spec:
to:
kind: Service
name: 'runtime:latest'
incremental: true
triggers:
- github:
secret: '${GITHUB_WEBHOOK_SECRET}'
type: GitHub
- type: ConfigChange
- imageChange: {}
type: ImageChange
status:
lastVersion: 0
- apiVersion: v1
kind: Service
spec:
ports:
- protocol: TCP
port: 8080
targetPort: 8080
type: ClusterIP
selector:
project: nodejs-rest-http-crud
provider: nodeshift
metadata:
name: nodejs-rest-http-crud
labels:
provider: nodeshift
expose: 'true'
project: nodejs-rest-http-crud
version: 1.2.0
- apiVersion: v1
kind: DeploymentConfig
metadata:
name: nodejs-rest-http-crud
labels:
app: nodejs-rest-http-crud
provider: nodeshift
project: nodejs-rest-http-crud
version: 1.2.0
spec:
template:
spec:
containers:
- env:
- name: DB_USERNAME
valueFrom:
secretKeyRef:
name: my-database-secret
key: user
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: my-database-secret
key: password
readinessProbe:
httpGet:
path: /api/health/readiness
port: 8080
scheme: HTTP
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
livenessProbe:
httpGet:
path: /api/health/liveness
port: 8080
scheme: HTTP
failureThreshold: 2
initialDelaySeconds: 60
periodSeconds: 3
successThreshold: 1
timeoutSeconds: 1
image: nodejs-rest-http-crud
name: nodejs-rest-http-crud
securityContext:
privileged: false
ports:
- containerPort: 8080
name: http
protocol: TCP
metadata:
labels:
app: nodejs-rest-http-crud
project: nodejs-rest-http-crud
provider: nodeshift
version: 1.2.0
replicas: 1
selector:
app: nodejs-rest-http-crud
project: nodejs-rest-http-crud
provider: nodeshift
triggers:
- type: ConfigChange
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- nodejs-rest-http-crud
from:
kind: ImageStreamTag
name: 'nodejs-rest-http-crud:latest'
- apiVersion: v1
kind: Route
spec:
to:
kind: Service
name: nodejs-rest-http-crud
port:
targetPort: 8080
metadata:
name: nodejs-rest-http-crud
port:
targetPort: 8080
metadata:
name: nodejs-rest-http-crud
labels:
provider: nodeshift
project: nodejs-rest-http-crud
version: 1.0.0
- apiVersion: v1
kind: Secret
metadata:
name: my-database-secret
labels:
provider: nodeshift
app: nodejs-rest-http-crud
version: 1.0.0
stringData:
user: luke
password: secret
labels:
provider: nodeshift
project: nodejs-rest-http-crud
version: 1.2.0
- apiVersion: v1
kind: Secret
metadata:
name: my-database-secret
labels:
provider: nodeshift
app: nodejs-rest-http-crud
version: 1.2.0
stringData:
user: luke
password: secret
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Change Log

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.

<a name="1.2.0"></a>
# [1.2.0](https://github.com/bucharest-gold/nodejs-rest-http-crud/compare/v1.1.1...v1.2.0) (2018-03-07)


### Bug Fixes

* 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)
* **application.yaml:** docker tag should be 8.x ([5ba5a77](https://github.com/bucharest-gold/nodejs-rest-http-crud/commit/5ba5a77))


### Features

* **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)
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d0ebfd7

Please sign in to comment.