Commit 2c3f04dd authored by Mark Harding's avatar Mark Harding

(chore); different lanes for deployment environments

No related merge requests found
Pipeline #73894615 failed
......@@ -8,10 +8,12 @@ stages:
- build
- prepare
- review
- staging
- deploy
- deploy:staging
- deploy:canary
- deploy:production
cache:
key: $CI_BUILD_REF_SLUG
paths:
- node_modules
policy: pull
......@@ -153,7 +155,7 @@ review:stop:
- test/gitlab-ci
staging:fpm:
stage: staging
stage: staging:staging
script:
- IMAGE_LABEL="staging"
## Sync assets with CDN
......@@ -178,7 +180,7 @@ staging:fpm:
url: https://www.minds.com/?canary=1 # requires canary cookie
deploy:canary:
stage: deploy
stage: deploy:canary
image: minds/ci:latest
script:
- IMAGE_LABEL="canary"
......@@ -206,7 +208,7 @@ deploy:canary:
allow_failure: false # prevents auto deploy to full production
deploy:production:
stage: deploy
stage: deploy:production
image: minds/ci:latest
script:
- IMAGE_LABEL="production"
......
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