Remove support for distributions with Python 3.6
IPA can no longer be installed on them, other projects will follow. Leave the jobs in place for projects that consume them. Publish Stream 9 images (we'll need to clean up tarballs.o.o later). Change-Id: I350c563c1c4ab60ac10d7c9e4bb0715bfde1b1db
This commit is contained in:
parent
e5bf43c791
commit
0805e274e4
|
@ -4,12 +4,11 @@ diskimage-builder images
|
|||
Images built using diskimage-builder_ are recommended for production use on
|
||||
real hardware. The recommended distributions are:
|
||||
|
||||
* CentOS Stream 8
|
||||
* CentOS Stream 9
|
||||
* Debian Bullseye (``debian-minimal`` element)
|
||||
|
||||
The following should work but receive only limited testing and support:
|
||||
|
||||
* CentOS 7 (using Python 3.6)
|
||||
* openSUSE Leap 15.1
|
||||
* Ubuntu 20.04 Focal
|
||||
|
||||
|
@ -29,13 +28,13 @@ You can add other diskimage-builder_ elements via the ``-e`` flag:
|
|||
|
||||
.. code-block:: shell
|
||||
|
||||
ironic-python-agent-builder -e <extra-element> --release 8-stream centos
|
||||
ironic-python-agent-builder -e <extra-element> --release 9-stream centos
|
||||
|
||||
You can specify the base name of the target images:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ironic-python-agent-builder -o my-ipa --release 8-stream centos
|
||||
ironic-python-agent-builder -o my-ipa --release 9-stream centos
|
||||
|
||||
You can specify the arch of the target image by setting ``ARCH`` environment
|
||||
variable (default is amd64):
|
||||
|
@ -43,7 +42,7 @@ variable (default is amd64):
|
|||
.. code-block:: shell
|
||||
|
||||
export ARCH=aarch64
|
||||
ironic-python-agent-builder -o my-ipa --release 8-stream centos
|
||||
ironic-python-agent-builder -o my-ipa --release 9-stream centos
|
||||
|
||||
... with diskimage-builder
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
@ -74,7 +73,7 @@ for example:
|
|||
|
||||
.. code-block:: shell
|
||||
|
||||
export DIB_RELEASE=8-stream
|
||||
export DIB_RELEASE=9-stream
|
||||
disk-image-create -o ironic-python-agent \
|
||||
ironic-python-agent-ramdisk centos
|
||||
|
||||
|
@ -169,7 +168,7 @@ required for instance image or deploy image.
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
ironic-python-agent-builder -e stable-interface-names --release 8-stream centos
|
||||
ironic-python-agent-builder -e stable-interface-names --release 9-stream centos
|
||||
|
||||
|
||||
.. _diskimage-builder: https://docs.openstack.org/diskimage-builder
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
upgrade:
|
||||
- |
|
||||
CentOS 7 and 8 are no longer supported since OpenStack dropped support
|
||||
for Python 3.6. Please use CentOS 9 (Stream) instead.
|
|
@ -19,6 +19,7 @@
|
|||
vars:
|
||||
image_type: 'tinyipa'
|
||||
|
||||
# TODO(dtantsur): remove when no other projects use it
|
||||
- job:
|
||||
name: ironic-python-agent-build-image-dib-centos8
|
||||
parent: ironic-python-agent-build-image-base
|
||||
|
@ -30,6 +31,17 @@
|
|||
image_release: '8-stream'
|
||||
image_target_name: 'centos8'
|
||||
|
||||
- job:
|
||||
name: ironic-python-agent-build-image-dib-centos9
|
||||
parent: ironic-python-agent-build-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-build-image-dib-debian
|
||||
parent: ironic-python-agent-build-image-base
|
||||
|
@ -68,15 +80,7 @@
|
|||
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'
|
||||
|
||||
# TODO(dtantsur): remove when no other projects use it
|
||||
- job:
|
||||
name: ironic-python-agent-check-image-dib-centos8
|
||||
parent: ironic-python-agent-check-image-base
|
||||
|
@ -88,12 +92,6 @@
|
|||
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
|
||||
|
|
|
@ -11,9 +11,6 @@
|
|||
- ironic-python-agent-check-image-tinyipa
|
||||
- ironic-python-agent-check-image-dib-centos9
|
||||
- ironic-python-agent-check-image-dib-centos9-extra
|
||||
- ironic-python-agent-check-image-dib-centos8
|
||||
- ironic-python-agent-check-image-dib-centos8-extra
|
||||
- ironic-python-agent-check-image-dib-centos7-python3
|
||||
- ironic-python-agent-check-image-dib-debian
|
||||
- ironic-python-agent-check-image-dib-debian-arm64
|
||||
- ironic-python-agent-check-image-dib-debian-extra
|
||||
|
@ -36,9 +33,6 @@
|
|||
- ironic-python-agent-check-image-tinyipa
|
||||
- ironic-python-agent-check-image-dib-centos9
|
||||
- ironic-python-agent-check-image-dib-centos9-extra
|
||||
- ironic-python-agent-check-image-dib-centos8
|
||||
- ironic-python-agent-check-image-dib-centos8-extra
|
||||
- ironic-python-agent-check-image-dib-centos7-python3
|
||||
- ironic-python-agent-check-image-dib-debian
|
||||
- ironic-python-agent-check-image-dib-debian-arm64
|
||||
- ironic-python-agent-check-image-dib-debian-extra
|
||||
|
@ -47,7 +41,7 @@
|
|||
- publish-openstack-python-branch-tarball
|
||||
- ironic-python-agent-build-image-tinyipa:
|
||||
branches: master
|
||||
- ironic-python-agent-build-image-dib-centos8:
|
||||
- ironic-python-agent-build-image-dib-centos9:
|
||||
branches: master
|
||||
- ironic-python-agent-build-image-dib-debian:
|
||||
branches: master
|
||||
|
|
Loading…
Reference in New Issue