Skip to content

Commit

Permalink
[chore] Add optional label to ignore functional tests (#1665)
Browse files Browse the repository at this point in the history
* Add optional PR label to ignore functional test results. This allows us to check in known breaking changes that will cause functional tests to fail, useful for Helm chart version upgrade tests.

* patch
  • Loading branch information
jvoravong authored Feb 21, 2025
1 parent c1d2cc7 commit 0fee859
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/functional_test_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- k8sevents
- istio
runs-on: ubuntu-latest
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down Expand Up @@ -108,6 +109,7 @@ jobs:
KUBE_TEST_ENV: eks
SKIP_TESTS: "true" # we need to skip functional tests as we have not set probes to listen to the traffic.
runs-on: ubuntu-latest
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down Expand Up @@ -146,6 +148,7 @@ jobs:
KUBE_TEST_ENV: eks
SKIP_TESTS: "true" # we need to skip functional tests as we have not set probes to listen to the traffic.
runs-on: ubuntu-latest
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
steps:
- uses: actions/checkout@v4
- name: Checkout main if in a PR
Expand Down Expand Up @@ -210,6 +213,7 @@ jobs:
KUBE_TEST_ENV: eks
SKIP_TESTS: "true" # we need to skip functional tests as we have not set probes to listen to the traffic.
runs-on: ubuntu-latest
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
steps:
- uses: actions/checkout@v4
- name: Checkout old release
Expand Down Expand Up @@ -263,6 +267,7 @@ jobs:
KUBE_TEST_ENV: gke/autopilot
SKIP_TESTS: "true"
runs-on: ubuntu-latest
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down Expand Up @@ -300,6 +305,7 @@ jobs:
KUBE_TEST_ENV: gke/autopilot
SKIP_TESTS: "true"
runs-on: ubuntu-latest
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
steps:
- uses: actions/checkout@v4
- name: Checkout main if in a PR
Expand Down Expand Up @@ -358,6 +364,7 @@ jobs:
KUBE_TEST_ENV: aks
SKIP_TESTS: "true"
runs-on: ubuntu-latest
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down Expand Up @@ -396,6 +403,7 @@ jobs:
KUBE_TEST_ENV: gce
SKIP_TESTS: "true"
runs-on: ubuntu-latest
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down

0 comments on commit 0fee859

Please sign in to comment.