Skip to content

Commit

Permalink
Update gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k authored and ondrejbudai committed Apr 16, 2024
1 parent 37816da commit e83a229
Showing 1 changed file with 164 additions and 0 deletions.
164 changes: 164 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,44 @@ generate-build-config-fedora-39-x86_64:
- .cache/osbuild-images


generate-build-config-fedora-40-aarch64:
stage: gen
extends: .terraform
variables:
RUNNER: aws/fedora-39-aarch64
INTERNAL_NETWORK: "true"
script:
- sudo ./test/scripts/setup-osbuild-repo
- sudo ./test/scripts/install-dependencies
- ./test/scripts/generate-build-config --distro fedora-40 --arch aarch64 build-config.yml
artifacts:
paths:
- build-config.yml
cache:
key: testcache
paths:
- .cache/osbuild-images


generate-build-config-fedora-40-x86_64:
stage: gen
extends: .terraform
variables:
RUNNER: aws/fedora-39-x86_64
INTERNAL_NETWORK: "true"
script:
- sudo ./test/scripts/setup-osbuild-repo
- sudo ./test/scripts/install-dependencies
- ./test/scripts/generate-build-config --distro fedora-40 --arch x86_64 build-config.yml
artifacts:
paths:
- build-config.yml
cache:
key: testcache
paths:
- .cache/osbuild-images


generate-build-config-rhel-10.0-aarch64:
stage: gen
extends: .terraform
Expand Down Expand Up @@ -879,6 +917,28 @@ image-build-trigger-fedora-39-x86_64:
- generate-build-config-fedora-39-x86_64


image-build-trigger-fedora-40-aarch64:
stage: build
trigger:
include:
- artifact: build-config.yml
job: generate-build-config-fedora-40-aarch64
strategy: depend
needs:
- generate-build-config-fedora-40-aarch64


image-build-trigger-fedora-40-x86_64:
stage: build
trigger:
include:
- artifact: build-config.yml
job: generate-build-config-fedora-40-x86_64
strategy: depend
needs:
- generate-build-config-fedora-40-x86_64


image-build-trigger-rhel-10.0-aarch64:
stage: build
trigger:
Expand Down Expand Up @@ -1395,6 +1455,50 @@ generate-ostree-build-config-fedora-39-x86_64:
- .cache/osbuild-images


generate-ostree-build-config-fedora-40-aarch64:
stage: ostree-gen
extends: .terraform
variables:
RUNNER: aws/fedora-39-aarch64
INTERNAL_NETWORK: "true"
script:
- sudo ./test/scripts/setup-osbuild-repo
- sudo ./test/scripts/install-dependencies
- ./test/scripts/generate-ostree-build-config --distro fedora-40 --arch aarch64 build-config.yml build-configs
artifacts:
paths:
- build-config.yml
- build-configs
needs:
- image-build-trigger-fedora-40-aarch64
cache:
key: testcache
paths:
- .cache/osbuild-images


generate-ostree-build-config-fedora-40-x86_64:
stage: ostree-gen
extends: .terraform
variables:
RUNNER: aws/fedora-39-x86_64
INTERNAL_NETWORK: "true"
script:
- sudo ./test/scripts/setup-osbuild-repo
- sudo ./test/scripts/install-dependencies
- ./test/scripts/generate-ostree-build-config --distro fedora-40 --arch x86_64 build-config.yml build-configs
artifacts:
paths:
- build-config.yml
- build-configs
needs:
- image-build-trigger-fedora-40-x86_64
cache:
key: testcache
paths:
- .cache/osbuild-images


generate-ostree-build-config-rhel-10.0-aarch64:
stage: ostree-gen
extends: .terraform
Expand Down Expand Up @@ -2098,6 +2202,28 @@ image-build-ostree-trigger-fedora-39-x86_64:
- generate-ostree-build-config-fedora-39-x86_64


image-build-ostree-trigger-fedora-40-aarch64:
stage: ostree-build
trigger:
include:
- artifact: build-config.yml
job: generate-ostree-build-config-fedora-40-aarch64
strategy: depend
needs:
- generate-ostree-build-config-fedora-40-aarch64


image-build-ostree-trigger-fedora-40-x86_64:
stage: ostree-build
trigger:
include:
- artifact: build-config.yml
job: generate-ostree-build-config-fedora-40-x86_64
strategy: depend
needs:
- generate-ostree-build-config-fedora-40-x86_64


image-build-ostree-trigger-rhel-10.0-aarch64:
stage: ostree-build
trigger:
Expand Down Expand Up @@ -2565,6 +2691,44 @@ generate-manifests-fedora-39-s390x:
done


generate-manifests-fedora-40-ppc64le:
stage: gen
extends: .terraform
variables:
RUNNER: aws/fedora-39-x86_64
INTERNAL_NETWORK: "true"
script:
- sudo ./test/scripts/setup-osbuild-repo
- sudo ./test/scripts/install-dependencies
- go run ./cmd/gen-manifests --arches ppc64le --distros fedora-40 --workers 10 --metadata=false --output ./manifests
- for manifest in ./manifests/*; do
if osbuild --inspect $manifest > output; then
echo "$manifest OK";
else
cat output;
fi;
done


generate-manifests-fedora-40-s390x:
stage: gen
extends: .terraform
variables:
RUNNER: aws/fedora-39-x86_64
INTERNAL_NETWORK: "true"
script:
- sudo ./test/scripts/setup-osbuild-repo
- sudo ./test/scripts/install-dependencies
- go run ./cmd/gen-manifests --arches s390x --distros fedora-40 --workers 10 --metadata=false --output ./manifests
- for manifest in ./manifests/*; do
if osbuild --inspect $manifest > output; then
echo "$manifest OK";
else
cat output;
fi;
done


generate-manifests-rhel-10.0-ppc64le:
stage: gen
extends: .terraform
Expand Down

0 comments on commit e83a229

Please sign in to comment.