Skip to content

Commit

Permalink
Merge pull request #496 from kipr/update-cd-for-eula
Browse files Browse the repository at this point in the history
Update workflows to use secrets needed for EULA support
  • Loading branch information
tcorbly authored Oct 29, 2024
2 parents 8257785 + b28a433 commit 5e90c6c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,13 @@ jobs:
--install \
--namespace prod \
--set imageVersion=${{ steps.check_version.outputs.VERSION }} \
--set secrets.serviceAccountKeyString=$FIRESTORE_SERVICE_ACCOUNT \
--set secrets.mailgunApiKey=$MAILGUN_API_KEY \
--set secrets.mailgunDomain=$MAILGUN_DOMAIN \
--set apiUrl=http://database.prod.svc.cluster.local:4000 \
simulator ./simulator
shell: bash
env:
FIRESTORE_SERVICE_ACCOUNT: ${{ secrets.FIRESTORE_SERVICE_ACCOUNT }}
MAILGUN_API_KEY: ${{ secrets.MAILGUN_API_KEY }}
MAILGUN_DOMAIN: ${{ secrets.MAILGUN_DOMAIN }}
8 changes: 8 additions & 0 deletions .github/workflows/cd-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,13 @@ jobs:
--namespace prerelease \
--values ./simulator/values.prerelease.yaml \
--set imageVersion=${{ needs.build-publish.outputs.image_version }} \
--set secrets.serviceAccountKeyString=$FIRESTORE_SERVICE_ACCOUNT \
--set secrets.mailgunApiKey=$MAILGUN_API_KEY \
--set secrets.mailgunDomain=$MAILGUN_DOMAIN \
--set apiUrl=http://database.prerelease.svc.cluster.local:4000 \
simulator-prerelease ./simulator
shell: bash
env:
FIRESTORE_SERVICE_ACCOUNT: ${{ secrets.FIRESTORE_SERVICE_ACCOUNT }}
MAILGUN_API_KEY: ${{ secrets.MAILGUN_API_KEY }}
MAILGUN_DOMAIN: ${{ secrets.MAILGUN_DOMAIN }}

0 comments on commit 5e90c6c

Please sign in to comment.