The prow/validate job does some various whitespace checks and was complaining about these so I guess I'll try to make it happy: ``` [+] Found files with whitespace at the end of line ./fedora-coreos-config/fedora-bootc/.gitlab-ci.yml ./fedora-coreos-config/fedora-bootc/bootc-base-imagectl.md ./fedora-coreos-config/fedora-bootc/fedora-iot.yaml ./fedora-coreos-config/fedora-bootc/iot/manifest.yaml [+] Found files with missing empty line at end of file ./fedora-coreos-config/fedora-bootc/bootc-base-imagectl ./fedora-coreos-config/fedora-bootc/fedora-iot.yaml ./fedora-coreos-config/fedora-bootc/iot/manifest.yaml ```
35 lines
1.1 KiB
YAML
35 lines
1.1 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} .
|