Skip to content

Commit 6e01104

Browse files
authored
Merge pull request #472 from stackhpc/split-vars
Split rpm/deb vars into different files
2 parents 8536699 + c10417a commit 6e01104

3 files changed

Lines changed: 970 additions & 970 deletions

File tree

Lines changed: 272 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,272 @@
1+
---
2+
###############################################################################
3+
# Deb package repository configuration.
4+
5+
# List of Deb package repositories.
6+
# Each item is a dict with the following items:
7+
# name: Repository name.
8+
# url: URL of upstream package mirror.
9+
# policy: Policy for upstream remote. Optional.
10+
# architectures: Architectures to sync.
11+
# components: Components to sync.
12+
# distributions: Distributions to sync.
13+
# mirror: If True, synchronization will remove all content that is not present
14+
# in the remote repository. If False, sync will be additive only.
15+
# Optional, default is true.
16+
# mode: Publication mode.
17+
# base_path: Base path prefix for distributions.
18+
# short_name: Name used internally for variable names.
19+
# sync_group: Repos with the same group will be synced at the same time
20+
# distribution_name: Name prefix for distributions. Version will be appended.
21+
# sync: Whether to sync the repository with a remote. Optional, default is true.
22+
# publish: Whether to publish and distribute the repository. Optional, default is true.
23+
deb_package_repos:
24+
# Ubuntu Cloud Archive (UCA)
25+
- name: Ubuntu Cloud Archive
26+
url: http://ubuntu-cloud.archive.canonical.com/ubuntu
27+
policy: immediate
28+
architectures: amd64
29+
components: main
30+
distributions: jammy-updates/caracal noble-updates/epoxy
31+
mirror: true
32+
mode: verbatim
33+
base_path: ubuntu-cloud-archive/
34+
short_name: ubuntu_cloud_archive
35+
sync_group: ubuntu_cloud_archive
36+
distribution_name: ubuntu-cloud-archive-
37+
38+
# Base Ubuntu Jammy 22.04 repositories
39+
- name: Ubuntu jammy
40+
url: http://archive.ubuntu.com/ubuntu
41+
policy: immediate
42+
architectures: amd64
43+
components: main restricted universe multiverse
44+
# NOTE: Include jammy-security here to include all dists under one mirror
45+
# path. This allows us to include security updates when using
46+
# DIB_DISTRIBUTION_MIRROR with the Diskimage builder ubuntu-minimal
47+
# element.
48+
distributions: jammy jammy-updates jammy-backports jammy-security
49+
mirror: true
50+
mode: verbatim
51+
base_path: ubuntu/jammy/
52+
short_name: ubuntu_jammy
53+
sync_group: ubuntu_jammy
54+
distribution_name: ubuntu-jammy-
55+
56+
# https://wiki.ubuntu.com/SecurityTeam/FAQ suggests that security.ubuntu.com
57+
# is preferable for security updates, so use this in preference to the
58+
# jammy-security dist in the main Ubuntu jammy repository where possible.
59+
- name: Ubuntu jammy security
60+
url: http://security.ubuntu.com/ubuntu
61+
policy: immediate
62+
architectures: amd64
63+
components: main restricted universe multiverse
64+
distributions: jammy-security
65+
mirror: true
66+
mode: verbatim
67+
base_path: ubuntu/jammy-security/
68+
short_name: ubuntu_jammy_security
69+
sync_group: ubuntu_jammy
70+
distribution_name: ubuntu-jammy-security-
71+
72+
# Base Ubuntu Noble 24.04 repositories
73+
- name: Ubuntu Noble
74+
url: http://archive.ubuntu.com/ubuntu
75+
policy: immediate
76+
architectures: amd64
77+
components: main restricted universe multiverse
78+
# NOTE: Include noble-security here to include all dists under one mirror
79+
# path. This allows us to include security updates when using
80+
# DIB_DISTRIBUTION_MIRROR with the Diskimage builder ubuntu-minimal
81+
# element.
82+
distributions: noble noble-updates noble-backports noble-security
83+
mirror: true
84+
mode: verbatim
85+
base_path: ubuntu/noble/
86+
short_name: ubuntu_noble
87+
sync_group: ubuntu_noble
88+
distribution_name: ubuntu-noble-
89+
90+
# https://wiki.ubuntu.com/SecurityTeam/FAQ suggests that security.ubuntu.com
91+
# is preferable for security updates, so use this in preference to the
92+
# noble-security dist in the main Ubuntu noble repository where possible.
93+
- name: Ubuntu Noble security
94+
url: http://security.ubuntu.com/ubuntu
95+
policy: immediate
96+
architectures: amd64
97+
components: main restricted universe multiverse
98+
distributions: noble-security
99+
mirror: true
100+
mode: verbatim
101+
base_path: ubuntu/noble-security/
102+
short_name: ubuntu_noble_security
103+
sync_group: ubuntu_noble
104+
distribution_name: ubuntu-noble-security-
105+
106+
# security.ubuntu.com does not hold arm64 packages, so no dedicated repository
107+
# for security updates. Fetch from the main instead.
108+
- name: Ubuntu Noble ARM64
109+
url: http://ports.ubuntu.com/ubuntu-ports
110+
policy: immediate
111+
architectures: arm64
112+
components: main restricted universe multiverse
113+
distributions: noble noble-updates noble-backports noble-security
114+
mirror: true
115+
mode: verbatim
116+
base_path: ubuntu-ports/noble/
117+
short_name: ubuntu_noble_arm64
118+
sync_group: ubuntu_noble_arm64
119+
distribution_name: ubuntu-noble-arm64-
120+
121+
# Third-party repositories
122+
123+
## Separate repositories for each distribution because
124+
## https://github.com/pulp/pulp_deb/issues/921
125+
- name: Docker CE for Ubuntu Jammy
126+
url: https://download.docker.com/linux/ubuntu
127+
policy: immediate
128+
architectures: amd64
129+
distributions: jammy
130+
components: stable
131+
mirror: true
132+
mode: verbatim
133+
base_path: docker-ce/ubuntu-jammy/
134+
short_name: docker_ce_ubuntu_jammy
135+
sync_group: docker
136+
distribution_name: docker-ce-for-ubuntu-jammy-
137+
138+
- name: Docker CE for Ubuntu Noble
139+
url: https://download.docker.com/linux/ubuntu
140+
policy: immediate
141+
architectures: amd64 arm64
142+
distributions: noble
143+
components: stable
144+
mirror: true
145+
mode: verbatim
146+
base_path: docker-ce/ubuntu-noble/
147+
short_name: docker_ce_ubuntu_noble
148+
sync_group: docker
149+
distribution_name: docker-ce-for-ubuntu-noble-
150+
151+
# Standard Apt mirrors do not contain cephadm Reef, only Quincy
152+
- name: Ceph Reef for Debian
153+
url: https://download.ceph.com/debian-reef/
154+
policy: immediate
155+
architectures: amd64
156+
distributions: jammy
157+
components: main
158+
mirror: true
159+
mode: verbatim
160+
base_path: ceph/debian-reef/
161+
short_name: ceph_reef_debian
162+
sync_group: third_party
163+
distribution_name: ceph-reef-debian-
164+
165+
# TreasureData 5 for Ubuntu Noble
166+
- name: TreasureData5 for Ubuntu Noble
167+
url: https://packages.treasuredata.com/lts/5/ubuntu/noble/
168+
base_path: treasuredata/lts/5/ubuntu/noble/
169+
short_name: ubuntu_noble_treasuredata_5
170+
sync_group: third_party
171+
distribution_name: ubuntu-noble-treasuredata-5-
172+
# RabbitMQ - Erlang for Ubuntu Noble
173+
- name: RabbitMQ - Erlang - Ubuntu Noble
174+
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
175+
distributions: noble
176+
components: "main"
177+
# mirror_complete fails with:
178+
# "This repository uses features which are incompatible with 'mirror' sync. Please sync without mirroring enabled"
179+
sync_policy: mirror_content_only
180+
base_path: rabbitmq/erlang/ubuntu/noble/x86_64/
181+
short_name: ubuntu_noble_rabbitmq_erlang
182+
sync_group: third_party
183+
distribution_name: ubuntu-noble-rabbitmq-erlang-
184+
# RabbitMQ for Ubuntu Noble
185+
- name: RabbitMQ - Server - Ubuntu Noble
186+
url: https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble
187+
distributions: noble
188+
# mirror_complete fails with:
189+
# "This repository uses features which are incompatible with 'mirror' sync. Please sync without mirroring enabled"
190+
sync_policy: mirror_content_only
191+
base_path: rabbitmq/rabbitmq-server/ubuntu/noble/noarch/
192+
short_name: ubuntu_noble_rabbitmq_server
193+
sync_group: third_party
194+
distribution_name: ubuntu-noble-rabbitmq-server-
195+
# InfluxDB for Ubuntu Jammy
196+
- name: InfluxDB - Ubuntu Jammy
197+
url: https://repos.influxdata.com/ubuntu
198+
distributions: jammy
199+
components: stable
200+
base_path: influxdb/ubuntu/jammy/x86_64/stable/
201+
short_name: ubuntu_jammy_influxdb
202+
sync_group: third_party
203+
distribution_name: influxdb-ubuntu-jammy-
204+
# MariaDB 10.11 for Ubuntu Noble
205+
- name: MariaDB 10.11 - Ubuntu Noble
206+
url: https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu
207+
distributions: noble
208+
components: main
209+
architectures: amd64
210+
base_path: mariadb-server/10.11/repo/ubuntu/
211+
short_name: ubuntu_noble_mariadb_10_11
212+
sync_group: third_party
213+
distribution_name: mariadb-10.11-ubuntu-noble-
214+
# MariaDB 10.11.11 for Ubuntu Noble
215+
- name: MariaDB 10.11.11 - Ubuntu Noble
216+
url: https://dlm.mariadb.com/repo/mariadb-server/10.11.11/repo/ubuntu
217+
distributions: noble
218+
components: main
219+
architectures: amd64
220+
base_path: mariadb-server/mariadb-10.11.11/repo/ubuntu/
221+
short_name: ubuntu_noble_mariadb_10_11_11
222+
sync_group: third_party
223+
distribution_name: mariadb-10.11.11-ubuntu-noble-
224+
# Grafana for Ubuntu Noble
225+
- name: Grafana - Ubuntu Noble
226+
url: https://apt.grafana.com
227+
policy: immediate
228+
distributions: stable
229+
components: main
230+
base_path: grafana/oss/apt/
231+
short_name: ubuntu_noble_grafana
232+
sync_group: grafana
233+
distribution_name: ubuntu-noble-grafana-
234+
# OpenSearch for Ubuntu Noble
235+
- name: OpenSearch - Ubuntu Noble
236+
url: https://artifacts.opensearch.org/releases/bundle/opensearch/3.x/apt
237+
policy: immediate
238+
architectures: amd64
239+
distributions: stable
240+
components: main
241+
base_path: opensearch/3.x/apt/
242+
short_name: ubuntu_noble_opensearch
243+
sync_group: third_party
244+
distribution_name: ubuntu-noble-opensearch-
245+
# OpenSearch Dashboards for Ubuntu Noble
246+
- name: OpenSearch Dashboards - Ubuntu Noble
247+
url: https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/3.x/apt
248+
policy: immediate
249+
architectures: amd64
250+
distributions: stable
251+
components: main
252+
base_path: opensearch-dashboards/3.x/apt/
253+
short_name: ubuntu_noble_opensearch_dashboards
254+
sync_group: third_party
255+
distribution_name: ubuntu-noble-opensearch-dashboards-
256+
# ProxySQL for Ubuntu Noble
257+
- name: ProxySQL - Ubuntu Noble
258+
url: https://repo.proxysql.com/ProxySQL
259+
policy: immediate
260+
architectures: amd64
261+
distributions: noble
262+
components: main
263+
base_path: ProxySQL/proxysql-3.0.x/noble/
264+
short_name: ubuntu_noble_proxysql
265+
sync_group: third_party
266+
distribution_name: ubuntu-noble-proxysql-
267+
268+
# Default filter string for Deb package repositories.
269+
deb_package_repo_filter: ""
270+
271+
# List of package repositories after applying filter.
272+
deb_package_repos_filtered: "{{ deb_package_repos | select_repos(deb_package_repo_filter, package_sync_group) }}"

0 commit comments

Comments
 (0)