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

test: add job to run e2e and integration tests daily for validating kong images #5317

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
51 changes: 51 additions & 0 deletions .github/workflows/validate_kong_image_nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: validate Kong image

on:
schedule:
- cron: '30 5 * * *'
workflow_dispatch: {}

jobs:
run-validate-kong-image-tests:
runs-on: ubuntu-latest
name: validate-kong-image-${{ matrix.kong-version }}
strategy:
matrix:
kong-version:
- "2.8"
- "3.4"
kic-version:
- "2.12"
steps:
- id: checkout_release_branch
name: "Checkout to release branch release/${{ matrix.kic-version }}.x"
uses: actions/checkout@v4
with:
fetch-depth: 0
with:
ref: "release/${{ matrix.kic-version }}.x"

- id: run_e2e_tests
name: "Run e2e tests against KIC ${{ matrix.kic-version }} and Kong gateway ${{ matrix.kong-version }}"
uses: ./.github/workflows/_e2e_tests.yaml
secrets: inherit
with:
kic-image: kong/kubernetes-ingress-controller:${{ matrix.kic-version }}
kong-image: kong/kong-gateway:${{ matrix.kong-version }}
load-local-image: false
run-gke: false
run-istio: true
all-supported-k8s-versions: false

- id: run_integration_tests
name: "Run integration tests against KIC codebase on release/${{ matrix.kic-version }}.x and Kong gateway ${{ matrix.kong-version }}"
uses: ./.github/workflows/_integration_tests.yaml
secrets: inherit
with:
kong-container-repo: "kong"
kong-container-tag: "${{ matrix.kong-version }}"
kong-oss-effective-version: "${{ matrix.kong-version }}"
kong-enterprise-container-repo: "kong/kong-gateway"
kong-enterprise-container-tag: "${{ matrix.kong-version }}"
kong-enterprise-effective-version: "${{ matrix.kong-version }}"
log-output-file: /tmp/integration-tests-kic-logs
Loading