
CentOS 7 reached EOL on 30th June 2024[1] and RHEL 7 ended its maintenance support 2 phase[2] the same date. This change removes the ablity to build images derived from these base images. The centos and centos-minimal elements now default to a DIB_RELEASE value of 9-stream. [1] https://www.redhat.com/en/topics/linux/centos-linux-eol [2] https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux/rhel-7-end-of-maintenance Change-Id: Ic50e08d9f84bbd319129be236d799eade5f40be8
54 lines
1.6 KiB
YAML
54 lines
1.6 KiB
YAML
- name: Set repo path
|
|
set_fact:
|
|
dib_gate_mirror_repos: "{{ ansible_user_dir }}/dib-mirror"
|
|
|
|
- debug: msg="zuul site mirror {{ zuul_site_mirror_fqdn }}"
|
|
- debug: msg="mirror_fqdn {{ mirror_fqdn }}"
|
|
|
|
- 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"
|
|
state: directory
|
|
mode: 0775
|
|
recurse: yes
|
|
|
|
- name: Install centos-minimal 9-stream repo files
|
|
template:
|
|
dest: "{{ dib_gate_mirror_repos }}/centos-minimal/9-stream/yum.repos.d/dib-mirror-{{ item }}"
|
|
mode: 0644
|
|
src: "centos-minimal/9-stream/{{ item }}.j2"
|
|
with_items:
|
|
- base.repo
|
|
- appstream.repo
|
|
|
|
- name: Create openeuler-minimal 22.03-LTS directory
|
|
file:
|
|
path: "{{ dib_gate_mirror_repos }}/openeuler-minimal/22.03-LTS/yum.repos.d"
|
|
state: directory
|
|
mode: 0775
|
|
recurse: yes
|
|
|
|
- name: Install openeuler-minimal 22.03-LTS repo files
|
|
template:
|
|
dest: "{{ dib_gate_mirror_repos }}/openeuler-minimal/22.03-LTS/yum.repos.d/dib-mirror-{{ item }}"
|
|
mode: 0644
|
|
src: "openeuler-minimal/22.03-LTS/{{ item }}.j2"
|
|
with_items:
|
|
- openEuler.repo
|