Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update smart-launcher url from internal to stage #17

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ pipeline {
}
stage('Deploy') {
steps {
echo 'Deploying to internal'
sh 'docker run -v /var/run/docker.sock:/var/run/docker.sock $AWS_ENV $GIT_ENV cicd deploy smart-launcher-v2 internal $GIT_COMMIT'
echo 'Deploying to stage'
sh 'docker run -v /var/run/docker.sock:/var/run/docker.sock $AWS_ENV $GIT_ENV cicd deploy smart-launcher-v2 stage $GIT_COMMIT'
}
}
stage('Wait') {
steps {
echo 'Waiting for service to reach steady state'
sh 'docker run -v /var/run/docker.sock:/var/run/docker.sock $AWS_ENV cicd wait smart-launcher-v2 internal'
sh 'docker run -v /var/run/docker.sock:/var/run/docker.sock $AWS_ENV cicd wait smart-launcher-v2 stage'
}
}
stage('Healthcheck') {
steps {
echo 'Checking health of service'
sh 'curl -m 10 https://smart-launcher-v2-internal.elimuinformatics.com/'
sh 'curl -m 10 https://smart-launcher-v2-stage.elimuinformatics.com/'
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ pipeline {
}
stage('Promote') {
steps {
echo 'Promoting from INTERNAL to PROD'
sh 'docker run -v /var/run/docker.sock:/var/run/docker.sock $AWS_ENV $GIT_ENV cicd promote smart-launcher-v2 internal'
echo 'Promoting from STAGE to PROD'
sh 'docker run -v /var/run/docker.sock:/var/run/docker.sock $AWS_ENV $GIT_ENV cicd promote smart-launcher-v2 stage'
}
}
stage('Wait') {
Expand Down