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-301] set env var for sops to use for auth #5969

Merged
merged 4 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
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: 6 additions & 4 deletions .github/workflows/deploy-to-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ jobs:
- name: Install SOPS
if: ${{ env.DEPLOY }}
run: |
mkdir -p ${HOME}/repo/bin
curl -sSL https://github.com/mozilla/sops/releases/download/v3.7.0/sops-v3.7.0.linux -o ${HOME}/repo/bin/sops
chmod 755 ${HOME}/repo/bin/sops
echo "${HOME}/repo/bin" >> $GITHUB_PATH
mkdir -p ${HOME}/bin
curl -sSL https://github.com/mozilla/sops/releases/download/v3.7.0/sops-v3.7.0.linux -o ${HOME}/bin/sops
chmod 755 ${HOME}/bin/sops
echo "${HOME}/bin" >> $GITHUB_PATH

- name: Install Helm
if: ${{ env.DEPLOY }}
Expand All @@ -78,6 +78,8 @@ jobs:
- name: Deploy hubs to staging
if: ${{ env.DEPLOY }}
run: |
echo ${{ secrets.SOPS_KEY }} > ${HOME}/sops.key
export GOOGLE_APPLICATION_CREDENTIALS="${HOME}/sops.key"
for hub in $(echo -e "${{ env.DEPLOY_HUBS }}"); do
echo "Deploying $hub to staging"
hubploy --verbose deploy $hub hub staging
Expand Down
2 changes: 1 addition & 1 deletion deployments/logodev/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
images:
images:
# temporary update
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/logodev-user-image:71e05556317f
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/logodev-user-image:a9443779a3a9

cluster:
provider: gcloud
Expand Down
Loading