circle never mind continuous deploy for router, we need the limited_domains file

...which isn't in the git repo. next step would be to put it into a circle env var.
pull/1136/head
Ryan Barrett 2024-06-14 15:35:24 -07:00
rodzic f1867d9521
commit d466886a38
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 9 dodań i 4 usunięć

Wyświetl plik

@ -60,11 +60,16 @@ jobs:
if [ $CIRCLE_BRANCH = "main" ]; then
echo $FLASK_SECRET_KEY > flask_secret_key
echo $GCLOUD_SERVICE_KEY | gcloud auth activate-service-account --key-file=-
# deploy router in separate gcloud command because Flex services
# don't support --no-cache, but we need it for the default service
gcloud -q app deploy --no-cache --project bridgy-federated app.yaml index.yaml queue.yaml
# can't deploy router here yet because we need the limited_domains
# file. next step would be to put it into a circle env var.
#
# WHEN WE DO, we have to do it in a separate gcloud command
# because Flex services don't support --no-cache, but we need it
# for the default service
# https://issuetracker.google.com/issues/347268867
gcloud -q app deploy --no-cache --project bridgy-federated app.yaml router.yaml index.yaml queue.yaml
gcloud -q app deploy --project bridgy-federated router.yaml
# gcloud -q app deploy --project bridgy-federated router.yaml
fi
- save_cache: