Configure staging with different FLASK_ENV, include sub-route for CDN_URL.

This commit is contained in:
dandds 2019-11-18 11:22:39 -05:00
parent 293854ece6
commit c6187466a3
2 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -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/