This repository was archived by the owner on Mar 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-33
lines changed
Expand file tree Collapse file tree 1 file changed +4
-33
lines changed Original file line number Diff line number Diff line change 44variables :
55 ENVIRONMENT : dev
66
7- . Build Quasar PWA Assets :
7+ Build Quasar PWA Assets :
88 image : node:10
99 stage : build
1010 only :
@@ -25,35 +25,6 @@ variables:
2525 after_script :
2626 - echo "Build Complete"
2727
28- .Sync Quasar PWA Assets :
29- image : python:3.8
30- stage : deploy
31- only :
32- - master
33- dependencies :
34- - " Build Quasar PWA Assets"
35- before_script :
36- - cd quasar
37- - pip install awscli
38- - aws iam get-user
39- script :
40- - |
41- aws s3 sync \
42- --delete \
43- --exclude index.html \
44- --exclude service-worker.js \
45- ./dist/pwa/ s3://${ENVIRONMENT}-${APP_NAME}-frontend/
46- - |
47- aws s3 cp \
48- --cache-control 'max-age=0' \
49- ./dist/pwa/index.html s3://${ENVIRONMENT}-${APP_NAME}-frontend/
50- - |
51- aws s3 cp \
52- --cache-control 'max-age=0' \
53- ./dist/pwa/service-worker.js s3://${ENVIRONMENT}-${APP_NAME}-frontend/
54- after_script :
55- - echo "Deploy frontend complete"
56-
5728cdk deploy :
5829 image : docker:19.03.1
5930 services :
@@ -77,7 +48,7 @@ cdk deploy:
7748 - cdk bootstrap aws://$AWS_ACCOUNT_ID/$AWS_DEFAULT_REGION
7849 - cdk deploy --require-approval never
7950
80- collectstatic : &task
51+ . collectstatic : &task
8152 image : python:3.8
8253 stage : deploy
8354 only :
@@ -101,7 +72,7 @@ collectstatic: &task
10172 --network-configuration "awsvpcConfiguration={subnets=[${subnets}],assignPublicIp=ENABLED}" \
10273 --count 1 \
10374 --launch-type FARGATE
104- migrate :
75+ . migrate :
10576 << : *task
10677 script :
10778 - |
@@ -112,7 +83,7 @@ migrate:
11283 --count 1 \
11384 --launch-type FARGATE
11485
115- createsuperuser :
86+ . createsuperuser :
11687 << : *task
11788 script :
11889 - |
You can’t perform that action at this time.
0 commit comments