Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DH-26] authenticate properly during deploy #5297

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v3.9-dependencies-gcloud-363-{{ checksum "requirements.txt" }}
- v3.9-dependencies-gcloud-457-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v3.9-dependencies-gcloud-363-
- v3.9-dependencies-gcloud-457-

- run:
name: install dependencies
Expand All @@ -149,7 +149,7 @@ jobs:
- save_cache:
paths:
- ./venv
key: v3.9-dependencies-gcloud-363-{{ checksum "requirements.txt" }}
key: v3.9-dependencies-gcloud-457-{{ checksum "requirements.txt" }}

- run:
name: Authenticating with google service account for kms/sops
Expand Down Expand Up @@ -179,6 +179,10 @@ jobs:
# --grafana-url http://grafana.datahub.berkeley.edu\
# --tag deployment-start \
# "$(echo -en ${PULL_REQUEST_TITLE}\\n\\n${AUTHOR_NAME}: https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/pull/${PULL_REQUEST_ID})"
- run:
name: Install gcloud auth plugin
command: |
gcloud components install gke-gcloud-auth-plugin

- run:
name: Deploy a11y
Expand Down