Skip to content

Commit

Permalink
example/centos: use architecture in repos
Browse files Browse the repository at this point in the history
Repositories only differed by including the architecture in their URL.
Let's unify them.

Signed-off-by: Simon de Vlieger <[email protected]>
  • Loading branch information
supakeen committed Oct 3, 2024
1 parent 8401f1a commit 451e6d1
Show file tree
Hide file tree
Showing 24 changed files with 44 additions and 58 deletions.
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -37,7 +37,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
# https://github.com/osbuild/images/blob/v0.86.0/pkg/distro/rhel/rhel9/ami.go#L189
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-edge-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -36,7 +36,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- NetworkManager
Expand Down
6 changes: 3 additions & 3 deletions example/centos/centos-9-aarch64-image-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand Down Expand Up @@ -51,7 +51,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@core"
Expand Down Expand Up @@ -117,7 +117,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- aajohan-comfortaa-fonts
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-minimal-raw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -36,7 +36,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@core"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-qcow2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -37,7 +37,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@core"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-tar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -34,7 +34,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- selinux-policy-targeted
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-vhd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -38,7 +38,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@Server"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-wsl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -29,7 +29,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- alternatives
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-ppc64le-tar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -34,7 +34,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- selinux-policy-targeted
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-s390x-tar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -34,7 +34,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- selinux-policy-targeted
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -38,7 +38,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
# https://github.com/osbuild/images/blob/v0.86.0/pkg/distro/rhel/rhel9/ami.go#L189
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-edge-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -37,7 +37,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- NetworkManager
Expand Down
6 changes: 3 additions & 3 deletions example/centos/centos-9-x86_64-image-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand Down Expand Up @@ -55,7 +55,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@core"
Expand Down Expand Up @@ -123,7 +123,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- aajohan-comfortaa-fonts
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-minimal-raw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -36,7 +36,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@core"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-ova.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -39,7 +39,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@core"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-qcow2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -38,7 +38,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@core"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-tar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -34,7 +34,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- selinux-policy-targeted
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-vhd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -38,7 +38,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@Server"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-vmdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -37,7 +37,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- "@core"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-wsl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- coreutils
Expand All @@ -29,7 +29,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories/${architecture}.yaml"
otk.include: "common/repository/generic.yaml"
packages:
include:
- alternatives
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- id: "AppStream"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-aarch64-appstream-20240901"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-${architecture}-appstream-20240901"
- id: "BaseOS"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-aarch64-baseos-20240901"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-${architecture}-baseos-20240901"
4 changes: 0 additions & 4 deletions example/centos/common/repository/ppc64le.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions example/centos/common/repository/s390x.yaml

This file was deleted.

Loading

0 comments on commit 451e6d1

Please sign in to comment.