This repository was archived by the owner on Mar 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +32
-4
lines changed
Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ include:
1313 - local : /gitlab-ci/documentation.yml
1414 - local : /gitlab-ci/renovate.yml
1515 - local : /gitlab-ci/aws/dev.yml
16+ - local : /gitlab-ci/aws/app.yml
1617
1718.Pytest :
1819 image : python:3.8
Original file line number Diff line number Diff line change 1+ workflow :
2+ rules :
3+ - if : $CI_COMMIT_TAG
4+ when : always
5+
6+ include :
7+ - local : /gitlab-ci/aws/cdk.yml
8+
9+ variables :
10+ ENVIRONMENT : app
11+
12+ quasar_build_pwa (app) :
13+ extends : .quasar_build_pwa
14+
15+ cdk_deploy (app) :
16+ extends : .cdk_deploy
17+
18+ collectstatic (app) :
19+ extends : .collectstatic
20+
21+ migrate (app) :
22+ extends : .migrate
23+
24+ createsuperuser (app) :
25+ extends : .createsuperuser
26+
27+ cdk_destroy (app) :
28+ extends : .cdk_destroy
Original file line number Diff line number Diff line change 2626 services :
2727 - docker:19.03.5-dind
2828 stage : deploy
29- only :
30- - master
29+ environment :
30+ name : ${ENVIRONMENT}-${APP_NAME}
31+ url : https://${ENVIRONMENT}.${DOMAIN_NAME}
3132 variables :
3233 ENVIRONMENT : dev
3334 DOCKER_TLS_CERTDIR : " "
4344.base_task : &task
4445 image : python:3.8
4546 stage : deploy
46- only :
47- - master
4847 when : manual
4948 before_script :
5049 - pip install awscli
You can’t perform that action at this time.
0 commit comments