Use OpenDev mirrors for 8-stream CI builds

Change-Id: Ief335cf80fb5d796f6c31f6956e9bc5f790eca93
This commit is contained in:
Ian Wienand 2021-12-08 15:16:42 +11:00
parent 402a7fa2f9
commit 0bf80735a7
5 changed files with 28 additions and 0 deletions

View File

@ -1,2 +1,3 @@
block-device-efi
openstack-ci-mirrors
vm

View File

@ -1,2 +1,3 @@
block-device-efi
openstack-ci-mirrors
vm

View File

@ -39,6 +39,22 @@
- appstream.repo
- extras.repo
- name: Create centos-minimal 8-stream directory
file:
path: "{{ dib_gate_mirror_repos }}/centos-minimal/8-stream/yum.repos.d"
state: directory
mode: 0775
recurse: yes
- name: Install centos-minimal 8-stream repo files
template:
dest: "{{ dib_gate_mirror_repos }}/centos-minimal/8-stream/yum.repos.d/dib-mirror-{{ item }}"
mode: 0644
src: "centos-minimal/8-stream/{{ item }}.j2"
with_items:
- base.repo
- appstream.repo
- name: Create centos-minimal 9-stream directory
file:
path: "{{ dib_gate_mirror_repos }}/centos-minimal/9-stream/yum.repos.d"

View File

@ -0,0 +1,5 @@
[Stream-AppStream]
name=CentOS-Stream - AppStream
baseurl=https://{{ mirror_fqdn }}/centos/$releasever/AppStream/$basearch/os/
gpgcheck=0

View File

@ -0,0 +1,5 @@
[Stream-BaseOS]
name=CentOS-Stream - Base
baseurl=https://{{ mirror_fqdn }}/centos/$releasever/BaseOS/$basearch/os/
gpgcheck=0