Skip to content

Commit

Permalink
chore(ci): pass Konnect PAT to release workflow (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo authored Oct 23, 2024
1 parent 883e614 commit 0be5279
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/__release-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 0be5279

Please sign in to comment.