From cdc1c98a115b1b797931fb87e199fe18d2891172 Mon Sep 17 00:00:00 2001 From: Somtochi Onyekwere Date: Wed, 19 Jul 2023 17:58:28 +0000 Subject: [PATCH] add workflow for gcp Signed-off-by: Somtochi Onyekwere --- .github/workflows/e2e-azure.yaml | 2 +- .github/workflows/e2e-gcp.yaml | 92 ++++++++++++++++++++++++++++++++ tests/integration/README.md | 2 +- 3 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/e2e-gcp.yaml diff --git a/.github/workflows/e2e-azure.yaml b/.github/workflows/e2e-azure.yaml index def40dab..e34cb93c 100644 --- a/.github/workflows/e2e-azure.yaml +++ b/.github/workflows/e2e-azure.yaml @@ -97,7 +97,7 @@ jobs: - name: Set dynamic variables in .env run: | cat > .env < .env < build/ssh/key + export GITREPO_SSH_PATH=build/ssh/key + touch ./build/ssh/key.pub + echo $GITREPO_SSH_PUB_CONTENTS | base64 -d > ./build/ssh/key.pub + export GITREPO_SSH_PUB_PATH=build/ssh/key.pub + make test-gcp diff --git a/tests/integration/README.md b/tests/integration/README.md index aadfe49b..6e4c0349 100644 --- a/tests/integration/README.md +++ b/tests/integration/README.md @@ -179,7 +179,7 @@ Following roles are needed for provisioning the infrastructure and running the t - Artifact Registry Administrator - `roles/artifactregistry.admin` - Artifact Registry Repository Administrator - `roles/artifactregistry.repoAdmin` - Cloud KMS Admin - `roles/cloudkms.admin` -- Cloud KMS CryptoKey Encrypter - `roles/cloudkms.cryptoKeyEncrypt` +- Cloud KMS CryptoKey Encrypter - `roles/cloudkms.cryptoKeyEncrypter` - Source Repository Administrator - `roles/source.admin` - Pub/Sub Admin - `roles/pubsub.admin`