Skip to content

Commit 10c15ce

Browse files
Add Ubuntu Jammy repository config
1 parent 898f0bc commit 10c15ce

File tree

7 files changed

+151
-11
lines changed

7 files changed

+151
-11
lines changed

etc/kayobe/apt.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ apt_keys:
4848
# (optional, default is unset)
4949
# Default is an empty list.
5050
stackhpc_apt_repositories:
51-
- url: "{{ stackhpc_repo_ubuntu_focal_url }}"
51+
- url: "{{ stackhpc_repo_ubuntu_focal_url if ansible_facts.distribution_release == 'focal' else stackhpc_repo_ubuntu_jammy_url }}"
5252
suites: "{{ ansible_facts.distribution_release }} {{ ansible_facts.distribution_release }}-updates {{ ansible_facts.distribution_release }}-backports"
5353
components: main restricted universe multiverse
5454
architecture: amd64
55-
- url: "{{ stackhpc_repo_ubuntu_focal_security_url }}"
55+
- url: "{{ stackhpc_repo_ubuntu_focal_security_url if ansible_facts.distribution_release == 'focal' else stackhpc_repo_ubuntu_jammy_security_url }}"
5656
suites: "{{ ansible_facts.distribution_release }}-security"
5757
components: main restricted universe multiverse
5858
architecture: amd64
@@ -63,12 +63,12 @@ stackhpc_apt_repositories:
6363
architecture: amd64
6464

6565
# Disable pulp apt repos on Ubuntu Jammy until they are published.
66-
apt_repositories: "{{ [] if ansible_facts['distribution_release'] == 'jammy' else stackhpc_apt_repositories }}"
66+
apt_repositories: "{{ stackhpc_apt_repositories }}"
6767

6868
# Whether to disable repositories in /etc/apt/sources.list. This may be used
6969
# when replacing the distribution repositories via apt_repositories.
7070
# Default is false.
71-
apt_disable_sources_list: "{{ ansible_facts['distribution_release'] != 'jammy' }}"
71+
apt_disable_sources_list: true
7272

7373
###############################################################################
7474
# Dummy variable to allow Ansible to accept this file.

etc/kayobe/environments/ci-aio/stackhpc-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ stackhpc_repo_treasuredata_4_version: "{{ stackhpc_pulp_repo_treasuredata_4_vers
4242
stackhpc_repo_ubuntu_cloud_archive_version: "{{ stackhpc_pulp_repo_ubuntu_cloud_archive_version }}"
4343
stackhpc_repo_ubuntu_focal_version: "{{ stackhpc_pulp_repo_ubuntu_focal_version }}"
4444
stackhpc_repo_ubuntu_focal_security_version: "{{ stackhpc_pulp_repo_ubuntu_focal_security_version }}"
45+
stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version }}"
46+
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
4547
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
4648
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
4749
stackhpc_repo_centos_stream_9_openstack_yoga_version: "{{ stackhpc_pulp_repo_centos_stream__openstack_yoga_version }}"

etc/kayobe/environments/ci-builder/stackhpc-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ stackhpc_repo_treasuredata_4_version: "{{ stackhpc_pulp_repo_treasuredata_4_vers
6666
stackhpc_repo_ubuntu_cloud_archive_version: "{{ stackhpc_pulp_repo_ubuntu_cloud_archive_version }}"
6767
stackhpc_repo_ubuntu_focal_version: "{{ stackhpc_pulp_repo_ubuntu_focal_version }}"
6868
stackhpc_repo_ubuntu_focal_security_version: "{{ stackhpc_pulp_repo_ubuntu_focal_security_version }}"
69+
stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version }}"
70+
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
6971
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
7072
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
7173
stackhpc_repo_centos_stream_9_openstack_yoga_version: "{{ stackhpc_pulp_repo_centos_stream_9_openstack_yoga_version }}"

etc/kayobe/environments/ci-multinode/stackhpc-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ stackhpc_repo_treasuredata_4_version: "{{ stackhpc_pulp_repo_treasuredata_4_vers
4242
stackhpc_repo_ubuntu_cloud_archive_version: "{{ stackhpc_pulp_repo_ubuntu_cloud_archive_version }}"
4343
stackhpc_repo_ubuntu_focal_version: "{{ stackhpc_pulp_repo_ubuntu_focal_version }}"
4444
stackhpc_repo_ubuntu_focal_security_version: "{{ stackhpc_pulp_repo_ubuntu_focal_security_version }}"
45+
stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version }}"
46+
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
4547
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
4648
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
4749
stackhpc_repo_centos_stream_9_openstack_yoga_version: "{{ stackhpc_pulp_repo_centos_stream_9_openstack_yoga_version }}"

etc/kayobe/pulp-repo-versions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,5 @@ stackhpc_pulp_repo_treasuredata_4_version: 20221105T035018
5353
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20230704T193136
5454
stackhpc_pulp_repo_ubuntu_focal_security_version: 20230704T193136
5555
stackhpc_pulp_repo_ubuntu_focal_version: 20230704T193136
56+
stackhpc_pulp_repo_ubuntu_jammy_security_version: 20230811T044829
57+
stackhpc_pulp_repo_ubuntu_jammy_version: 20230811T044829

