Confirm load balancer toggle

This commit is contained in:
ebracho 2017-09-25 10:39:12 -07:00
parent 13607d2edc
commit 2b879e9179
3 changed files with 9 additions and 8 deletions

13
Jenkinsfile vendored
View file

@ -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')

View file

@ -1,4 +1,4 @@
#!/bin/bash -xe
#!/bin/bash -e
# This script executes a blue/green deployment on the petclinic
# production infrastructure.

View file

@ -12,7 +12,7 @@ input[type="text"] {
}
.navbar .nav > li > a {
color: #000000
color: #FF0000
}
.form-horizontal .control-label {