-
Notifications
You must be signed in to change notification settings - Fork 133
51 lines (51 loc) · 1.65 KB
/
validate-kong-release.yaml
File metadata and controls
51 lines (51 loc) · 1.65 KB
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
49
50
51
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.DECK_WORKFLOW_GW_TIMEOUT) }}
name: "${{ inputs.kong_image }} against ${{ inputs.branch }}"
env:
KONG_ANONYMOUS_REPORTS: "off"
KONG_IMAGE: ${{ inputs.kong_image }}
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
with:
egress-policy: audit
- name: Execution Information
run: |
echo "Kong Gateway Image = ${{ inputs.kong_image }}"
echo "decK Branch = ${{ inputs.branch }}"
- name: Checkout repository
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
ref: ${{ inputs.branch }}
- name: Setup go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # 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