Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Gl4di4torRr committed Nov 20, 2018
1 parent fc29a7e commit 60b95c3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion blue-green-spring/.openshift/builds/params
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APPLICATION_NAME=spring-boot-web
NAMESPACE=spring-boot-web-build
NAMESPACE=chris-bolton-sbx
IMAGE_STREAM_TAG_NAME=redhat-openjdk18-openshift:1.1
2 changes: 1 addition & 1 deletion blue-green-spring/.openshift/builds/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ parameters:
- description: Git source URI for application
name: SOURCE_REPOSITORY_URL
required: true
value: https://github.com/redhat-cop/container-pipelines.git
value: https://github.com/Gl4di4torRr/container-pipelines.git
- description: Git branch/tag reference
name: SOURCE_REPOSITORY_REF
value: "master"
Expand Down
2 changes: 1 addition & 1 deletion blue-green-spring/.openshift/deployment/dev/params
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
APPLICATION_NAME=spring-boot-web
NAMESPACE=spring-boot-web-dev
NAMESPACE=chris-bolton-sbx
2 changes: 1 addition & 1 deletion blue-green-spring/.openshift/deployment/prod/params
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
APPLICATION_NAME=spring-boot-web
NAMESPACE=spring-boot-web-prod
NAMESPACE=chris-bolton-sbx
2 changes: 1 addition & 1 deletion blue-green-spring/.openshift/deployment/stage/params
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
APPLICATION_NAME=spring-boot-web
NAMESPACE=spring-boot-web-stage
NAMESPACE=chris-bolton-sbx
6 changes: 3 additions & 3 deletions blue-green-spring/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ node('master') {

env.APP_NAME = "${env.JOB_NAME}".replaceAll(/-?pipeline-?/, '').replaceAll(/-?${env.NAMESPACE}-?\/?/, '')
def projectBase = "${env.NAMESPACE}".replaceAll(/-build/, '')
env.STAGE1 = "${projectBase}-dev"
env.STAGE2 = "${projectBase}-stage"
env.STAGE3 = "${projectBase}-prod"
env.STAGE1 = "chris-bolton-sbx"
env.STAGE2 = "chris-bolton-sbx"
env.STAGE3 = "chris-bolton-sbx"

}

Expand Down

0 comments on commit 60b95c3

Please sign in to comment.