etc/kayobe/pulp.yml

Lines changed: 131 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ stackhpc_pulp_sync_for_local_container_build: false
6363

6464
# Whether to sync Ubuntu packages.
6565
stackhpc_pulp_sync_ubuntu_focal: "{{ os_release == 'focal' }}"
66+
stackhpc_pulp_sync_ubuntu_jammy: "{{ os_release == 'jammy' }}"
6667

6768
stackhpc_pulp_repository_deb_repos:
6869
# Base Ubuntu Focal repositories
@@ -96,7 +97,7 @@ stackhpc_pulp_repository_deb_repos:
9697
state: present
9798
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
9899

99-
# Ubuntu Cloud Archive (UCA) repositories
100+
# Ubuntu Cloud Archive (UCA) Focal repositories
100101
- name: Ubuntu Cloud Archive
101102
url: "{{ stackhpc_release_pulp_content_url }}/ubuntu-cloud-archive/{{ stackhpc_pulp_repo_ubuntu_cloud_archive_version }}"
102103
remote_username: "{{ stackhpc_release_pulp_username }}"
@@ -112,7 +113,7 @@ stackhpc_pulp_repository_deb_repos:
112113
state: present
113114
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
114115

115-
# Third-party repositories
116+
# Third-party repositories for Focal
116117
- name: Docker CE for Ubuntu
117118
url: "{{ stackhpc_release_pulp_content_url }}/docker-ce/ubuntu/{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
118119
remote_username: "{{ stackhpc_release_pulp_username }}"
@@ -128,6 +129,69 @@ stackhpc_pulp_repository_deb_repos:
128129
state: present
129130
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
130131

132+
# Base Ubuntu Jammy repositories
133+
- name: Ubuntu jammy
134+
url: "{{ stackhpc_release_pulp_content_url }}/ubuntu/jammy/{{ stackhpc_pulp_repo_ubuntu_jammy_version }}"
135+
remote_username: "{{ stackhpc_release_pulp_username }}"
136+
remote_password: "{{ stackhpc_release_pulp_password }}"
137+
client_cert: ""
138+
client_key: ""
139+
policy: on_demand
140+
proxy_url: "{{ pulp_proxy_url }}"
141+
architectures: amd64
142+
components: main restricted universe multiverse
143+
distributions: jammy jammy-updates jammy-backports
144+
mirror: true
145+
state: present
146+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
147+
148+
- name: Ubuntu jammy security
149+
url: "{{ stackhpc_release_pulp_content_url }}/ubuntu/jammy-security/{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
150+
remote_username: "{{ stackhpc_release_pulp_username }}"
151+
remote_password: "{{ stackhpc_release_pulp_password }}"
152+
client_cert: ""
153+
client_key: ""
154+
policy: on_demand
155+
proxy_url: "{{ pulp_proxy_url }}"
156+
architectures: amd64
157+
components: main restricted universe multiverse
158+
distributions: jammy-security
159+
mirror: true
160+
state: present
161+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
162+
163+
# Ubuntu Cloud Archive (UCA) Jammy repositories
164+
- name: Ubuntu Cloud Archive
165+
url: "{{ stackhpc_release_pulp_content_url }}/ubuntu-cloud-archive/{{ stackhpc_pulp_repo_ubuntu_cloud_archive_version }}"
166+
remote_username: "{{ stackhpc_release_pulp_username }}"
167+
remote_password: "{{ stackhpc_release_pulp_password }}"
168+
client_cert: ""
169+
client_key: ""
170+
policy: on_demand
171+
proxy_url: "{{ pulp_proxy_url }}"
172+
architectures: amd64
173+
components: main
174+
distributions: "jammy-updates/{{ openstack_release }}"
175+
mirror: true
176+
state: present
177+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
178+
179+
# Third-party repositories for Jammy
180+
- name: Docker CE for Ubuntu
181+
url: "{{ stackhpc_release_pulp_content_url }}/docker-ce/ubuntu/{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
182+
remote_username: "{{ stackhpc_release_pulp_username }}"
183+
remote_password: "{{ stackhpc_release_pulp_password }}"
184+
client_cert: ""
185+
client_key: ""
186+
policy: on_demand
187+
proxy_url: "{{ pulp_proxy_url }}"
188+
architectures: amd64
189+
distributions: jammy
190+
components: stable
191+
mirror: true
192+
state: present
193+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
194+
131195
# Publication format is a subset of distribution.
132196
stackhpc_pulp_publication_deb_development: "{{ stackhpc_pulp_distribution_deb_development }}"
133197

@@ -150,22 +214,52 @@ stackhpc_pulp_distribution_deb_development:
150214
state: present
151215
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
152216

