-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI to use different GCP project
Signed-off-by: Daniel Weiße <[email protected]>
- Loading branch information
1 parent
d3ce6ff
commit 15ee2fe
Showing
8 changed files
with
31 additions
and
50 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
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 |
---|---|---|
|
@@ -74,10 +74,9 @@ jobs: | |
isDebugImage: ${{ matrix.refStream == 'ref/main/stream/debug/?' }} | ||
cliVersion: ${{ matrix.refStream == 'ref/release/stream/stable/?' && needs.find-latest-image.outputs.image-release-stable || '' }} | ||
refStream: ${{ matrix.refStream }} | ||
gcpProject: ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-e2e-cluster@constellation-331613.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpInClusterServiceAccountKey: ${{ secrets.GCP_CLUSTER_SERVICE_ACCOUNT }} | ||
gcpProject: constellation-e2e # ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "[email protected]" | ||
kubernetesVersion: ${{ matrix.kubernetesVersion }} | ||
test: ${{ matrix.test }} | ||
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }} | ||
|
@@ -106,7 +105,7 @@ jobs: | |
with: | ||
cloudProvider: ${{ matrix.provider }} | ||
azureCredentials: ${{ secrets.AZURE_E2E_IAM_CREDENTIALS }} | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
|
||
- name: Notify about failure | ||
if: | | ||
|
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 |
---|---|---|
|
@@ -226,10 +226,9 @@ jobs: | |
awsOpenSearchDomain: ${{ secrets.AWS_OPENSEARCH_DOMAIN }} | ||
awsOpenSearchUsers: ${{ secrets.AWS_OPENSEARCH_USER }} | ||
awsOpenSearchPwd: ${{ secrets.AWS_OPENSEARCH_PWD }} | ||
gcpProject: ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-e2e-cluster@constellation-331613.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpInClusterServiceAccountKey: ${{ secrets.GCP_CLUSTER_SERVICE_ACCOUNT }} | ||
gcpProject: constellation-e2e # ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "[email protected]" | ||
test: ${{ matrix.test }} | ||
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }} | ||
azureClusterCreateCredentials: ${{ secrets.AZURE_E2E_CLUSTER_CREDENTIALS }} | ||
|
@@ -255,7 +254,7 @@ jobs: | |
with: | ||
cloudProvider: ${{ matrix.provider }} | ||
azureCredentials: ${{ secrets.AZURE_E2E_IAM_CREDENTIALS }} | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
|
||
e2e-upgrade: | ||
strategy: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -243,10 +243,9 @@ jobs: | |
awsOpenSearchDomain: ${{ secrets.AWS_OPENSEARCH_DOMAIN }} | ||
awsOpenSearchUsers: ${{ secrets.AWS_OPENSEARCH_USER }} | ||
awsOpenSearchPwd: ${{ secrets.AWS_OPENSEARCH_PWD }} | ||
gcpProject: ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-e2e-cluster@constellation-331613.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpInClusterServiceAccountKey: ${{ secrets.GCP_CLUSTER_SERVICE_ACCOUNT }} | ||
gcpProject: constellation-e2e # ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "[email protected]" | ||
test: ${{ matrix.test }} | ||
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }} | ||
azureClusterCreateCredentials: ${{ secrets.AZURE_E2E_CLUSTER_CREDENTIALS }} | ||
|
@@ -274,7 +273,7 @@ jobs: | |
with: | ||
cloudProvider: ${{ matrix.provider }} | ||
azureCredentials: ${{ secrets.AZURE_E2E_IAM_CREDENTIALS }} | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
|
||
- name: Notify about failure | ||
if: | | ||
|
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 |
---|---|---|
|
@@ -165,7 +165,7 @@ jobs: | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | ||
with: | ||
ref: ${{ inputs.git-ref }} | ||
|
||
- name: Get Latest Image | ||
id: find-latest-image | ||
uses: ./.github/actions/find_latest_image | ||
|
@@ -215,10 +215,9 @@ jobs: | |
cloudProvider: ${{ inputs.cloudProvider }} | ||
machineType: ${{ inputs.machineType }} | ||
regionZone: ${{ inputs.regionZone }} | ||
gcpProject: ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-e2e-cluster@constellation-331613.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpInClusterServiceAccountKey: ${{ secrets.GCP_CLUSTER_SERVICE_ACCOUNT }} | ||
gcpProject: constellation-e2e # ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "[email protected]" | ||
test: ${{ inputs.test }} | ||
kubernetesVersion: ${{ inputs.kubernetesVersion }} | ||
awsOpenSearchDomain: ${{ secrets.AWS_OPENSEARCH_DOMAIN }} | ||
|
@@ -253,4 +252,4 @@ jobs: | |
with: | ||
cloudProvider: ${{ inputs.cloudProvider }} | ||
azureCredentials: ${{ secrets.AZURE_E2E_IAM_CREDENTIALS }} | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-e2e.iam.gserviceaccount.com" |
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 |
---|---|---|
|
@@ -170,10 +170,9 @@ jobs: | |
isDebugImage: "false" | ||
cliVersion: ${{ inputs.fromVersion }} | ||
regionZone: ${{ inputs.regionZone }} | ||
gcpProject: ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-e2e-cluster@constellation-331613.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpInClusterServiceAccountKey: ${{ secrets.GCP_CLUSTER_SERVICE_ACCOUNT }} | ||
gcpProject: constellation-e2e # ${{ secrets.GCP_E2E_PROJECT }} | ||
gcpClusterCreateServiceAccount: "constellation-infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
gcpIAMCreateServiceAccount: "[email protected]" | ||
test: "upgrade" | ||
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }} | ||
azureClusterCreateCredentials: ${{ secrets.AZURE_E2E_CLUSTER_CREDENTIALS }} | ||
|
@@ -196,7 +195,7 @@ jobs: | |
if: inputs.cloudProvider == 'gcp' | ||
uses: ./.github/actions/login_gcp | ||
with: | ||
service_account: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
service_account: "constellation-iam-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
|
||
- name: Login to AWS (IAM role) | ||
if: inputs.cloudProvider == 'aws' | ||
|
@@ -226,7 +225,7 @@ jobs: | |
if: always() && inputs.cloudProvider == 'gcp' | ||
uses: ./.github/actions/login_gcp | ||
with: | ||
service_account: "constellation-e2e-cluster@constellation-331613.iam.gserviceaccount.com" | ||
service_account: "constellation-infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
|
||
- name: Login to AWS (Cluster role) | ||
if: always() && inputs.cloudProvider == 'aws' | ||
|
@@ -297,7 +296,7 @@ jobs: | |
with: | ||
cloudProvider: ${{ inputs.cloudProvider }} | ||
azureCredentials: ${{ secrets.AZURE_E2E_IAM_CREDENTIALS }} | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-331613.iam.gserviceaccount.com" | ||
gcpServiceAccount: "constellation-iam-e2e@constellation-e2e.iam.gserviceaccount.com" | ||
|
||
- name: Notify about failure | ||
if: | | ||
|
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