Configure staging with different FLASK_ENV, include sub-route for CDN_URL.
This commit is contained in:
parent
293854ece6
commit
c6187466a3
@ -145,14 +145,14 @@ jobs:
|
|||||||
- image: docker:18.06.0-ce-git
|
- image: docker:18.06.0-ce-git
|
||||||
steps:
|
steps:
|
||||||
- docker-build:
|
- docker-build:
|
||||||
cdn_url: https://atat-cdn-staging.azureedge.net/
|
cdn_url: https://atat-cdn-staging.azureedge.net/static/assets
|
||||||
|
|
||||||
docker-build-master:
|
docker-build-master:
|
||||||
docker:
|
docker:
|
||||||
- image: docker:18.06.0-ce-git
|
- image: docker:18.06.0-ce-git
|
||||||
steps:
|
steps:
|
||||||
- docker-build:
|
- docker-build:
|
||||||
cdn_url: https://atat-cdn.azureedge.net/
|
cdn_url: https://atat-cdn.azureedge.net/static/assets
|
||||||
|
|
||||||
test:
|
test:
|
||||||
docker:
|
docker:
|
||||||
|
@ -6,6 +6,7 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
CELERY_DEFAULT_QUEUE: celery-staging
|
CELERY_DEFAULT_QUEUE: celery-staging
|
||||||
SERVER_NAME: staging.atat.code.mil
|
SERVER_NAME: staging.atat.code.mil
|
||||||
|
FLASK_ENV: staging
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
@ -14,4 +15,5 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
ASSETS_URL: https://atat-cdn-staging.azureedge.net/
|
ASSETS_URL: https://atat-cdn-staging.azureedge.net/
|
||||||
CELERY_DEFAULT_QUEUE: celery-staging
|
CELERY_DEFAULT_QUEUE: celery-staging
|
||||||
|
FLASK_ENV: staging
|
||||||
STATIC_URL: https://atat-cdn-staging.azureedge.net/static/
|
STATIC_URL: https://atat-cdn-staging.azureedge.net/static/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user