Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): fix release tests command #3285

Merged
merged 2 commits into from
Dec 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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