Add Fedora 31 support and test jobs

Change-Id: Iad0261ac8db001ffa4d3a4dd6df05fe923402a69
This commit is contained in:
Lee Yarwood 2020-02-18 15:23:02 +00:00 committed by Ian Wienand
parent c113703050
commit ee9ad32b6f
7 changed files with 33 additions and 10 deletions

View File

@ -23,8 +23,6 @@
- apt-sources/test-sources - apt-sources/test-sources
- centos-minimal/7-build-succeeds - centos-minimal/7-build-succeeds
- centos-minimal/8-build-succeeds - centos-minimal/8-build-succeeds
- fedora-minimal/build-succeeds
- pip-and-virtualenv/source-install-fedora
- pip-and-virtualenv/source-install-ubuntu - pip-and-virtualenv/source-install-ubuntu
- ubuntu-minimal/trusty-build-succeeds - ubuntu-minimal/trusty-build-succeeds
- ubuntu-minimal/xenial-build-succeeds - ubuntu-minimal/xenial-build-succeeds
@ -45,7 +43,6 @@
- centos/8-build-succeeds - centos/8-build-succeeds
- opensuse/build-succeeds - opensuse/build-succeeds
- opensuse/opensuse15-build-succeeds - opensuse/opensuse15-build-succeeds
- fedora/build-succeeds
- ubuntu/trusty-build-succeeds - ubuntu/trusty-build-succeeds
- ubuntu/xenial-build-succeeds - ubuntu/xenial-build-succeeds
- ubuntu/bionic-build-succeeds - ubuntu/bionic-build-succeeds
@ -93,6 +90,11 @@
Run the default tests on a Bionic build host with Python 3 Run the default tests on a Bionic build host with Python 3
parent: dib-functests-default parent: dib-functests-default
nodeset: ubuntu-bionic nodeset: ubuntu-bionic
vars:
# These can only build on bionic
dib_functests_extra:
- fedora-minimal/build-succeeds
- pip-and-virtualenv/source-install-fedora
voting: false voting: false
- job: - job:
@ -101,6 +103,9 @@
The image tests on a Bionic build host with Python 3 The image tests on a Bionic build host with Python 3
parent: dib-functests-image parent: dib-functests-image
nodeset: ubuntu-bionic nodeset: ubuntu-bionic
vars:
dib_functests_extra:
- fedora/build-succeeds
voting: false voting: false
- job: - job:
@ -241,6 +246,19 @@
base_element: fedora-minimal base_element: fedora-minimal
release: '30' release: '30'
- job:
name: dib-nodepool-functional-openstack-fedora-31-src
description: |
Test building and booting a Fedora 31 image with Nodepool and OpenStack
parent: dib-nodepool-functional-src-base
vars:
nodepool_extra_packages:
- rpm
- yum-utils
nodepool_diskimage:
base_element: fedora-minimal
release: '31'
- job: - job:
name: dib-nodepool-functional-openstack-ubuntu-xenial-src name: dib-nodepool-functional-openstack-ubuntu-xenial-src
description: | description: |

View File

@ -12,7 +12,7 @@
- openstack-tox-pylint - openstack-tox-pylint
- dib-nodepool-functional-openstack-centos-7-src - dib-nodepool-functional-openstack-centos-7-src
- dib-nodepool-functional-openstack-centos-8-src - dib-nodepool-functional-openstack-centos-8-src
- dib-nodepool-functional-openstack-fedora-30-src - dib-nodepool-functional-openstack-fedora-31-src
- dib-nodepool-functional-openstack-ubuntu-xenial-src - dib-nodepool-functional-openstack-ubuntu-xenial-src
- dib-nodepool-functional-openstack-ubuntu-bionic - dib-nodepool-functional-openstack-ubuntu-bionic
- dib-nodepool-functional-openstack-ubuntu-bionic-src - dib-nodepool-functional-openstack-ubuntu-bionic-src
@ -49,7 +49,7 @@
- openstack-tox-pylint - openstack-tox-pylint
- dib-nodepool-functional-openstack-centos-7-src - dib-nodepool-functional-openstack-centos-7-src
- dib-nodepool-functional-openstack-centos-8-src - dib-nodepool-functional-openstack-centos-8-src
- dib-nodepool-functional-openstack-fedora-30-src - dib-nodepool-functional-openstack-fedora-31-src
- dib-nodepool-functional-openstack-ubuntu-xenial-src - dib-nodepool-functional-openstack-ubuntu-xenial-src
- dib-nodepool-functional-openstack-ubuntu-bionic - dib-nodepool-functional-openstack-ubuntu-bionic
- dib-nodepool-functional-openstack-ubuntu-bionic-src - dib-nodepool-functional-openstack-ubuntu-bionic-src

