Add step to test parallel deployment on preprod

This commit is contained in:
Ramon Wenger 2024-04-16 17:03:40 +02:00
parent 0526b87772
commit 32e22320b2
1 changed files with 20 additions and 0 deletions

View File

@ -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-dha-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
name: deploy to prod environments on heroku
trigger: manual
@ -224,3 +235,12 @@ pipelines:
- 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