Skip to content

Validate Kong Gateway Release #80

Validate Kong Gateway Release

Validate Kong Gateway Release #80

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