Fix instack jobs (again)
Turns out if you are defining the template, it overrides the job
definition. So drop the release template and leave the job definitions
so that the branch selector is properly applied.
- project:
name: openstack/instack
- templates:
- - publish-to-pypi-python3
+ # NOTE(aschultz): these have to dupe the publish-to-pypi-python3 jobs
+ # because of the branch designation for the release job
check:
jobs:
- noop:
branches: master
- test-release-openstack-python3:
branches: ^(?!master).*$
-
+ pre-release:
+ jobs:
+ - release-openstack-python3
+ release:
+ jobs:
+ - release-openstack-python3
+ - announce-release:
+ dependencies:
+ - release-openstack-python3
+ - propose-update-constraints:
+ dependencies:
+ - release-openstack-python3
- project:
name: openstack/instack-undercloud
- templates:
- - publish-to-pypi-python3
+ # NOTE(aschultz): these have to dupe the publish-to-pypi-python3 jobs
+ # because of the branch designation for the release job
check:
jobs:
- noop:
branches: master
- test-release-openstack-python3:
branches: ^(?!master).*$
+ pre-release:
+ jobs:
+ - release-openstack-python3
+ release:
+ jobs:
+ - release-openstack-python3
+ - announce-release:
+ dependencies:
+ - release-openstack-python3
+ - propose-update-constraints:
+ dependencies:
+ - release-openstack-python3
- project:
name: openstack/intel-nfv-ci-tests
