From e0c42ea940717ae586e9d99258ef5bd829e4924c Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Fri, 15 Oct 2021 11:07:59 +0200 Subject: [PATCH] Use OpenStack Xena release Switch all dependencies to use the OpenStack Xena release. This commit should be reverted on the master branch once the Kayobe stable/xena branch has been cut and RC1 released. Change-Id: Iee21230217ab1614977498dcbc2a18952ab7d64e --- ansible/group_vars/all/openstack | 6 +++--- etc/kayobe/openstack.yml | 4 ++-- tox.ini | 10 +++++----- zuul.d/jobs.yaml | 6 ++++++ 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/ansible/group_vars/all/openstack b/ansible/group_vars/all/openstack index 86bf653e7..4f113af92 100644 --- a/ansible/group_vars/all/openstack +++ b/ansible/group_vars/all/openstack @@ -2,10 +2,10 @@ ############################################################################### # OpenStack release configuration. -# Name of the current OpenStack release. Default is "master". -openstack_release: "master" +# Name of the current OpenStack release. Default is "xena". +openstack_release: "xena" -# Name of the current OpenStack branch. Default is "master". +# Name of the current OpenStack branch. Default is "stable/xena". openstack_branch: >- {% if openstack_release != 'master' %}stable/{% endif %}{{ openstack_release | lower }} diff --git a/etc/kayobe/openstack.yml b/etc/kayobe/openstack.yml index 1acfd0756..f2fe55aa1 100644 --- a/etc/kayobe/openstack.yml +++ b/etc/kayobe/openstack.yml @@ -2,10 +2,10 @@ ############################################################################### # OpenStack release configuration. -# Name of the current OpenStack release. Default is "master". +# Name of the current OpenStack release. Default is "xena". #openstack_release: -# Name of the current OpenStack branch. Default is "master". +# Name of the current OpenStack branch. Default is "stable/xena". #openstack_branch: ############################################################################### diff --git a/tox.ini b/tox.ini index 323d8f015..9936cee35 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ setenv = OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = stestr run {posargs} @@ -27,7 +27,7 @@ commands = stestr run {posargs} [testenv:pep8] # sphinx8 needs the sphinx package which is required via doc/requirements.txt deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt -r{toxinidir}/test-requirements.txt @@ -42,7 +42,7 @@ commands = [testenv:venv] deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena} -r{toxinidir}/test-requirements.txt -r{toxinidir}/doc/requirements.txt commands = {posargs} @@ -62,7 +62,7 @@ commands = deps = # TODO(priteau): Restore upper constraints once molecule dependency # resolution is working - #-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + #-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena} -r{toxinidir}/requirements.txt -r{toxinidir}/molecule-requirements.txt whitelist_externals = @@ -111,7 +111,7 @@ commands = [testenv:docs] deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena} -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build/html diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 89d894a90..9eaea0305 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -59,8 +59,14 @@ - name: openstack/kayobe - name: openstack/kayobe-config-dev - name: openstack/kolla + # TODO(mnasiadka): Remove when kayobe stable/xena exists. + override-checkout: stable/xena - name: openstack/kolla-ansible + # TODO(mnasiadka): Remove when kayobe stable/xena exists. + override-checkout: stable/xena - name: openstack/requirements + # TODO(mnasiadka): Remove when kayobe stable/xena exists. + override-checkout: stable/xena - name: openstack/tenks irrelevant-files: - ^.*\.rst$