-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathintegration-enterprise-nightly.yaml
More file actions
40 lines (36 loc) · 1.13 KB
/
integration-enterprise-nightly.yaml
File metadata and controls
40 lines (36 loc) · 1.13 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
name: Enterprise Integration Test
on: [push, pull_request]
jobs:
runnable:
runs-on: ubuntu-latest
environment: "Configure ci"
outputs:
runnable: ${{ steps.check.outputs.result }}
steps:
- name: Check secret availability
id: check
run: echo ::set-output name=result::${{ secrets.GHA_DOCKERHUB_PULL_USER != ''}}
integration:
needs: runnable
if: "needs.runnable.outputs.runnable == 'true'"
env:
KONG_ANONYMOUS_REPORTS: "off"
KONG_IMAGE: 'kong/kong-gateway-internal:master-nightly-alpine'
KONG_LICENSE_DATA: ${{ secrets.KONG_LICENSE_DATA }}
runs-on: ubuntu-latest
steps:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '^1.18'
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{secrets.GHA_DOCKERHUB_PULL_USER}}
password: ${{secrets.GHA_KONG_ORG_DOCKERHUB_PUBLIC_TOKEN}}
- name: Setup Kong
run: make setup-kong-ee
- name: Run integration tests
run: make test-integration