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
|
||||
steps:
|
||||
- docker-build:
|
||||
cdn_url: https://atat-cdn-staging.azureedge.net/
|
||||
cdn_url: https://atat-cdn-staging.azureedge.net/static/assets
|
||||
|
||||
docker-build-master:
|
||||
docker:
|
||||
- image: docker:18.06.0-ce-git
|
||||
steps:
|
||||
- docker-build:
|
||||
cdn_url: https://atat-cdn.azureedge.net/
|
||||
cdn_url: https://atat-cdn.azureedge.net/static/assets
|
||||
|
||||
test:
|
||||
docker:
|
||||
|
@ -6,6 +6,7 @@ metadata:
|
||||
data:
|
||||
CELERY_DEFAULT_QUEUE: celery-staging
|
||||
SERVER_NAME: staging.atat.code.mil
|
||||
FLASK_ENV: staging
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
@ -14,4 +15,5 @@ metadata:
|
||||
data:
|
||||
ASSETS_URL: https://atat-cdn-staging.azureedge.net/
|
||||
CELERY_DEFAULT_QUEUE: celery-staging
|
||||
FLASK_ENV: staging
|
||||
STATIC_URL: https://atat-cdn-staging.azureedge.net/static/
|
||||
|
Loading…
x
Reference in New Issue
Block a user