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:
13
13
- local : /gitlab-ci/documentation.yml
14
14
- local : /gitlab-ci/renovate.yml
15
15
- local : /gitlab-ci/aws/dev.yml
16
+ - local : /gitlab-ci/aws/app.yml
16
17
17
18
.Pytest :
18
19
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 26
26
services :
27
27
- docker:19.03.5-dind
28
28
stage : deploy
29
- only :
30
- - master
29
+ environment :
30
+ name : ${ENVIRONMENT}-${APP_NAME}
31
+ url : https://${ENVIRONMENT}.${DOMAIN_NAME}
31
32
variables :
32
33
ENVIRONMENT : dev
33
34
DOCKER_TLS_CERTDIR : " "
43
44
.base_task : &task
44
45
image : python:3.8
45
46
stage : deploy
46
- only :
47
- - master
48
47
when : manual
49
48
before_script :
50
49
- pip install awscli
You can’t perform that action at this time.
0 commit comments