-
Notifications
You must be signed in to change notification settings - Fork 128
48 lines (48 loc) · 1.45 KB
/
validate-kong-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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: '^1.20'
- uses: Kong/kong-license@master
id: license
with:
password: ${{ secrets.PULP_PASSWORD }}
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