Skip to content

Commit 3461168

Browse files
committed
wip! distro/eln: create definitions
This is a straight import of the RHEL-10 definitions but split out to use the recently introduced idiom of having a `_shared.yaml` and the ability to have multiple YAML files containing image types. This gives us slightly nicer organisation. Also define repositories for the distribution and regenerate CI configuration. Next commits iterate on the definitions to make things nicer but this initial import generates the checksums so that follow-ups show which manifests change. A few things are directly addressed here as I've encountered them; so we can produce the initial checksums: - Drop use of `platform-python` in the ELN-11 buildroot. - Use new names for IWL firmware packages. - `dnf-plugins-core` instead of `(dnf|yum)-utils`. There's also a few things I've temporarily disabled: - Comment out `redhat-release-eula`; this one is interesting and we might re-enable it when provided by `fedora-eln-release`? - Comment out `dnf-plugins-core`. It's not available in ELN at the moment but might be reinstated? - Comment out `ftp`. It's not available in ELN at the moment but might be reinstated? Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
1 parent b6e8db6 commit 3461168

85 files changed

Lines changed: 2548 additions & 27 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitlab-ci.yml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,36 @@ fail:
115115
- build-config.yml
116116

117117

118+
"generate-build-config: [eln-11, aarch64]":
119+
stage: gen
120+
extends: .terraform
121+
variables:
122+
RUNNER: aws/fedora-42-aarch64
123+
INTERNAL_NETWORK: "true"
124+
script:
125+
- sudo ./test/scripts/setup-osbuild-repo
126+
- sudo ./test/scripts/install-dependencies
127+
- ./test/scripts/generate-build-config --distro eln-11 --arch aarch64 build-config.yml
128+
artifacts:
129+
paths:
130+
- build-config.yml
131+
132+
133+
"generate-build-config: [eln-11, x86_64]":
134+
stage: gen
135+
extends: .terraform
136+
variables:
137+
RUNNER: aws/fedora-42-x86_64
138+
INTERNAL_NETWORK: "true"
139+
script:
140+
- sudo ./test/scripts/setup-osbuild-repo
141+
- sudo ./test/scripts/install-dependencies
142+
- ./test/scripts/generate-build-config --distro eln-11 --arch x86_64 build-config.yml
143+
artifacts:
144+
paths:
145+
- build-config.yml
146+
147+
118148
"generate-build-config: [fedora-42, aarch64]":
119149
stage: gen
120150
extends: .terraform
@@ -743,6 +773,28 @@ fail:
743773
- "generate-build-config: [centos-9, x86_64]"
744774

745775

776+
"image-build-trigger: [eln-11, aarch64]":
777+
stage: build
778+
trigger:
779+
include:
780+
- artifact: build-config.yml
781+
job: "generate-build-config: [eln-11, aarch64]"
782+
strategy: depend
783+
needs:
784+
- "generate-build-config: [eln-11, aarch64]"
785+
786+
787+
"image-build-trigger: [eln-11, x86_64]":
788+
stage: build
789+
trigger:
790+
include:
791+
- artifact: build-config.yml
792+
job: "generate-build-config: [eln-11, x86_64]"
793+
strategy: depend
794+
needs:
795+
- "generate-build-config: [eln-11, x86_64]"
796+
797+
746798
"image-build-trigger: [fedora-42, aarch64]":
747799
stage: build
748800
trigger:
@@ -2177,6 +2229,46 @@ fail:
21772229
done
21782230

21792231

2232+
"generate-manifests: [eln-11, ppc64le]":
2233+
stage: gen
2234+
extends: .terraform
2235+
variables:
2236+
RUNNER: aws/fedora-42-x86_64
2237+
INTERNAL_NETWORK: "true"
2238+
script:
2239+
- sudo ./test/scripts/setup-osbuild-repo
2240+
- sudo ./test/scripts/install-dependencies
2241+
- echo "GOPROXY=$GOPROXY"
2242+
- go run ./cmd/gen-manifests --arches ppc64le --distros eln-11 --workers 10 --metadata=false --output ./manifests
2243+
- for manifest in ./manifests/*; do
2244+
if osbuild --inspect $manifest > output; then
2245+
echo "$manifest OK";
2246+
else
2247+
cat output;
2248+
fi;
2249+
done
2250+
2251+
2252+
"generate-manifests: [eln-11, s390x]":
2253+
stage: gen
2254+
extends: .terraform
2255+
variables:
2256+
RUNNER: aws/fedora-42-x86_64
2257+
INTERNAL_NETWORK: "true"
2258+
script:
2259+
- sudo ./test/scripts/setup-osbuild-repo
2260+
- sudo ./test/scripts/install-dependencies
2261+
- echo "GOPROXY=$GOPROXY"
2262+
- go run ./cmd/gen-manifests --arches s390x --distros eln-11 --workers 10 --metadata=false --output ./manifests
2263+
- for manifest in ./manifests/*; do
2264+
if osbuild --inspect $manifest > output; then
2265+
echo "$manifest OK";
2266+
else
2267+
cat output;
2268+
fi;
2269+
done
2270+
2271+
21802272
"generate-manifests: [fedora-42, ppc64le]":
21812273
stage: gen
21822274
extends: .terraform

0 commit comments

Comments
 (0)