View File

@ -1,2 +1,2 @@
export DISTRO_NAME=fedora export DISTRO_NAME=fedora
export DIB_RELEASE=${DIB_RELEASE:-30} export DIB_RELEASE=${DIB_RELEASE:-31}

View File

@ -1,5 +1,5 @@
export DISTRO_NAME=fedora export DISTRO_NAME=fedora
export DIB_RELEASE=${DIB_RELEASE:-30} export DIB_RELEASE=${DIB_RELEASE:-31}
# Note the filename URL has a "sub-release" in it # Note the filename URL has a "sub-release" in it
# http:// ... Fedora-Cloud-Base-25-1.3.x86_64.qcow2 # http:// ... Fedora-Cloud-Base-25-1.3.x86_64.qcow2
@ -17,6 +17,8 @@ elif [[ ${DIB_RELEASE} == '29' ]]; then
export DIB_FEDORA_SUBRELEASE=1.2 export DIB_FEDORA_SUBRELEASE=1.2
elif [[ ${DIB_RELEASE} == '30' ]]; then elif [[ ${DIB_RELEASE} == '30' ]]; then
export DIB_FEDORA_SUBRELEASE=1.2 export DIB_FEDORA_SUBRELEASE=1.2
elif [[ ${DIB_RELEASE} == '31' ]]; then
export DIB_FEDORA_SUBRELEASE=1.9
else else
echo "Unsupported Fedora release" echo "Unsupported Fedora release"
exit 1 exit 1

View File

@ -31,7 +31,7 @@ if [[ $DISTRO_NAME =~ (opensuse|fedora|centos|centos7|rhel|rhel7) ]]; then
fedora) fedora)
_do_py3=1 _do_py3=1
packages="python2-virtualenv python2-pip python2-setuptools" packages="python2-virtualenv python2-pip python2-setuptools"
packages+=" python3-virtualenv python3-pip python3-setuptools" packages=" python3-virtualenv python3-pip python3-setuptools"
;; ;;
rhel) rhel)
case "$DIB_RELEASE" in case "$DIB_RELEASE" in

View File

@ -25,6 +25,9 @@
}, },
"30": { "30": {
"network-scripts": "network-scripts" "network-scripts": "network-scripts"
},
"31": {
"network-scripts": "network-scripts"
} }
} }
}, },

View File

@ -5,7 +5,7 @@ Distributions which are supported as a build host:
- Centos 6, 7 - Centos 6, 7
- Debian 8 ("jessie") - Debian 8 ("jessie")
- Fedora 28, 29, 30 - Fedora 30, 31
- RHEL 6, 7 - RHEL 6, 7
- Ubuntu 14.04 ("trusty") - Ubuntu 14.04 ("trusty")
- Gentoo - Gentoo
@ -16,7 +16,7 @@ Distributions which are supported as a target for an image:
- Centos 6, 7 - Centos 6, 7
- Debian 8 ("jessie") - Debian 8 ("jessie")
- Fedora 28, 29, 30 - Fedora 30, 31
- RHEL 6, 7 - RHEL 6, 7
- Ubuntu 12.04 ("precise"), 14.04 ("trusty") - Ubuntu 12.04 ("precise"), 14.04 ("trusty")
- Gentoo - Gentoo