Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions etc/kayobe/pulp-repo-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ stackhpc_pulp_repo_treasuredata_4_version: 20220429T160649
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20220804T040153
stackhpc_pulp_repo_ubuntu_focal_security_version: 20220804T040153
stackhpc_pulp_repo_ubuntu_focal_version: 20220804T040153
stackhpc_pulp_repo_rocky_8_6_appstream_version: "20220606T111205"
stackhpc_pulp_repo_rocky_8_6_baseos_version: "20220606T111205"
stackhpc_pulp_repo_rocky_8_6_extras_version: "20220606T111205"
stackhpc_pulp_repo_rocky_8_6_nfv_version: "20220606T111205"
stackhpc_pulp_repo_rocky_8_6_powertools_version: "20220606T111205"
129 changes: 120 additions & 9 deletions etc/kayobe/pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,21 @@ stackhpc_pulp_distribution_deb_production:
# Whether to sync CentOS Stream 8 packages.
stackhpc_pulp_sync_centos_stream8: "{{ os_distribution == 'centos' }}"

# Whether to sync Rocky Linux 8 packages.
stackhpc_pulp_sync_rocky_8: "{{ os_distribution == 'rocky' }}"
# Rocky 8 minor version number. Supported values: 6.
stackhpc_pulp_repo_rocky_8_minor_version: 6
# Rocky 8 Snapshot versions. The defaults use the appropriate version from
# pulp-repo-versions.yml for the selected minor release.
stackhpc_pulp_repo_rocky_8_appstream_version: "{{ lookup('vars', 'stackhpc_pulp_repo_rocky_8_%s_appstream_version' % stackhpc_pulp_repo_rocky_8_minor_version) }}"
stackhpc_pulp_repo_rocky_8_baseos_version: "{{ lookup('vars', 'stackhpc_pulp_repo_rocky_8_%s_baseos_version' % stackhpc_pulp_repo_rocky_8_minor_version) }}"
stackhpc_pulp_repo_rocky_8_extras_version: "{{ lookup('vars', 'stackhpc_pulp_repo_rocky_8_%s_extras_version' % stackhpc_pulp_repo_rocky_8_minor_version) }}"
stackhpc_pulp_repo_rocky_8_nfv_version: "{{ lookup('vars', 'stackhpc_pulp_repo_rocky_8_%s_nfv_version' % stackhpc_pulp_repo_rocky_8_minor_version) }}"
stackhpc_pulp_repo_rocky_8_powertools_version: "{{ lookup('vars', 'stackhpc_pulp_repo_rocky_8_%s_powertools_version' % stackhpc_pulp_repo_rocky_8_minor_version) }}"

# Whether to sync packages common to all RHEL derivatives.
stackhpc_pulp_sync_el_8: "{{ stackhpc_pulp_sync_rocky_8 or stackhpc_pulp_sync_centos_stream8 }}"

stackhpc_pulp_repository_rpm_repos:
# Base CentOS 8 Stream repositories
- name: CentOS Stream 8 - AppStream
Expand Down Expand Up @@ -194,6 +209,48 @@ stackhpc_pulp_repository_rpm_repos:
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"

# Base Rocky 8 repositories
- name: Rocky Linux 8 - AppStream
url: "{{ stackhpc_release_pulp_content_url }}/rocky/8.{{ stackhpc_pulp_repo_rocky_8_minor_version }}/AppStream/x86_64/os/{{ stackhpc_pulp_repo_rocky_8_appstream_version }}"
client_cert: "{{ stackhpc_release_pulp_client_cert }}"
client_key: "{{ stackhpc_release_pulp_client_key }}"
policy: on_demand
sync_policy: mirror_complete
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: Rocky Linux 8 - BaseOS
url: "{{ stackhpc_release_pulp_content_url }}/rocky/8.{{ stackhpc_pulp_repo_rocky_8_minor_version }}/BaseOS/x86_64/os/{{ stackhpc_pulp_repo_rocky_8_baseos_version }}"
client_cert: "{{ stackhpc_release_pulp_client_cert }}"
client_key: "{{ stackhpc_release_pulp_client_key }}"
policy: on_demand
sync_policy: mirror_complete
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: Rocky Linux 8 - Extras
url: "{{ stackhpc_release_pulp_content_url }}/rocky/8.{{ stackhpc_pulp_repo_rocky_8_minor_version }}/extras/x86_64/os/{{ stackhpc_pulp_repo_rocky_8_extras_version }}"
client_cert: "{{ stackhpc_release_pulp_client_cert }}"
client_key: "{{ stackhpc_release_pulp_client_key }}"
policy: on_demand
sync_policy: mirror_complete
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: Rocky Linux 8 - NFV
url: "{{ stackhpc_release_pulp_content_url }}/rocky/8.{{ stackhpc_pulp_repo_rocky_8_minor_version }}/nfv/x86_64/os/{{ stackhpc_pulp_repo_rocky_8_nfv_version }}"
client_cert: "{{ stackhpc_release_pulp_client_cert }}"
client_key: "{{ stackhpc_release_pulp_client_key }}"
policy: on_demand
sync_policy: mirror_complete
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: Rocky Linux 8 - PowerTools
url: "{{ stackhpc_release_pulp_content_url }}/rocky/8.{{ stackhpc_pulp_repo_rocky_8_minor_version }}/PowerTools/x86_64/os/{{ stackhpc_pulp_repo_rocky_8_6_powertools_version }}"
client_cert: "{{ stackhpc_release_pulp_client_cert }}"
client_key: "{{ stackhpc_release_pulp_client_key }}"
policy: on_demand
sync_policy: mirror_complete
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"

