Update to Fedora 29

Update builds to Fedora 29.  Remove the openstack gate CI mirror
workaround for pre-28 versions as they're not building in the gate any
more.

Change-Id: Ia6a8ae8d66d69f6add39e571043328e7274ba26c
This commit is contained in:
Ian Wienand 2018-11-16 14:50:08 +11:00 committed by Noam Angel
parent f0a8476509
commit 5085f23fdf
7 changed files with 11 additions and 30 deletions

View File

@ -1,2 +1,2 @@
export DISTRO_NAME=fedora export DISTRO_NAME=fedora
export DIB_RELEASE=${DIB_RELEASE:-28} export DIB_RELEASE=${DIB_RELEASE:-29}

View File

@ -1,5 +1,5 @@
export DISTRO_NAME=fedora export DISTRO_NAME=fedora
export DIB_RELEASE=${DIB_RELEASE:-28} export DIB_RELEASE=${DIB_RELEASE:-29}
# 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
@ -11,10 +11,10 @@ export DIB_RELEASE=${DIB_RELEASE:-28}
# #
# [1] https://lists.fedoraproject.org/archives/list/cloud@lists.fedoraproject.org/thread/2WFO2FKIGUQYRQXIR35UVJGRHF7LQENJ/ # [1] https://lists.fedoraproject.org/archives/list/cloud@lists.fedoraproject.org/thread/2WFO2FKIGUQYRQXIR35UVJGRHF7LQENJ/
if [[ ${DIB_RELEASE} == '27' ]]; then if [[ ${DIB_RELEASE} == '28' ]]; then
export DIB_FEDORA_SUBRELEASE=1.6
elif [[ ${DIB_RELEASE} == '28' ]]; then
export DIB_FEDORA_SUBRELEASE=1.1 export DIB_FEDORA_SUBRELEASE=1.1
elif [[ ${DIB_RELEASE} == '29' ]]; then
export DIB_FEDORA_SUBRELEASE=1.2
else else
echo "Unsupported Fedora release" echo "Unsupported Fedora release"
exit 1 exit 1

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 27, 28 - Fedora 28, 29
- 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 27, 28 - Fedora 28, 29
- RHEL 6, 7 - RHEL 6, 7
- Ubuntu 12.04 ("precise"), 14.04 ("trusty") - Ubuntu 12.04 ("precise"), 14.04 ("trusty")
- Gentoo - Gentoo

View File

@ -28,9 +28,10 @@
state: directory state: directory
mode: 0775 mode: 0775
recurse: yes recurse: yes
# sometimes Fedora moves things and we need different versions; keep
# the loops for future use.
with_items: with_items:
- default - default
- '28'
- name: Install fedora-minimal repo files - name: Install fedora-minimal repo files
template: template:
@ -38,5 +39,5 @@
mode: 0644 mode: 0644
src: "fedora-minimal/{{ item[0] }}/{{ item[1] }}.j2" src: "fedora-minimal/{{ item[0] }}/{{ item[1] }}.j2"
with_nested: with_nested:
- [ 'default', '28' ] - [ 'default' ]
- [ 'fedora.repo', 'fedora-updates.repo' ] - [ 'fedora.repo', 'fedora-updates.repo' ]

View File

@ -1,10 +0,0 @@
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://{{ mirror_fqdn }}/fedora/updates/$releasever/Everything/$basearch/
enabled=1
gpgcheck=0
metadata_expire=6h
skip_if_unavailable=False
deltarpm=False
deltarpm_percentage=0

View File

@ -1,10 +0,0 @@
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://{{ mirror_fqdn }}/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1
metadata_expire=7d
gpgcheck=0
skip_if_unavailable=False
deltarpm=False
deltarpm_percentage=0

View File

@ -1,7 +1,7 @@
[updates] [updates]
name=Fedora $releasever - $basearch - Updates name=Fedora $releasever - $basearch - Updates
failovermethod=priority failovermethod=priority
baseurl=http://{{ mirror_fqdn }}/fedora/updates/$releasever/$basearch/ baseurl=http://{{ mirror_fqdn }}/fedora/updates/$releasever/Everything/$basearch/
enabled=1 enabled=1
gpgcheck=0 gpgcheck=0
metadata_expire=6h metadata_expire=6h