diff --git a/.github/workflows/integration-enterprise.yaml b/.github/workflows/integration-enterprise.yaml index 0b98c540a..1b168e027 100644 --- a/.github/workflows/integration-enterprise.yaml +++ b/.github/workflows/integration-enterprise.yaml @@ -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: @@ -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 diff --git a/.github/workflows/validate-kong-release.yaml b/.github/workflows/validate-kong-release.yaml index a008f68aa..fd7891901 100644 --- a/.github/workflows/validate-kong-release.yaml +++ b/.github/workflows/validate-kong-release.yaml @@ -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 @@ -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