Validate Kong Gateway Release #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Kong Gateway Release | |
concurrency: | |
group: ${{ github.workflow }} | |
on: | |
workflow_dispatch: | |
inputs: | |
kong_image: | |
description: 'Kong Gateway Docker Image' | |
required: true | |
default: 'kong/kong-gateway-dev:latest' | |
branch: | |
description: 'decK Branch' | |
required: true | |
default: 'main' | |
jobs: | |
integration: | |
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }} | |
name: "${{ inputs.kong_image }} against ${{ inputs.branch }}" | |
env: | |
KONG_ANONYMOUS_REPORTS: "off" | |
KONG_IMAGE: ${{ inputs.kong_image }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Execution Information | |
run: | | |
echo "Kong Gateway Image = ${{ inputs.kong_image }}" | |
echo "decK Branch = ${{ inputs.branch }}" | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.branch }} | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- uses: Kong/kong-license@master | |
id: license | |
with: | |
op-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
- name: Setup Kong | |
env: | |
KONG_LICENSE_DATA: ${{ steps.license.outputs.license }} | |
run: make setup-kong-ee | |
- name: Run integration tests | |
env: | |
KONG_LICENSE_DATA: ${{ steps.license.outputs.license }} | |
run: make test-integration |