153-
# Ubuntu Cloud Archive (UCA) repositories
217+
# Ubuntu Cloud Archive (UCA) Focal repositories
154218
- name: "ubuntu-cloud-archive-development"
155219
repository: Ubuntu Cloud Archive
156220
base_path: "ubuntu-cloud-archive/development"
157221
mode: verbatim
158222
state: present
159223
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
160224

161-
# Third-party repositories
225+
# Third-party repositories for Focal
162226
- name: "docker-ce-for-ubuntu-development"
163227
repository: Docker CE for Ubuntu
164228
base_path: "docker-ce/ubuntu/development"
165229
mode: verbatim
166230
state: present
167231
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
168232

233+
# Base Ubuntu Jammy repositories
234+
- name: "ubuntu-jammy-development"
235+
repository: Ubuntu jammy
236+
base_path: "ubuntu/jammy/development"
237+
mode: verbatim
238+
state: present
239+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
240+
- name: "ubuntu-jammy-security-development"
241+
repository: Ubuntu jammy security
242+
base_path: "ubuntu/jammy-security/development"
243+
mode: verbatim
244+
state: present
245+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
246+
247+
# Ubuntu Cloud Archive (UCA) Jammy repositories
248+
- name: "ubuntu-cloud-archive-development"
249+
repository: Ubuntu Cloud Archive
250+
base_path: "ubuntu-cloud-archive/development"
251+
mode: verbatim
252+
state: present
253+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
254+
255+
# Third-party repositories for Jammy
256+
- name: "docker-ce-for-ubuntu-development"
257+
repository: Docker CE for Ubuntu
258+
base_path: "docker-ce/ubuntu/development"
259+
mode: verbatim
260+
state: present
261+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
262+
169263
# Development gets promoted to production.
170264
stackhpc_pulp_distribution_deb_production:
171265
# Base Ubuntu Focal repositories
@@ -182,21 +276,51 @@ stackhpc_pulp_distribution_deb_production:
182276
state: present
183277
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
184278

185-
# Ubuntu Cloud Archive (UCA) repositories
279+
# Ubuntu Cloud Archive (UCA) Focal repositories
186280
- name: "ubuntu-cloud-archive-production"
187281
repository: Ubuntu Cloud Archive
188282
base_path: "ubuntu-cloud-archive/production"
189283
mode: verbatim
190284
state: present
191285
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
192286

193-
# Third-party repositories
287+
# Third-party repositories for Focal
194288
- name: "docker-ce-for-ubuntu-production"
195289
repository: Docker CE for Ubuntu
196290
base_path: "docker-ce/ubuntu/production"
197291
mode: verbatim
198292
state: present
199-
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
293+
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"
294+
295+
# Base Ubuntu Jammy repositories
296+
- name: "ubuntu-jammy-production"
297+
repository: Ubuntu jammy
298+
base_path: "ubuntu/jammy/production"
299+
mode: verbatim
300+
state: present
301+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
302+
- name: "ubuntu-jammy-security-production"
303+
repository: Ubuntu jammy security
304+
base_path: "ubuntu/jammy-security/production"
305+
mode: verbatim
306+
state: present
307+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
308+
309+
# Ubuntu Cloud Archive (UCA) Jammy repositories
310+
- name: "ubuntu-cloud-archive-production"
311+
repository: Ubuntu Cloud Archive
312+
base_path: "ubuntu-cloud-archive/production"
313+
mode: verbatim
314+
state: present
315+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
316+
317+
# Third-party repositories for Jammy
318+
- name: "docker-ce-for-ubuntu-production"
319+
repository: Docker CE for Ubuntu
320+
base_path: "docker-ce/ubuntu/production"
321+
mode: verbatim
322+
state: present
323+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
200324

201325
###############################################################################
202326
# RPMs

etc/kayobe/stackhpc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ stackhpc_repo_ubuntu_focal_version: "{{ stackhpc_repo_distribution }}"
2222
stackhpc_repo_ubuntu_focal_security_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/ubuntu/focal-security/{{ stackhpc_repo_ubuntu_focal_security_version }}"
2323
stackhpc_repo_ubuntu_focal_security_version: "{{ stackhpc_repo_distribution }}"
2424

25+
# Ubuntu jammy
26+
stackhpc_repo_ubuntu_jammy_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/ubuntu/jammy/{{ stackhpc_repo_ubuntu_jammy_version }}"
27+
stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_repo_distribution }}"
28+
29+
# Ubuntu jammy security
30+
stackhpc_repo_ubuntu_jammy_security_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/ubuntu/jammy-security/{{ stackhpc_repo_ubuntu_jammy_security_version }}"
31+
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_repo_distribution }}"
32+
2533
# Ubuntu Cloud Archive
2634
stackhpc_repo_ubuntu_cloud_archive_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/ubuntu-cloud-archive/{{ stackhpc_repo_ubuntu_cloud_archive_version }}"
2735
stackhpc_repo_ubuntu_cloud_archive_version: "{{ stackhpc_repo_distribution }}"

0 commit comments

Comments
 (0)