e51c210861
This change does the following:
- Removes the centos7 job, it uses python2 even though python2 was
dropped from IPA in 2019.
(see Ifd0e0b99bb82a7d7e82d6c14309468196f5734fc)
- Allow 60-ironic-python-agent-ramdisk-install to assume python3 and
the venv module, the remaining centos7-python3 job will also test this
- Replaces the pip-and-virtualenv element with ensure-venv.
pip-and-virtualenv exists to install virtualenv for python2
environments, and it is unmaintained and mostly technical debt.
Change-Id: I9b6e03f50a4eb2484a04748e51d7348401b6ca04
(cherry picked from commit 66206d0b27
)
174 lines
5.1 KiB
YAML
174 lines
5.1 KiB
YAML
- job:
|
|
name: ironic-python-agent-build-image-base
|
|
parent: publish-openstack-artifacts
|
|
pre-run: playbooks/ironic-python-agent-build-image/pre.yaml
|
|
run: playbooks/ironic-python-agent-build-image/run.yaml
|
|
post-run: playbooks/ironic-python-agent-build-image/post.yaml
|
|
timeout: 1800
|
|
required-projects:
|
|
- openstack/requirements
|
|
- openstack/ironic-python-agent
|
|
- openstack/ironic-python-agent-builder
|
|
vars:
|
|
ipa_raw_dir: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent/UPLOAD_RAW'
|
|
ipa_tar_dir: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent/UPLOAD_TAR'
|
|
|
|
- job:
|
|
name: ironic-python-agent-build-image-tinyipa
|
|
parent: ironic-python-agent-build-image-base
|
|
vars:
|
|
image_type: 'tinyipa'
|
|
|
|
- job:
|
|
name: ironic-python-agent-build-image-dib-centos8
|
|
parent: ironic-python-agent-build-image-base
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
image_type: 'dib'
|
|
image_distro: 'centos'
|
|
image_release: '8-stream'
|
|
image_target_name: 'centos8'
|
|
|
|
- job:
|
|
name: ironic-python-agent-build-image-dib-debian
|
|
parent: ironic-python-agent-build-image-base
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
image_type: 'dib'
|
|
image_distro: 'debian-minimal'
|
|
image_release: 'buster'
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-base
|
|
parent: base
|
|
nodeset: ubuntu-focal
|
|
pre-run: playbooks/ironic-python-agent-build-image/pre.yaml
|
|
run: playbooks/ironic-python-agent-build-image/run.yaml
|
|
timeout: 1800
|
|
required-projects:
|
|
- openstack/requirements
|
|
- openstack/ironic-python-agent
|
|
- openstack/ironic-python-agent-builder
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
vars:
|
|
ipa_raw_dir: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent/UPLOAD_RAW'
|
|
ipa_tar_dir: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent/UPLOAD_TAR'
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-tinyipa
|
|
parent: ironic-python-agent-check-image-base
|
|
vars:
|
|
image_type: 'tinyipa'
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-centos7-python3
|
|
parent: ironic-python-agent-check-image-base
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
image_type: 'dib'
|
|
image_distro: 'centos7'
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-centos8
|
|
parent: ironic-python-agent-check-image-base
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
image_type: 'dib'
|
|
image_distro: 'centos'
|
|
image_release: '8-stream'
|
|
image_target_name: 'centos8'
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-centos8-extra
|
|
parent: ironic-python-agent-check-image-dib-centos8
|
|
vars:
|
|
extra_elements: ["extra-hardware"]
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-centos9
|
|
parent: ironic-python-agent-check-image-base
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
image_type: 'dib'
|
|
image_distro: 'centos'
|
|
image_release: '9-stream'
|
|
image_target_name: centos9
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-centos9-extra
|
|
parent: ironic-python-agent-check-image-dib-centos9
|
|
vars:
|
|
extra_elements: ["extra-hardware"]
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-opensuse
|
|
parent: ironic-python-agent-check-image-base
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
image_type: 'dib'
|
|
image_distro: 'opensuse'
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-debian
|
|
parent: ironic-python-agent-check-image-base
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
image_type: 'dib'
|
|
image_distro: 'debian-minimal'
|
|
image_release: 'buster'
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-debian-extra
|
|
parent: ironic-python-agent-check-image-dib-debian
|
|
vars:
|
|
extra_elements: ["extra-hardware"]
|
|
|
|
- job:
|
|
name: ironic-python-agent-check-image-dib-ubuntu
|
|
parent: ironic-python-agent-check-image-base
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
image_type: 'dib'
|
|
image_distro: 'ubuntu'
|
|
image_release: 'focal'
|
|
|
|
- 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
|
|
|
|
- job:
|
|
name: ironic-python-agent-test-image-tinyipa-ussuri
|
|
parent: ironic-python-agent-check-image-tinyipa-ussuri
|
|
required-projects:
|
|
- name: openstack/ironic-python-agent
|
|
override-checkout: stable/ussuri
|
|
- name: openstack/requirements
|
|
override-checkout: stable/ussuri
|
|
vars:
|
|
ipa_branch_path: "stable-ussuri"
|