Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ed8d85a
Create bootc-image-builder directory in the repo root
achilleas-k Jun 25, 2026
56c0531
Move bootc-image-builder tests under the new directory
achilleas-k Jun 25, 2026
f5cf8bf
test/install-dependencies: add new test dependencies
achilleas-k Jun 25, 2026
f191e2b
bootc-image-builder/test: update container build fixtures
achilleas-k Jun 26, 2026
2805eb9
bootc-image-builder/test: isort all test scripts
achilleas-k Jun 26, 2026
b1c3f2f
bootc-image-builder: copy README from old repository
achilleas-k Jun 26, 2026
30bd0a3
test: move vmtest under imgtestlib as .vm
achilleas-k Jun 26, 2026
1918330
test: flatten vm submodule under imgtestlib
achilleas-k Jun 26, 2026
a3913a7
Make imgtestlib importable by bootc-image-builder tests
achilleas-k Jun 26, 2026
ea3b446
test/install-dependencies: drop the pip install
achilleas-k Jun 26, 2026
76c7c3f
test: drop -p from nc command
achilleas-k Jun 26, 2026
b05b7a3
github: run pylint on the whole project
achilleas-k Jun 26, 2026
96e3a3c
imgtestlib: don't use star imports in __init__.py
achilleas-k Jul 8, 2026
50a65c6
github: pytest only ./test
achilleas-k Jun 26, 2026
5064cf7
test/install-dependencies: add bootc-image-builder test deps
achilleas-k Jun 26, 2026
371ebc2
bootc-image-builder/test: drop memory limits from podman run calls
achilleas-k Jun 26, 2026
55af735
bootc-image-builder: disable boot tests for now
achilleas-k Jun 26, 2026
4a5d330
bootc-image-builder: base upstream container on Fedora 44
achilleas-k Jul 6, 2026
c99fb72
bootc-image-builder: test newer bootc containers
achilleas-k Jul 6, 2026
737fbfc
bootc-image-builder: disable anaconda-iso tests
achilleas-k Jul 6, 2026
c89144c
bootc-image-builder: skip local registry for disk images
achilleas-k Jul 7, 2026
4d58a77
gitlab: run a simple bootc-image-builder test in CI
achilleas-k Jun 26, 2026
cf2ea01
bootc-image-builder: fix typos and link in README
achilleas-k Jul 9, 2026
4723d32
imgtestlib: add new function for getting list of items in an S3 prefix
achilleas-k Jul 9, 2026
0be37d3
test/generate-ostree-build-config: find container filename in prefix
achilleas-k Jul 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ jobs:

- name: Testing imgtestlib and test scripts
run: |
python3 -m pytest -v -k "not images_integration"
python3 -m pytest -v -k "not images_integration" ./test

python-lint:
name: "🐍 Lint (test scripts)"
Expand All @@ -263,12 +263,11 @@ jobs:
- name: Install build and test dependencies
run: |
./test/scripts/install-dependencies
dnf -y install python3-pylint

- name: Analysing the code with pylint
run: |
python3 -m pylint --version
python3 -m pylint $(grep -l "/usr/bin/env python3" -r test/scripts) test/scripts/*.py
pylint --version
pylint --recursive=y .

yaml-checks:
name: "YAML checks"
Expand Down
22 changes: 22 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,28 @@ fail:
needs:
- "generate-build-config: [rhel-9.9, x86_64]"


"bootc-image-builder [x86_64]":
stage: gen
extends: .terraform
variables:
RUNNER: aws/fedora-44-x86_64
script:
- sudo ./test/scripts/install-dependencies
- sudo mkdir -pv /var/tmp/bootc-image-builder-tests
- sudo -E XDG_RUNTIME_DIR= PYTHONPATH=. pytest -vv --setup-show --basetemp=/var/tmp/bootc-image-builder-tests ./bootc-image-builder/test/test_build_disk.py::test_image_is_generated


"bootc-image-builder [aarch64]":
stage: gen
extends: .terraform
variables:
RUNNER: aws/fedora-44-aarch64
script:
- sudo ./test/scripts/install-dependencies
- sudo mkdir -pv /var/tmp/bootc-image-builder-tests
- sudo -E XDG_RUNTIME_DIR= PYTHONPATH=. pytest -vv --setup-show --basetemp=/var/tmp/bootc-image-builder-tests ./bootc-image-builder/test/test_build_disk.py::test_image_is_generated

"generate-ostree-build-config: [centos-9, aarch64]":
stage: ostree-gen
extends: .terraform
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.fedoraproject.org/fedora:43 AS builder
FROM registry.fedoraproject.org/fedora:44 AS builder
RUN dnf install -y git-core golang gpgme-devel libassuan-devel libvirt-devel && mkdir -p /build/bib
COPY go.mod go.sum /build/bib/
RUN cd /build/bib && go mod download
Expand All @@ -9,7 +9,7 @@ WORKDIR /build
# keep in sync with main Containerfile, this was part of bib:build.sh
RUN make build

FROM registry.fedoraproject.org/fedora:43
FROM registry.fedoraproject.org/fedora:44
# Fast-track osbuild so we don't depend on the "slow" Fedora release process to implement new features in bib
RUN dnf install -y dnf-plugins-core \
&& dnf copr enable -y @osbuild/osbuild \
Expand All @@ -18,6 +18,7 @@ RUN dnf install -y dnf-plugins-core \

# copy as bootc-image-builder
COPY --from=builder /build/bin/image-builder /usr/bin/bootc-image-builder
COPY ./data/distrodefs/ /usr/share/bootc-image-builder/defs/

ENTRYPOINT ["/usr/bin/bootc-image-builder"]
VOLUME /output
Expand All @@ -29,5 +30,5 @@ VOLUME /var/lib/containers/storage
LABEL description="This tools allows to build and deploy disk-images from bootc container inputs."
LABEL io.k8s.description="This tools allows to build and deploy disk-images from bootc container inputs."
LABEL io.k8s.display-name="Bootc Image Builder"
LABEL io.openshift.tags="base fedora43"
LABEL io.openshift.tags="base fedora44"
LABEL summary="A container to create disk-images from bootc container inputs"
Loading
Loading