Fedora 32 support
Update for Fedora 32 support. Change-Id: I51c5645856a76e2877c013d72e9849a758ba12ff
This commit is contained in:
parent
840f8ed2b2
commit
7b6819213e
@ -196,6 +196,16 @@
|
|||||||
base_element: fedora-minimal
|
base_element: fedora-minimal
|
||||||
release: '31'
|
release: '31'
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-fedora-32-src
|
||||||
|
description: |
|
||||||
|
Test building and booting a Fedora 32 image with Nodepool and OpenStack
|
||||||
|
parent: dib-nodepool-functional-src-base
|
||||||
|
vars:
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: fedora-minimal
|
||||||
|
release: '32'
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: dib-nodepool-functional-openstack-ubuntu-xenial-src
|
name: dib-nodepool-functional-openstack-ubuntu-xenial-src
|
||||||
description: |
|
description: |
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
- dib-nodepool-functional-openstack-centos-8-src
|
- dib-nodepool-functional-openstack-centos-8-src
|
||||||
- dib-nodepool-functional-openstack-centos-8-stream-src
|
- dib-nodepool-functional-openstack-centos-8-stream-src
|
||||||
- dib-nodepool-functional-openstack-fedora-31-src
|
- dib-nodepool-functional-openstack-fedora-31-src
|
||||||
|
- dib-nodepool-functional-openstack-fedora-32-src
|
||||||
- dib-nodepool-functional-openstack-ubuntu-xenial-src
|
- dib-nodepool-functional-openstack-ubuntu-xenial-src
|
||||||
- dib-nodepool-functional-openstack-ubuntu-bionic-src
|
- dib-nodepool-functional-openstack-ubuntu-bionic-src
|
||||||
- dib-nodepool-functional-openstack-ubuntu-focal-src
|
- dib-nodepool-functional-openstack-ubuntu-focal-src
|
||||||
@ -49,6 +50,7 @@
|
|||||||
- dib-nodepool-functional-openstack-centos-8-src
|
- dib-nodepool-functional-openstack-centos-8-src
|
||||||
- dib-nodepool-functional-openstack-centos-8-stream-src
|
- dib-nodepool-functional-openstack-centos-8-stream-src
|
||||||
- dib-nodepool-functional-openstack-fedora-31-src
|
- dib-nodepool-functional-openstack-fedora-31-src
|
||||||
|
- dib-nodepool-functional-openstack-fedora-32-src
|
||||||
- dib-nodepool-functional-openstack-ubuntu-xenial-src
|
- dib-nodepool-functional-openstack-ubuntu-xenial-src
|
||||||
- dib-nodepool-functional-openstack-ubuntu-bionic-src
|
- dib-nodepool-functional-openstack-ubuntu-bionic-src
|
||||||
- dib-nodepool-functional-openstack-ubuntu-focal-src
|
- dib-nodepool-functional-openstack-ubuntu-focal-src
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
export DISTRO_NAME=fedora
|
export DISTRO_NAME=fedora
|
||||||
export DIB_RELEASE=${DIB_RELEASE:-31}
|
export DIB_RELEASE=${DIB_RELEASE:-32}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
export DISTRO_NAME=fedora
|
export DISTRO_NAME=fedora
|
||||||
export DIB_RELEASE=${DIB_RELEASE:-31}
|
export DIB_RELEASE=${DIB_RELEASE:-32}
|
||||||
|
|
||||||
# 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
|
||||||
@ -19,6 +19,8 @@ elif [[ ${DIB_RELEASE} == '30' ]]; then
|
|||||||
export DIB_FEDORA_SUBRELEASE=1.2
|
export DIB_FEDORA_SUBRELEASE=1.2
|
||||||
elif [[ ${DIB_RELEASE} == '31' ]]; then
|
elif [[ ${DIB_RELEASE} == '31' ]]; then
|
||||||
export DIB_FEDORA_SUBRELEASE=1.9
|
export DIB_FEDORA_SUBRELEASE=1.9
|
||||||
|
elif [[ ${DIB_RELEASE} == '32' ]]; then
|
||||||
|
export DIB_FEDORA_SUBRELEASE=1.6
|
||||||
else
|
else
|
||||||
echo "Unsupported Fedora release"
|
echo "Unsupported Fedora release"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -14,10 +14,14 @@ if [[ ${DIB_RELEASE} -gt 27 ]]; then
|
|||||||
# urgh, the repo is wrong in the "baseurl" line, see
|
# urgh, the repo is wrong in the "baseurl" line, see
|
||||||
# https://pagure.io/fedora/repos/issue/70
|
# https://pagure.io/fedora/repos/issue/70
|
||||||
for FILE in /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates-testing.repo; do
|
for FILE in /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates-testing.repo; do
|
||||||
sed -i "s|/os/||" $FILE
|
sed -i "s,/os/,," $FILE
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for FILE in /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates-testing.repo; do
|
for FILE in /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates-testing.repo; do
|
||||||
sudo sed -e "s|^#baseurl=http[s]*://download.fedoraproject.org/pub/fedora/linux|baseurl=$DIB_DISTRIBUTION_MIRROR|;/^metalink/d" -i $FILE
|
# In >=32 this became "download.example" not
|
||||||
|
# "download.fedoraproject.org"
|
||||||
|
cat $FILE
|
||||||
|
sudo sed -e "s,^#baseurl=http[s]*://download.\(fedoraproject.org\|example\)/pub/fedora/linux,baseurl=$DIB_DISTRIBUTION_MIRROR,;/^metalink/d" -i $FILE
|
||||||
|
cat $FILE
|
||||||
done
|
done
|
||||||
|
@ -18,17 +18,9 @@
|
|||||||
"network-scripts": "wicked-service"
|
"network-scripts": "wicked-service"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"release": {
|
"distro": {
|
||||||
"fedora": {
|
"fedora": {
|
||||||
"29": {
|
"network-scripts": "network-scripts"
|
||||||
"network-scripts": "network-scripts"
|
|
||||||
},
|
|
||||||
"30": {
|
|
||||||
"network-scripts": "network-scripts"
|
|
||||||
},
|
|
||||||
"31": {
|
|
||||||
"network-scripts": "network-scripts"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"default": {
|
"default": {
|
||||||
|
@ -15,7 +15,7 @@ Distributions which are supported as a target for an image:
|
|||||||
|
|
||||||
- Centos 6, 7
|
- Centos 6, 7
|
||||||
- Debian 8 ("jessie")
|
- Debian 8 ("jessie")
|
||||||
- Fedora 30, 31
|
- Fedora 31, 32
|
||||||
- RHEL 6, 7
|
- RHEL 6, 7
|
||||||
- 16.04 ("xenial"), 18.04 ("bionic")
|
- 16.04 ("xenial"), 18.04 ("bionic")
|
||||||
- Gentoo
|
- Gentoo
|
||||||
|
4
releasenotes/notes/fedora32-9dfa4d9d4dcce1ff.yaml
Normal file
4
releasenotes/notes/fedora32-9dfa4d9d4dcce1ff.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The default for elements building Fedora is updated to Fedora 32
|
Loading…
Reference in New Issue
Block a user