Skip to content

Commit

Permalink
ci: use license action
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Nov 9, 2023
1 parent a1015b6 commit ba701d5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/integration-enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
env:
KONG_ANONYMOUS_REPORTS: "off"
KONG_IMAGE: ${{ matrix.kong_image }}
KONG_LICENSE_DATA: ${{ secrets.KONG_LICENSE_DATA }}

runs-on: ubuntu-latest
steps:
Expand All @@ -43,7 +42,15 @@ jobs:
with:
username: ${{secrets.DOCKERHUB_PULL_USERNAME}}
password: ${{secrets.DOCKERHUB_PULL_TOKEN}}
- uses: Kong/kong-license@master
id: license
with:
password: ${{ secrets.PULP_PASSWORD }}
- 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
9 changes: 8 additions & 1 deletion .github/workflows/validate-kong-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
env:
KONG_ANONYMOUS_REPORTS: "off"
KONG_IMAGE: ${{ inputs.kong_image }}
KONG_LICENSE_DATA: ${{ secrets.KONG_LICENSE_DATA }}
runs-on: ubuntu-latest
steps:
- name: Execution Information
Expand All @@ -33,7 +32,15 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- uses: Kong/kong-license@master
id: license
with:
password: ${{ secrets.PULP_PASSWORD }}
- 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

0 comments on commit ba701d5

Please sign in to comment.