ci: disable e2e tests by default in CI

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>
This commit is contained in:
Madhu Rajanna 2022-10-25 13:31:51 +02:00 committed by mergify[bot]
parent d6b721b7a8
commit c1255f809b
3 changed files with 8 additions and 6 deletions

View File

@ -3,11 +3,11 @@
name: k8s-e2e-external-storage name: k8s-e2e-external-storage
k8s_version: k8s_version:
- '1.22': - '1.22':
only_run_on_request: false only_run_on_request: true
- '1.23': - '1.23':
only_run_on_request: false only_run_on_request: true
- '1.24': - '1.24':
only_run_on_request: false only_run_on_request: true
- '1.25': - '1.25':
only_run_on_request: true only_run_on_request: true
- '1.26': - '1.26':

View File

@ -3,11 +3,11 @@
name: mini-e2e name: mini-e2e
k8s_version: k8s_version:
- '1.22': - '1.22':
only_run_on_request: false only_run_on_request: true
- '1.23': - '1.23':
only_run_on_request: false only_run_on_request: true
- '1.24': - '1.24':
only_run_on_request: false only_run_on_request: true
- '1.25': - '1.25':
only_run_on_request: true only_run_on_request: true
- '1.26': - '1.26':

View File

@ -2,6 +2,7 @@
- project: - project:
name: upgrade-tests name: upgrade-tests
k8s_version: '1.21' k8s_version: '1.21'
only_run_on_request: true
test_type: test_type:
- 'cephfs' - 'cephfs'
- 'rbd' - 'rbd'
@ -52,6 +53,7 @@
status-context: 'ci/centos/upgrade-tests-{test_type}' status-context: 'ci/centos/upgrade-tests-{test_type}'
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ((all)|(ci/centos/upgrade-tests(-{test_type})?))' trigger-phrase: '/(re)?test ((all)|(ci/centos/upgrade-tests(-{test_type})?))'
only-trigger-phrase: '{only_run_on_request}'
permit-all: true permit-all: true
github-hooks: true github-hooks: true
black-list-target-branches: black-list-target-branches: