Skip to content

Commit

Permalink
chore(ci): fix release tests command (#3285)
Browse files Browse the repository at this point in the history
When switching to running E2E tests instead of integration tests as the release gate, we missed adjusting commands properly.
  • Loading branch information
czeslavo authored Dec 19, 2022
1 parent b636b9f commit 37c9504
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:
with:
fetch-depth: 0
- name: Kubernetes ${{ matrix.kubernetes-version }} E2E Tests
run: KONG_CLUSTER_VERSION=${{ matrix.kubernetes-version }} make test.integration.${{ matrix.dbmode }}
run: KONG_CLUSTER_VERSION=${{ matrix.kubernetes-version }} make test.e2e

test-previous-kubernetes:
environment: gcloud
Expand All @@ -242,25 +242,33 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: '^1.19'

- name: cache go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-build-codegen-
- name: checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: Kong/kong-license@master
id: license
with:
password: ${{ secrets.PULP_PASSWORD }}

- name: E2E on GKE v1.${{ matrix.minor }}
run: make test.e2e.gke
env:
KUBERNETES_MAJOR_VERSION: 1
KUBERNETES_MINOR_VERSION: ${{ matrix.minor }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
GOOGLE_PROJECT: ${{ secrets.GOOGLE_PROJECT }}
GOOGLE_LOCATION: ${{ secrets.GOOGLE_LOCATION }}
KONG_CLUSTER_VERSION: v1.${{ matrix.minor }}
KONG_LICENSE_DATA: ${{ steps.license.outputs.license }}

publish-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 37c9504

Please sign in to comment.