-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/sebastian/prod-2721-think-up-a-t…
…est-strategy-for-plural-up' into sebastian/prod-2721-think-up-a-test-strategy-for-plural-up
- Loading branch information
Showing
7 changed files
with
8 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ env: | |
VENOM_VAR_directory: /home/runner/testout/azure | ||
VENOM_VAR_gitRepo: [email protected]:pluralsh/plural-cli-e2e.git | ||
VENOM_VAR_gitRepoPrivateKeyPath: /home/runner/.ssh/id_rsa | ||
E2E_GCP_SA_KEY_FILE: /home/runner/google_sa.json | ||
# E2E_GCP_SA_KEY_FILE: /home/runner/google_sa.json | ||
jobs: | ||
plural-up-gcp: | ||
name: plural up / GCP | ||
|
@@ -41,12 +41,13 @@ jobs: | |
chmod 600 ${{ env.VENOM_VAR_gitRepoPrivateKeyPath }} | ||
eval "$(ssh-agent -s)" | ||
ssh-add ${{ env.VENOM_VAR_gitRepoPrivateKeyPath }} | ||
- name: Decode and save Google service account to a file | ||
run: (base64 -d <<< ${{ secrets.E2E_GCP_SA_KEY }}) > ${{ env.E2E_GCP_SA_KEY_FILE }} | ||
# - name: Decode and save Google service account to a file/env var | ||
# run: (base64 -d <<< ${{ secrets.E2E_GCP_SA_KEY }}) > ${{ env.E2E_GCP_SA_KEY_FILE }} | ||
- name: GCloud Auth | ||
uses: google-github-actions/auth@v2 | ||
uses: 'google-github-actions/auth@v2' | ||
with: | ||
credentials_json: ${{ env.E2E_GCP_SA_KEY_FILE }} | ||
project_id: 657418122889 | ||
workload_identity_provider: "projects/657418122889/locations/global/workloadIdentityPools/github/providers/github" | ||
- name: Setup Go | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -72,7 +73,7 @@ jobs: | |
VENOM_VAR_provider: gcp | ||
VENOM_VAR_region: us-central1 | ||
VENOM_VAR_gcpEmail: ${{ secrets.E2E_GCP_EMAIL }} | ||
VENOM_VAR_gcpSAKeyFile: ${{ secrets.E2E_GCP_SA_KEY_FILE }} | ||
# VENOM_VAR_gcpSAKeyFile: ${{ secrets.E2E_GCP_SA_KEY_FILE }} | ||
VENOM_VAR_gcpOrgID: ${{ secrets.E2E_GCP_ORG_ID }} | ||
VENOM_VAR_gcpBillingID: ${{ secrets.E2E_GCP_BILLING_ID }} | ||
VENOM_VAR_project: e2e-${{ env.TIMESTAMP }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters