debian-bootc-base-images/.gitlab-ci.yml
Colin Walters 585071ec6e Rename tier-x → minimal-plus
When we renamed tier-0 → minimal and tier-1 → standard, the
naming of tier-x became obsolete. Complete the nomenclature
update.

Closes: https://gitlab.com/fedora/bootc/base-images/-/issues/24
Signed-off-by: Colin Walters <walters@verbum.org>
2025-03-18 10:12:38 -04:00

35 lines
1.2 KiB
YAML

---
stages:
- build
variables:
PRIV_ARGS: "--security-opt=label=disable --cap-add=all --device /dev/fuse"
.build-image:
stage: build
image: quay.io/buildah/stable:v1.38.0
needs: []
build-minimal:
extends: .build-image
script: |
set -xeuo pipefail
buildah build -f Containerfile --no-cache -t localhost/fedora-bootc:minimal ${PRIV_ARGS} --build-arg=manifest=fedora-minimal .
cd tests/rootfs && buildah build -t localhost/test --from localhost/fedora-bootc:minimal
build-minimal-plus:
extends: .build-image
script: |
set -xeuo pipefail
buildah build -f Containerfile --no-cache -t localhost/fedora-bootc:minimal-plus ${PRIV_ARGS} --build-arg=manifest=fedora-minimal-plus .
cd tests/rootfs && buildah build -t localhost/test --from localhost/fedora-bootc:minimal-plus
standard-build-and-test:
extends: .build-image
script: |
set -xeuo pipefail
buildah build --no-cache -t localhost/fedora-bootc ${PRIV_ARGS} .
(cd tests/rootfs && buildah build -t localhost/test --from localhost/fedora-bootc)
cd tests
buildah build -f Containerfile.test-derive --no-cache -t localhost/fedora-bootc-derived ${PRIV_ARGS} .