Upgrade to Istio 1.21.2 #1217
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is responsible for all kinds of integration tests run on pull request. | |
# Those tests depend on a container image so in the first job we wait for the image build to succeed. | |
name: Pull Request integration tests | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened, ready_for_review] | |
paths-ignore: | |
- "docs/**" | |
- "**/*.md" | |
- "tests/performance/**" | |
- "OWNERS" | |
- "CODEOWNERS" | |
- "sec-scanners-config.yaml" | |
- ".github/**" #Ignoring since build job isn't triggered on the workflow directory changes | |
- ".**" | |
branches: | |
- main | |
- 'release-**' | |
jobs: | |
wait-for-image-build: | |
name: Wait for image build | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/wait-for-job-succeed-or-fail | |
with: | |
job-name: 'pull-istio-operator-build' | |
github-auth-token: ${{ secrets.GITHUB_TOKEN }} | |
k8s-compatibility-test: | |
name: Kubernetes version compatibility test | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
needs: [wait-for-image-build] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/k8s-compatibility-test | |
with: | |
operator-image-name: "europe-docker.pkg.dev/kyma-project/dev/istio-manager:PR-${{github.event.number}}" | |
istio-upgrade-integration-test: | |
name: Istio upgrade integration test | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
needs: [wait-for-image-build] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/upgrade-integration-test | |
with: | |
operator-image-name: "europe-docker.pkg.dev/kyma-project/dev/istio-manager:PR-${{github.event.number}}" | |
target_branch: ${{ github.base_ref }} | |
istio-integration-test: | |
name: Istio integration test | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
needs: [wait-for-image-build] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/integration-test | |
with: | |
evaluation: false | |
operator-image-name: "europe-docker.pkg.dev/kyma-project/dev/istio-manager:PR-${{github.event.number}}" | |
servers-memory: "16g" | |
agents: 2 | |
istio-integration-test-evaluation: | |
name: Istio integration test evaluation | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
needs: [wait-for-image-build] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/integration-test | |
with: | |
evaluation: true | |
operator-image-name: "europe-docker.pkg.dev/kyma-project/dev/istio-manager:PR-${{github.event.number}}" | |
servers-memory: "4g" | |
agents: 0 |