Add step to test parallel deployment on preprod
This commit is contained in:
parent
0526b87772
commit
32e22320b2
|
|
@ -147,6 +147,17 @@ definitions:
|
||||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-kv-preprod.git HEAD:master
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-kv-preprod.git HEAD:master
|
||||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dha-preprod.git HEAD:master
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dha-preprod.git HEAD:master
|
||||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dhf-preprod.git HEAD:master
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dhf-preprod.git HEAD:master
|
||||||
|
- &deploy-preprod-parallel
|
||||||
|
- parallel:
|
||||||
|
- steps:
|
||||||
|
- step:
|
||||||
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-preprod.git HEAD:master
|
||||||
|
- step:
|
||||||
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-kv-preprod.git HEAD:master
|
||||||
|
- step:
|
||||||
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dha-preprod.git HEAD:master
|
||||||
|
- step:
|
||||||
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-dhf-preprod.git HEAD:master
|
||||||
- &deploy-prod-manual
|
- &deploy-prod-manual
|
||||||
name: deploy to prod environments on heroku
|
name: deploy to prod environments on heroku
|
||||||
trigger: manual
|
trigger: manual
|
||||||
|
|
@ -224,3 +235,12 @@ pipelines:
|
||||||
- step: *frontend-test-parallel
|
- step: *frontend-test-parallel
|
||||||
- step: *frontend-test-parallel
|
- step: *frontend-test-parallel
|
||||||
- step: *frontend-test-parallel
|
- step: *frontend-test-parallel
|
||||||
|
|
||||||
|
preprod-parallel:
|
||||||
|
- step:
|
||||||
|
name: "First step has to be manual"
|
||||||
|
trigger: manual
|
||||||
|
script:
|
||||||
|
- echo "This is for testing";
|
||||||
|
- *deploy-preprod-parallel
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue