summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Pittau <elfosardo@gmail.com>2021-03-02 10:14:03 +0100
committerRiccardo Pittau <elfosardo@gmail.com>2021-03-02 16:27:45 +0000
commitb9c9b0be10ad960244f41b5b79229746ff34d15a (patch)
treee8e40869508e0a5a8f937c1afa3662f3f9ffdb3f
parent90b79c2f3cd556c9d934c8da8e5a0f8a005b6886 (diff)
downloadironic-python-agent-b9c9b0be10ad960244f41b5b79229746ff34d15a.tar.gz
Use UPPER_CONSTRAINTS_FILE to deal with ipa-builder
The generate_upper_constraints.sh script in ipa-builder 2.2.0 still uses UPPER_CONSTRAINTS_FILE as fallback to get the upper constraints file. Also remove duplicate option in ironic-ipa-dib-base and use bionic for the tinyipa jobs so we're sure to use the correct kernel when building the ipa ramdisk. Change-Id: I1883dc3b1b290f1f2f60dad5e5af57ceffba9d14
-rw-r--r--tox.ini2
-rw-r--r--zuul.d/ironic-python-agent-jobs.yaml11
-rw-r--r--zuul.d/project.yaml2
3 files changed, 11 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index fbfae5ce..fce5ec72 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,7 +14,7 @@ setenv =
LANGUAGE=en_US
LC_ALL=en_US.utf-8
deps =
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ussuri}
+ -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ussuri}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
diff --git a/zuul.d/ironic-python-agent-jobs.yaml b/zuul.d/ironic-python-agent-jobs.yaml
index 5dc46d9c..7b7e8938 100644
--- a/zuul.d/ironic-python-agent-jobs.yaml
+++ b/zuul.d/ironic-python-agent-jobs.yaml
@@ -182,8 +182,6 @@
parent: ironic-ipa-base
required-projects:
- openstack/diskimage-builder
- - name: openstack/ironic-python-agent-builder
- override-checkout: 2.2.0
timeout: 9600
vars:
tempest_test_timeout: 2400
@@ -230,6 +228,15 @@
- job:
name: ironic-python-agent-build-image-tinyipa-ussuri
parent: ironic-python-agent-build-image-tinyipa
+ nodeset: ubuntu-bionic
required-projects:
- name: openstack/ironic-python-agent-builder
override-checkout: 2.2.0
+
+- job:
+ name: ironic-python-agent-check-image-tinyipa-ussuri
+ parent: ironic-python-agent-check-image-tinyipa
+ nodeset: ubuntu-bionic
+ required-projects:
+ - name: openstack/ironic-python-agent-builder
+ override-checkout: 2.2.0
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index 33c2062a..693d5a64 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -15,7 +15,7 @@
- metalsmith-integration-ipa-src
# NOTE(dtantsur): non-voting because IPA source code is very unlikely
# to break them. They rather serve as a canary for broken POST jobs.
- - ironic-python-agent-check-image-tinyipa:
+ - ironic-python-agent-check-image-tinyipa-ussuri:
voting: false
- ironic-python-agent-check-image-dib-centos8:
voting: false