Run master jobs only on master branch

Add branches: ^master$ so master only jobs
do not run on stable branches.

Cleanup of these jobs will still be required(like [1])
once stable branches are cut. This patch will just
ensure these jobs run only on master branch.

[1] https://review.opendev.org/q/topic:drop-master-jobs

Change-Id: Iad529caa693877c32357142859979f5cd601ee2c
This commit is contained in:
yatinkarel 2023-04-17 13:09:53 +05:30 committed by yatin
parent cda5107e65
commit 340fd3cfe7
3 changed files with 16 additions and 0 deletions

View File

@ -117,12 +117,14 @@
- job: - job:
name: neutron-fullstack-with-uwsgi-with-neutron-lib-master name: neutron-fullstack-with-uwsgi-with-neutron-lib-master
branches: ^master$
parent: neutron-fullstack-with-uwsgi parent: neutron-fullstack-with-uwsgi
required-projects: required-projects:
- openstack/neutron-lib - openstack/neutron-lib
- job: - job:
name: neutron-fullstack-with-pyroute2-master name: neutron-fullstack-with-pyroute2-master
branches: ^master$
parent: neutron-fullstack parent: neutron-fullstack
required-projects: required-projects:
- name: github.com/svinota/pyroute2 - name: github.com/svinota/pyroute2
@ -142,6 +144,7 @@
- job: - job:
name: neutron-functional-with-uwsgi-with-neutron-lib-master name: neutron-functional-with-uwsgi-with-neutron-lib-master
branches: ^master$
parent: neutron-functional-with-uwsgi parent: neutron-functional-with-uwsgi
required-projects: required-projects:
- openstack/neutron-lib - openstack/neutron-lib
@ -166,12 +169,14 @@
- job: - job:
name: neutron-functional-with-pyroute2-master name: neutron-functional-with-pyroute2-master
branches: ^master$
parent: neutron-functional parent: neutron-functional
required-projects: required-projects:
- name: github.com/svinota/pyroute2 - name: github.com/svinota/pyroute2
- job: - job:
name: neutron-functional-with-oslo-master name: neutron-functional-with-oslo-master
branches: ^master$
parent: neutron-functional parent: neutron-functional
description: | description: |
This job installs all oslo libraries from source and executes the This job installs all oslo libraries from source and executes the
@ -212,6 +217,7 @@
- job: - job:
name: neutron-functional-with-sqlalchemy-master name: neutron-functional-with-sqlalchemy-master
branches: ^master$
parent: neutron-functional parent: neutron-functional
required-projects: required-projects:
- name: github.com/sqlalchemy/sqlalchemy - name: github.com/sqlalchemy/sqlalchemy

View File

@ -528,6 +528,7 @@
# TODO(slaweq): propose job with ovs-release and move -master one to # TODO(slaweq): propose job with ovs-release and move -master one to
# experimental queue # experimental queue
name: neutron-ovn-tempest-full-multinode-ovs-master name: neutron-ovn-tempest-full-multinode-ovs-master
branches: ^master$
parent: neutron-ovn-multinode-base parent: neutron-ovn-multinode-base
run: playbooks/multinode-devstack-custom.yaml run: playbooks/multinode-devstack-custom.yaml
vars: vars:

View File

@ -295,6 +295,7 @@
- job: - job:
name: neutron-ovs-tempest-with-os-ken-master name: neutron-ovs-tempest-with-os-ken-master
branches: ^master$
parent: neutron-ovs-tempest-base parent: neutron-ovs-tempest-base
timeout: 10800 timeout: 10800
required-projects: required-projects:
@ -343,6 +344,7 @@
- job: - job:
name: neutron-ovn-tempest-with-neutron-lib-master name: neutron-ovn-tempest-with-neutron-lib-master
branches: ^master$
parent: tempest-integrated-networking parent: tempest-integrated-networking
timeout: 10800 timeout: 10800
required-projects: required-projects:
@ -373,12 +375,14 @@
- job: - job:
name: neutron-ovs-tempest-with-neutron-lib-master name: neutron-ovs-tempest-with-neutron-lib-master
branches: ^master$
parent: neutron-ovs-tempest-base parent: neutron-ovs-tempest-base
required-projects: required-projects:
- openstack/neutron-lib - openstack/neutron-lib
- job: - job:
name: neutron-ovs-tempest-with-oslo-master name: neutron-ovs-tempest-with-oslo-master
branches: ^master$
parent: neutron-ovs-tempest-base parent: neutron-ovs-tempest-base
description: | description: |
Job testing for devstack/tempest testing Neutron with OVS driver. Job testing for devstack/tempest testing Neutron with OVS driver.
@ -622,6 +626,7 @@
- job: - job:
name: neutron-ovn-tempest-ovs-master name: neutron-ovn-tempest-ovs-master
branches: ^master$
description: Job testing for devstack/tempest testing Neutron with ovn driver and OVN master branch description: Job testing for devstack/tempest testing Neutron with ovn driver and OVN master branch
parent: neutron-ovn-base parent: neutron-ovn-base
vars: vars:
@ -634,6 +639,7 @@
- job: - job:
name: neutron-ovn-tempest-ovs-release-with-oslo-master name: neutron-ovn-tempest-ovs-release-with-oslo-master
branches: ^master$
description: | description: |
Job testing for devstack/tempest testing Neutron with OVN driver. Job testing for devstack/tempest testing Neutron with OVN driver.
This job installs all oslo libraries from source. This job installs all oslo libraries from source.
@ -768,6 +774,7 @@
- job: - job:
name: neutron-ovn-tempest-ipv6-only-ovs-master name: neutron-ovn-tempest-ipv6-only-ovs-master
branches: ^master$
parent: neutron-ovn-tempest-ipv6-only-base parent: neutron-ovn-tempest-ipv6-only-base
vars: vars:
devstack_localrc: devstack_localrc:
@ -779,6 +786,7 @@
- job: - job:
name: neutron-ovn-tempest-with-sqlalchemy-master name: neutron-ovn-tempest-with-sqlalchemy-master
branches: ^master$
parent: tempest-integrated-networking parent: tempest-integrated-networking
timeout: 10800 timeout: 10800
required-projects: required-projects:
@ -814,6 +822,7 @@
- job: - job:
name: neutron-ovs-tempest-with-sqlalchemy-master name: neutron-ovs-tempest-with-sqlalchemy-master
branches: ^master$
parent: neutron-ovs-tempest-base parent: neutron-ovs-tempest-base
required-projects: required-projects:
- name: github.com/sqlalchemy/sqlalchemy - name: github.com/sqlalchemy/sqlalchemy