From 34a46c15c2786ebf6cab0596a1a4bef0c43bf27a Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Tue, 5 Dec 2023 17:51:15 +0000 Subject: [PATCH] e2e test (gcp creds) --- .github/workflows/ci-e2e.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-e2e.yaml b/.github/workflows/ci-e2e.yaml index 432fbcae..50a0fb39 100644 --- a/.github/workflows/ci-e2e.yaml +++ b/.github/workflows/ci-e2e.yaml @@ -67,11 +67,13 @@ jobs: --from-file=CONFIG=e2e-test-aws-provider-config.json - name: Create GCP provider secret run: | + secret="${{ secrets.E2E_GOOGLE }}" + decoded=$(echo "$secret" | base64 --decode ) echo "{\"zoneIDFilter\": [], \"domainFilter\": [\"e2e.google.hcpapps.net\"]}" > e2e-test-gcp-provider-config.json kubectl create secret generic e2e-test-gcp-credentials -n multi-cluster-gateways \ --type=kuadrant.io/gcp \ --from-literal=PROJECT_ID=${{ secrets.E2E_PROJECT_ID }} \ - --from-literal=GOOGLE=${{ secrets.E2E_GOOGLE }} \ + --from-literal=GOOGLE=$decoded \ --from-file=CONFIG=e2e-test-gcp-provider-config.json - name: Run suite AWS run: |