Update deploy steps
This commit is contained in:
parent
fec8022f0f
commit
782cb50f92
|
|
@ -20,9 +20,7 @@ definitions:
|
||||||
npm: $HOME/.npm
|
npm: $HOME/.npm
|
||||||
cypress: $HOME/.cache/Cypress
|
cypress: $HOME/.cache/Cypress
|
||||||
clientmodules: client/node_modules
|
clientmodules: client/node_modules
|
||||||
|
steps:
|
||||||
|
|
||||||
aliases:
|
|
||||||
- &lint
|
- &lint
|
||||||
name: lint
|
name: lint
|
||||||
caches:
|
caches:
|
||||||
|
|
@ -114,12 +112,6 @@ aliases:
|
||||||
trigger: manual
|
trigger: manual
|
||||||
script:
|
script:
|
||||||
- git push --force https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-dev.git HEAD:master
|
- git push --force https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-dev.git HEAD:master
|
||||||
- &deploy-academy-manual
|
|
||||||
name: deploy to iterativ-academy on Heroku
|
|
||||||
deployment: academy-stage
|
|
||||||
trigger: manual
|
|
||||||
script:
|
|
||||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/iterativ-academy.git HEAD:master
|
|
||||||
- &deploy-academy
|
- &deploy-academy
|
||||||
name: deploy to iterativ-academy on Heroku
|
name: deploy to iterativ-academy on Heroku
|
||||||
deployment: academy-stage
|
deployment: academy-stage
|
||||||
|
|
@ -130,17 +122,19 @@ aliases:
|
||||||
deployment: stage
|
deployment: stage
|
||||||
script:
|
script:
|
||||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-stage.git develop:master
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-stage.git develop:master
|
||||||
- &deploy-prod-manual
|
- &deploy-preprod-manual
|
||||||
name: deploy to skillbox-prod on Heroku
|
name: deploy to prod environments on heroku
|
||||||
deployment: prod
|
|
||||||
trigger: manual
|
trigger: manual
|
||||||
|
deployment: preprod
|
||||||
|
script:
|
||||||
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-preprod.git master:master
|
||||||
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-kv-preprod.git master:master
|
||||||
|
- &deploy-prod-manual
|
||||||
|
name: deploy to prod environments on heroku
|
||||||
|
trigger: manual
|
||||||
|
deployment: prod
|
||||||
script:
|
script:
|
||||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master
|
||||||
- &deploy-my-kv-prod-manual
|
|
||||||
name: deploy to my-kv-prod on Heroku
|
|
||||||
deployment: my-kv-prod
|
|
||||||
trigger: manual
|
|
||||||
script:
|
|
||||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-kv-prod.git HEAD:master
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/my-kv-prod.git HEAD:master
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
|
|
@ -158,7 +152,9 @@ pipelines:
|
||||||
- parallel:
|
- parallel:
|
||||||
- step: *unittest-python
|
- step: *unittest-python
|
||||||
- step: *cypress-test
|
- step: *cypress-test
|
||||||
|
- step: *frontend-test
|
||||||
- step: *jest-test
|
- step: *jest-test
|
||||||
|
- step: *deploy-preprod-manual
|
||||||
|
|
||||||
develop:
|
develop:
|
||||||
- parallel:
|
- parallel:
|
||||||
|
|
@ -170,6 +166,7 @@ pipelines:
|
||||||
- parallel:
|
- parallel:
|
||||||
- step: *deploy-stage
|
- step: *deploy-stage
|
||||||
- step: *deploy-academy
|
- step: *deploy-academy
|
||||||
|
- step: *deploy-preprod-manual
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
v202*:
|
v202*:
|
||||||
|
|
@ -177,19 +174,9 @@ pipelines:
|
||||||
- step: *unittest-python
|
- step: *unittest-python
|
||||||
- step: *cypress-test
|
- step: *cypress-test
|
||||||
- step: *jest-test
|
- step: *jest-test
|
||||||
- parallel:
|
|
||||||
- step: *deploy-prod-manual
|
- step: *deploy-prod-manual
|
||||||
- step: *deploy-my-kv-prod-manual
|
|
||||||
|
|
||||||
custom:
|
custom:
|
||||||
prod:
|
|
||||||
- parallel:
|
|
||||||
- step: *unittest-python
|
|
||||||
- step: *cypress-test
|
|
||||||
- step: *jest-test
|
|
||||||
- parallel:
|
|
||||||
- step: *deploy-prod-manual
|
|
||||||
|
|
||||||
cypress-parallel:
|
cypress-parallel:
|
||||||
- parallel:
|
- parallel:
|
||||||
- step: *frontend-test-parallel
|
- step: *frontend-test-parallel
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue