mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
Confirm load balancer toggle
This commit is contained in:
parent
13607d2edc
commit
2b879e9179
3 changed files with 9 additions and 8 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -155,9 +155,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Blue/Green Prod Deploy') {
|
||||
when {
|
||||
/*when {
|
||||
branch 'master'
|
||||
}
|
||||
}*/
|
||||
agent {
|
||||
dockerfile {
|
||||
filename "blue-green/Dockerfile"
|
||||
|
@ -176,9 +176,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Blue/Green Prod Regression Test') {
|
||||
when {
|
||||
/*when {
|
||||
branch 'master'
|
||||
}
|
||||
}*/
|
||||
agent {
|
||||
dockerfile {
|
||||
filename "blue-green/Dockerfile"
|
||||
|
@ -197,15 +197,16 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Blue/Green Prod Toggle Load Balancer') {
|
||||
when {
|
||||
/*when {
|
||||
branch 'master'
|
||||
}
|
||||
}*/
|
||||
agent {
|
||||
dockerfile {
|
||||
filename "blue-green/Dockerfile"
|
||||
}
|
||||
}
|
||||
steps {
|
||||
input "Toggle Prod Load Balancer?"
|
||||
withCredentials([
|
||||
usernamePassword(credentialsId: 'aws', usernameVariable: 'AWS_ACCESS_KEY_ID', passwordVariable: 'AWS_SECRET_ACCESS_KEY'),
|
||||
file(credentialsId: 'petclinic-deploy-key', variable: 'DEPLOY_KEY_PATH')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -xe
|
||||
#!/bin/bash -e
|
||||
|
||||
# This script executes a blue/green deployment on the petclinic
|
||||
# production infrastructure.
|
||||
|
|
|
@ -12,7 +12,7 @@ input[type="text"] {
|
|||
}
|
||||
|
||||
.navbar .nav > li > a {
|
||||
color: #000000
|
||||
color: #FF0000
|
||||
}
|
||||
|
||||
.form-horizontal .control-label {
|
||||
|
|
Loading…
Reference in a new issue