Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): pass Konnect PAT to release workflow #781

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading