From 5c70c66bf4f82a7ee1359dae0164b99999beb767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Burzy=C5=84ski?= Date: Wed, 23 Oct 2024 14:46:42 +0200 Subject: [PATCH] chore(ci): pass Konnect PAT to release workflow --- .github/workflows/__release-workflow.yaml | 7 +++++++ .github/workflows/release.yaml | 1 + 2 files changed, 8 insertions(+) diff --git a/.github/workflows/__release-workflow.yaml b/.github/workflows/__release-workflow.yaml index 9a3a0a9d9..d3af1c32c 100644 --- a/.github/workflows/__release-workflow.yaml +++ b/.github/workflows/__release-workflow.yaml @@ -19,6 +19,9 @@ on: kong-license-data: required: false description: "The Kong License to use in the tests (required by EE build)" + konnect-pat: + required: true + description: "The Konnect PAT to use in the tests" inputs: dockerhub-push-username: description: "The username to push images to Docker Hub" @@ -149,6 +152,8 @@ jobs: env: KONG_LICENSE_DATA: ${{ secrets.kong-license-data }} WEBHOOK_ENABLED: ${{ matrix.webhook-enabled }} + KONG_TEST_KONNECT_ACCESS_TOKEN: ${{ secrets.konnect-pat }} + KONG_TEST_KONNECT_SERVER_URL: us.api.konghq.tech test-e2e-current-kubernetes: runs-on: ubuntu-latest @@ -178,6 +183,8 @@ jobs: env: KONG_LICENSE_DATA: ${{ secrets.kong-license-data }} KONG_TEST_GATEWAY_OPERATOR_IMAGE_OVERRIDE: ${{ needs.build-push-images.outputs.full_tag }} + KONG_TEST_KONNECT_ACCESS_TOKEN: ${{ secrets.konnect-pat }} + KONG_TEST_KONNECT_SERVER_URL: us.api.konghq.tech create-release-pr: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 44f8d9c46..9afd9bb79 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,6 +28,7 @@ jobs: gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} gh-pat: ${{ secrets.PAT_GITHUB }} + konnect-pat: ${{ secrets.KONG_TEST_KONNECT_ACCESS_TOKEN }} with: dockerhub-push-username: ${{ vars.DOCKERHUB_PUSH_USERNAME }} image-name: ${{ vars.DOCKERHUB_IMAGE_NAME }}