Skip to content

Commit

Permalink
ci: disable e2e tests by default in CI
Browse files Browse the repository at this point in the history
Disable e2e tests by default in CI to
save resources. cephcsi maintainers or
contributors can add the ok-to-test label
to trigger the e2e tests.

depends on #3468

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 authored and mergify[bot] committed Oct 26, 2022
1 parent d6b721b commit c1255f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions jobs/k8s-e2e-external-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
name: k8s-e2e-external-storage
k8s_version:
- '1.22':
only_run_on_request: false
only_run_on_request: true
- '1.23':
only_run_on_request: false
only_run_on_request: true
- '1.24':
only_run_on_request: false
only_run_on_request: true
- '1.25':
only_run_on_request: true
- '1.26':
Expand Down
6 changes: 3 additions & 3 deletions jobs/mini-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
name: mini-e2e
k8s_version:
- '1.22':
only_run_on_request: false
only_run_on_request: true
- '1.23':
only_run_on_request: false
only_run_on_request: true
- '1.24':
only_run_on_request: false
only_run_on_request: true
- '1.25':
only_run_on_request: true
- '1.26':
Expand Down
2 changes: 2 additions & 0 deletions jobs/upgrade-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- project:
name: upgrade-tests
k8s_version: '1.21'
only_run_on_request: true
test_type:
- 'cephfs'
- 'rbd'
Expand Down Expand Up @@ -52,6 +53,7 @@
status-context: 'ci/centos/upgrade-tests-{test_type}'
# yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ((all)|(ci/centos/upgrade-tests(-{test_type})?))'
only-trigger-phrase: '{only_run_on_request}'
permit-all: true
github-hooks: true
black-list-target-branches:
Expand Down

0 comments on commit c1255f8

Please sign in to comment.