Commit 9e74607b authored by Mark Harding's avatar Mark Harding

(chore): split deploy stage into deployments

No related merge requests found
Pipeline #73893525 waiting for manual action with stages
in 10 minutes and 51 seconds
......@@ -8,8 +8,9 @@ stages:
- test
- prepare
- review
- staging
- deploy
- deploy:staging
- deploy:canary
- deploy:production
cache:
paths:
......@@ -96,7 +97,7 @@ review:stop:
- test/gitlab-ci
staging:fpm:
stage: staging
stage: deploy:staging
image: minds/ci:latest
script:
- IMAGE_LABEL="staging"
......@@ -120,7 +121,7 @@ staging:fpm:
- test/gitlab-ci
canary:fpm:
stage: deploy
stage: deploy:canary
image: minds/ci:latest
script:
- IMAGE_LABEL="canary"
......@@ -146,7 +147,7 @@ canary:fpm:
allow_failure: false # prevents auto deploy to full production
production:fpm:
stage: deploy
stage: deploy:production
image: minds/ci:latest
script:
- IMAGE_LABEL="production"
......@@ -172,7 +173,7 @@ production:fpm:
start_in: 2 hours # reduce? can always be deployed manually earlier too
production:runners:
stage: deploy
stage: deploy:production
image: minds/ci:latest
script:
- $(aws ecr get-login --no-include-email --region us-east-1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment