Skip to content

Commit

Permalink
Set GCP project
Browse files Browse the repository at this point in the history
To avoid warnings.
  • Loading branch information
acogoluegnes committed Nov 14, 2023
1 parent 755907f commit a951ebe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/jepsen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
run: ci/jepsen-test.sh
env:
GCP_JEPSEN_CREDENTIALS: ${{ secrets.GCP_JEPSEN_CREDENTIALS }}
GCP_PROJECT: ${{ secrets.GCP_PROJECT }}
- name: Stop cluster
if: always()
working-directory: terraform-state
Expand Down
4 changes: 4 additions & 0 deletions ci/jepsen-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ ssh-keygen -t rsa -m pem -f jepsen-bot -C jepsen-bot -N ''
echo "$GCP_JEPSEN_CREDENTIALS" > jepsen-bot.json
set -x
gcloud auth activate-service-account --key-file=jepsen-bot.json
set +x
gcloud config set project $GCP_PROJECT
set -x


# destroy the VMs in they already exist (this cannot be done from Terraform unfortunately)
set +e
Expand Down

0 comments on commit a951ebe

Please sign in to comment.