Created
June 20, 2018 19:52
-
-
Save bkuhl/adbae2298a0db8a71a31adfd9f683e0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy-to-rancher: | |
stage: deploy | |
image: cdrx/rancher-gitlab-deploy | |
script: | |
- upgrade --stack patchbot --service migrations --new-image $CLI_IMAGE_RELEASE_TAG | |
- upgrade --stack patchbot --service web --new-image $WEB_IMAGE_RELEASE_TAG --start-before-stopping | |
- upgrade --stack patchbot --service cron --new-image $CLI_IMAGE_RELEASE_TAG | |
- upgrade --stack patchbot --service queue --new-image $CLI_IMAGE_RELEASE_TAG | |
environment: | |
name: production | |
url: https://mysite.com | |
only: | |
- master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment