Restrict jobs running against tripleo-ci changes

Remove the blanket zuul.d/* for the standalone jobs and add
to irrelevant files for multinode/undercloud jobs so they
aren't running unnecessarily. See [1] for example where these
jobs are causing delays without any benefit (irrelevant change)

[1] https://review.opendev.org/730763
Change-Id: I7688b14b5c5cf8be5e4d7e0afdd7d251eef11fb8
This commit is contained in:
Marios Andreou 2020-06-11 13:05:05 +03:00
parent db711241b9
commit 78a4a3e1df
3 changed files with 16 additions and 30 deletions

View File

@ -31,25 +31,13 @@
- ^playbooks/tripleo-buildcontainers/.*$
- ^playbooks/tripleo-buildimages/.*$
- ^vars/sova-patterns.yml$
- zuul.d/layout.yaml
- zuul.d/build-containers.yaml
- zuul.d/build-image.yaml
- zuul.d/standalone-jobs.yaml
- zuul.d/undercloud-jobs.yaml
- tripleo-ci-centos-7-undercloud-containers:
irrelevant-files:
- ^.*\.md$
- ^.*\.rst$
- ^doc/.*$
- ^docs/.*$
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
- ^test-requirements.txt$
- ^spec/.*$
- ^Puppetfile.*$
- tox.ini
- ^roles/build-containers/.*$
- ^roles/oooci-build-images/.*$
- ^playbooks/deprecated/.*$
- ^playbooks/tripleo-buildcontainers/.*$
- ^playbooks/tripleo-buildimages/.*$
- ^vars/sova-patterns.yml$
irrelevant-files: *multinode_ignored
- tripleo-ci-centos-7-containers-multinode:
irrelevant-files: *multinode_ignored
- tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
@ -77,6 +65,11 @@
- ^playbooks/tripleo-buildcontainers/.*$
- ^playbooks/tripleo-buildimages/.*$
- ^vars/sova-patterns.yml$
- zuul.d/layout.yaml
- zuul.d/build-containers.yaml
- zuul.d/build-image.yaml
- zuul.d/standalone-jobs.yaml
- zuul.d/undercloud-jobs.yaml
- tripleo-ci-centos-7-standalone:
irrelevant-files: *standalone_ignored
- tripleo-ci-centos-7-standalone-rocky:

View File

@ -142,7 +142,6 @@
- ^deployed-server/.*$
- ^network/endpoints/.*$
- ^common/.*$
- zuul.d/*
# tripleo-quickstart
- config/general_config/featureset052.yml
# puppet-tripleo
@ -157,7 +156,6 @@
- ^manifests/profile/(base|pacemaker)/metrics.*$
- ^manifests/profile/(base|pacemaker)/monitoring.*$
- ^manifests/profile/(base|pacemaker)/panko.*$
- zuul.d/layout.yaml
# tripleo-quickstart-extras
- roles/standalone/.*
- roles/validate-tempest/.*
@ -194,7 +192,6 @@
- ^deployed-server/.*$
- ^network/endpoints/.*$
- ^common/.*$
- zuul.d/*
# tripleo-quickstart
- config/general_config/featureset052.yml
# puppet-tripleo
@ -235,7 +232,6 @@
- ^deployed-server/.*$
- ^network/endpoints/.*$
- ^common/.*$
- zuul.d/*
# tripleo-quickstart
- config/general_config/featureset052.yml
# puppet-tripleo
@ -261,7 +257,6 @@
- ^container-images/.*$
- tripleo_common/actions/ansible.py
- tripleo_common/image/kolla_builder.py
- zuul.d/layout.yaml
# tripleo-heat-templates
- ^(docker/services|deployment)/ceph.*$
- ^(docker/services|deployment)/glance.*$
@ -273,7 +268,6 @@
- ^deployed-server/.*$
- ^network/endpoints/.*$
- ^common/.*$
- zuul.d/*
# tripleo-quickstart
- config/general_config/featureset052.yml
# puppet-tripleo
@ -302,7 +296,6 @@
- ^container-images/.*$
- tripleo_common/actions/ansible.py
- tripleo_common/image/kolla_builder.py
- zuul.d/layout.yaml
# tripleo-quickstart
- config/general_config/featureset062.yml
# puppet-tripleo
@ -324,7 +317,6 @@
- ^deployed-server/.*$
- ^network/endpoints/.*$
- ^common/.*$
- zuul.d/*
# python-tripleoclient
- ^tripleoclient/heat_launcher.*$
- ^tripleoclient/v1/tripleo_(deploy|config|upgrade).*$
@ -344,7 +336,6 @@
- ^container-images/.*$
- tripleo_common/actions/ansible.py
- tripleo_common/image/kolla_builder.py
- zuul.d/layout.yaml
# tripleo-heat-templates
- ^(docker/services|deployment)/glance.*$
- ^(docker/services|deployment)/ironic.*$
@ -353,7 +344,6 @@
- ^deployed-server/.*$
- ^network/endpoints/.*$
- ^common/.*$
- zuul.d/*
# tripleo-quickstart
- config/general_config/featureset060.yml
# puppet-tripleo
@ -384,7 +374,6 @@
- ^deployed-server/.*$
- ^network/endpoints/.*$
- ^common/.*$
- zuul.d/*
# tripleo-quickstart
- config/general_config/featureset052.yml
# puppet-tripleo
@ -864,7 +853,6 @@
- deployment/octavia/*
- deployment/ovn/*
- deployment/rabbitmq/*
- zuul.d/*
gate:
jobs:
- tripleo-ci-centos-8-standalone-on-multinode-ipa:

View File

@ -26,6 +26,11 @@
- ^playbooks/tripleo-buildcontainers/.*$
- ^playbooks/tripleo-buildimages/.*$
- ^vars/sova-patterns.yml$
- zuul.d/layout.yaml
- zuul.d/build-containers.yaml
- zuul.d/build-image.yaml
- zuul.d/standalone-jobs.yaml
- zuul.d/multinode-jobs.yaml
- tripleo-ci-centos-7-undercloud-upgrades:
irrelevant-files: *undercloud_ignored