# EPEL repositories
- name: Extra Packages for Enterprise Linux 8 - x86_64
url: "{{ stackhpc_release_pulp_content_url }}/epel/8/Everything/x86_64/{{ stackhpc_pulp_repo_epel_version }}"
Expand All @@ -202,15 +259,15 @@ stackhpc_pulp_repository_rpm_repos:
policy: on_demand
sync_policy: mirror_content_only
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 | bool }}"
- name: Extra Packages for Enterprise Linux Modular 8 - x86_64
url: "{{ stackhpc_release_pulp_content_url }}/epel/8/Modular/x86_64/{{ stackhpc_pulp_repo_epel_modular_version }}"
client_cert: "{{ stackhpc_release_pulp_client_cert }}"
client_key: "{{ stackhpc_release_pulp_client_key }}"
policy: on_demand
sync_policy: mirror_complete
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 | bool }}"

# Third-party repositories
- name: Docker CE for CentOS 8
Expand All @@ -220,7 +277,7 @@ stackhpc_pulp_repository_rpm_repos:
policy: on_demand
sync_policy: mirror_complete
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 }}"

# Publication format is a subset of distribution.
stackhpc_pulp_publication_rpm_development: "{{ stackhpc_pulp_distribution_rpm_development }}"
Expand All @@ -247,24 +304,51 @@ stackhpc_pulp_distribution_rpm_development:
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"

# Base Rocky 8 repositories
- name: "rocky-8-appstream-development"
repository: Rocky Linux 8 - AppStream
base_path: "rocky/8/AppStream/x86_64/os/development"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: "rocky-8-baseos-development"
repository: Rocky Linux 8 - BaseOS
base_path: "rocky/8/BaseOS/x86_64/os/development"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: "rocky-8-extras-development"
repository: Rocky Linux 8 - Extras
base_path: "rocky/8/extras/x86_64/os/development"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: "rocky-8-nfv-development"
repository: Rocky Linux 8 - NFV
base_path: "rocky/8/nfv/x86_64/os/development"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: "rocky-powertools-development"
repository: Rocky Linux 8 - PowerTools
base_path: "rocky/8/PowerTools/x86_64/os/development"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"

# EPEL repositories
- name: "extra-packages-for-enterprise-linux-8-x86_64-development"
repository: Extra Packages for Enterprise Linux 8 - x86_64
base_path: "epel/8/Everything/x86_64/development"
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 | bool }}"
- name: "extra-packages-for-enterprise-linux-modular-8-x86_64-development"
repository: Extra Packages for Enterprise Linux Modular 8 - x86_64
base_path: "epel/8/Modular/x86_64/development"
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 | bool }}"

# Third-party repositories
- name: "docker-ce-for-centos-8-development"
repository: Docker CE for CentOS 8
base_path: "docker-ce/centos/8/x86_64/stable/development"
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 | bool }}"

# Development gets promoted to production.
stackhpc_pulp_distribution_rpm_production:
Expand All @@ -285,24 +369,51 @@ stackhpc_pulp_distribution_rpm_production:
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"

# Base Rocky 8 repositories
- name: "rocky-8-appstream-production"
distribution: "rocky-8-appstream-development"
base_path: "rocky/8/AppStream/x86_64/os/production"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: "rocky-8-baseos-production"
distribution: "rocky-8-baseos-development"
base_path: "rocky/8/BaseOS/x86_64/os/production"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: "rocky-8-extras-production"
distribution: "rocky-8-extras-development"
base_path: "rocky/8/extras/x86_64/os/production"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: "rocky-8-nfv-production"
distribution: "rocky-8-nfv-development"
base_path: "rocky/8/nfv/x86_64/os/production"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"
- name: "rocky-8-powertools-production"
distribution: "rocky-8-powertools-development"
base_path: "rocky/8/PowerTools/x86_64/os/production"
state: present
required: "{{ stackhpc_pulp_sync_rocky_8 | bool }}"

# EPEL repositories
- name: "extra-packages-for-enterprise-linux-8-x86_64-production"
base_path: "epel/8/Everything/x86_64/production"
distribution: "extra-packages-for-enterprise-linux-8-x86_64-development"
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 | bool }}"
- name: "extra-packages-for-enterprise-linux-modular-8-x86_64-production"
base_path: "epel/8/Modular/x86_64/production"
distribution: "extra-packages-for-enterprise-linux-modular-8-x86_64-development"
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 | bool }}"

# Third-party repositories
- name: "docker-ce-for-centos-8-production"
base_path: "docker-ce/centos/8/x86_64/stable/production"
distribution: "docker-ce-for-centos-8-development"
state: present
required: "{{ stackhpc_pulp_sync_centos_stream8 | bool }}"
required: "{{ stackhpc_pulp_sync_el_8 | bool }}"

###############################################################################
# Containers
Expand Down