Do not trigger functional jobs for unit test changes
Codes under the test directory are not used by actual functionality but only by unit tests. Thus we don't need to run functional jobs in case only these test codes are updated. Change-Id: I425c111238768163ed237d57e16c68f391b0f41c
This commit is contained in:
parent
96ddfad3fd
commit
f522ba52bb
@ -97,6 +97,8 @@
|
|||||||
- ^.ansible-lint$
|
- ^.ansible-lint$
|
||||||
- ^.pre-commit-config.yaml$
|
- ^.pre-commit-config.yaml$
|
||||||
- ^.yamllint$
|
- ^.yamllint$
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
|
|
||||||
# The base standard job for Multinode jobs
|
# The base standard job for Multinode jobs
|
||||||
- job:
|
- job:
|
||||||
|
@ -94,6 +94,8 @@
|
|||||||
- ^.ansible-lint$
|
- ^.ansible-lint$
|
||||||
- ^.pre-commit-config.yaml$
|
- ^.pre-commit-config.yaml$
|
||||||
- ^.yamllint$
|
- ^.yamllint$
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
|
|
||||||
# This job definition holds the required projects
|
# This job definition holds the required projects
|
||||||
# for tripleo-ci-base-centos-8. The required projects are separated
|
# for tripleo-ci-base-centos-8. The required projects are separated
|
||||||
@ -156,6 +158,8 @@
|
|||||||
^.ansible-lint$
|
^.ansible-lint$
|
||||||
- ^.pre-commit-config.yaml$
|
- ^.pre-commit-config.yaml$
|
||||||
- ^.yamllint$
|
- ^.yamllint$
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: tripleo-ci-base-ovb
|
name: tripleo-ci-base-ovb
|
||||||
|
@ -124,6 +124,9 @@
|
|||||||
- ^tripleo_ansible/roles/.*/meta.*
|
- ^tripleo_ansible/roles/.*/meta.*
|
||||||
- ^tripleo_ansible/roles/test_deps/.*
|
- ^tripleo_ansible/roles/test_deps/.*
|
||||||
- ^zuul.d/base.yaml
|
- ^zuul.d/base.yaml
|
||||||
|
# unit tests
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
vars: &multi_consumer_vars
|
vars: &multi_consumer_vars
|
||||||
consumer_job: true
|
consumer_job: true
|
||||||
build_container_images: false
|
build_container_images: false
|
||||||
@ -227,6 +230,8 @@
|
|||||||
- ^playbooks/tripleo-buildimages/.*$
|
- ^playbooks/tripleo-buildimages/.*$
|
||||||
- ^vars/sova-patterns.yml$
|
- ^vars/sova-patterns.yml$
|
||||||
- ^scripts/tripleo-critical-bugs/.*
|
- ^scripts/tripleo-critical-bugs/.*
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
dependencies:
|
dependencies:
|
||||||
- openstack-tox-linters
|
- openstack-tox-linters
|
||||||
- tripleo-ci-centos-8-content-provider-train:
|
- tripleo-ci-centos-8-content-provider-train:
|
||||||
|
@ -62,6 +62,8 @@
|
|||||||
- tox.ini
|
- tox.ini
|
||||||
- ^setup.*$
|
- ^setup.*$
|
||||||
- ^scripts/.*
|
- ^scripts/.*
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: tripleo-ci-centos-9-standalone
|
name: tripleo-ci-centos-9-standalone
|
||||||
|
@ -46,6 +46,9 @@
|
|||||||
- ^tripleo_ansible/roles/.*/meta.*
|
- ^tripleo_ansible/roles/.*/meta.*
|
||||||
- ^tripleo_ansible/roles/test_deps/.*
|
- ^tripleo_ansible/roles/test_deps/.*
|
||||||
- ^zuul.d/base.yaml
|
- ^zuul.d/base.yaml
|
||||||
|
# unit tests
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
vars: &undercloud_consumer_vars
|
vars: &undercloud_consumer_vars
|
||||||
consumer_job: true
|
consumer_job: true
|
||||||
remove_tags:
|
remove_tags:
|
||||||
|
@ -40,6 +40,9 @@
|
|||||||
- playbooks/quickstart-extras-standalone.yml
|
- playbooks/quickstart-extras-standalone.yml
|
||||||
- roles/standalone/.*
|
- roles/standalone/.*
|
||||||
- roles/standalone-upgrade/.*
|
- roles/standalone-upgrade/.*
|
||||||
|
# unit tests
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
vars: &consumer_vars
|
vars: &consumer_vars
|
||||||
consumer_job: true
|
consumer_job: true
|
||||||
build_container_images: false
|
build_container_images: false
|
||||||
@ -93,6 +96,9 @@
|
|||||||
# upgrade/update featuresets
|
# upgrade/update featuresets
|
||||||
- ^config/general_config/featureset037.yml
|
- ^config/general_config/featureset037.yml
|
||||||
- ^config/general_config/featureset051.yml
|
- ^config/general_config/featureset051.yml
|
||||||
|
# unit tests
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
dependencies:
|
dependencies:
|
||||||
- tripleo-ci-centos-9-content-provider
|
- tripleo-ci-centos-9-content-provider
|
||||||
- tripleo-ci-centos-9-content-provider-wallaby
|
- tripleo-ci-centos-9-content-provider-wallaby
|
||||||
@ -153,6 +159,8 @@
|
|||||||
- zuul.d/multinode-jobs.yaml
|
- zuul.d/multinode-jobs.yaml
|
||||||
- zuul.d/undercloud-jobs.yaml
|
- zuul.d/undercloud-jobs.yaml
|
||||||
- zuul.d/standalone-jobs.yaml
|
- zuul.d/standalone-jobs.yaml
|
||||||
|
- ^tripleoclient/tests/.*$
|
||||||
|
- ^tripleo_common/tests/.*$
|
||||||
- tripleo-ci-centos-8-content-provider-ussuri:
|
- tripleo-ci-centos-8-content-provider-ussuri:
|
||||||
irrelevant-files: *upgrade_irrelevant
|
irrelevant-files: *upgrade_irrelevant
|
||||||
- tripleo-ci-centos-8-standalone-upgrade-victoria:
|
- tripleo-ci-centos-8-standalone-upgrade-victoria:
|
||||||
|
Loading…
Reference in New Issue
Block a user