Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
254 commits
Select commit Hold shift + click to select a range
e488533
test: add full integration test for bp files/dirs
mvo5 Feb 18, 2025
2b849c2
chore(deps): update konflux references
red-hat-konflux[bot] Mar 1, 2025
e3be218
Do not trigger push pipeline if only tekton files are updated
lmilbaum Dec 15, 2024
24ffc3a
Update README.md
estuart Oct 13, 2024
84bbc0e
Add Aurora Helium to definitions
imbev Mar 11, 2025
77f5e55
bib: update toml lib to v1.5.0
mvo5 Mar 20, 2025
c4c3470
Revert "buildconfig: disable tests for undecoded keys for now"
mvo5 Mar 20, 2025
7dd9bea
main: switch to librepo by default
mvo5 Feb 17, 2025
f2c16ad
Reapply "buildconfig: disable tests for undecoded keys for now"
mvo5 Mar 28, 2025
8bd5b39
go.mod: update osbuild/images to v0.129.0
achilleas-k Mar 26, 2025
d096fcd
test: import build_container_fixture as _
achilleas-k Mar 27, 2025
b3f6981
test: update tests to look for mount units and not fstab
achilleas-k Mar 26, 2025
e8a018d
imports: get from image-builder
supakeen Mar 31, 2025
ed98bea
README: Create missing output directory in example
pamolloy Feb 28, 2025
a68518a
bib: add experimental flag `debug-qemu-user`
mvo5 Mar 31, 2025
1c3d2da
build(deps): bump golangci/golangci-lint-action from 6 to 7
dependabot[bot] Apr 7, 2025
6a795b4
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Apr 8, 2025
805abea
github: bump ubuntu runners to 24.04
achilleas-k Apr 8, 2025
b75d03b
bib: use the new github.com/osbuild/blueprint
mvo5 Mar 26, 2025
462c545
Revert "Reapply "buildconfig: disable tests for undecoded keys for now""
mvo5 Apr 8, 2025
e849640
test: convert test_manifest_disk_customization_lvm to TOML
mvo5 Apr 8, 2025
fc0593b
build(deps): bump github.com/osbuild/blueprint
dependabot[bot] Apr 11, 2025
fad1e69
build(deps): bump sclorg/testing-farm-as-github-action from 3 to 4
dependabot[bot] Apr 14, 2025
4d57ffa
test: enable `osinfo_for()` centos10
mvo5 Apr 28, 2025
c53bca9
source: add `OSRelease.IDLike` support
mvo5 Apr 25, 2025
ea517bf
image: set `UseRHELLoraxTemplates` only on rhel/centos/eln
mvo5 Apr 25, 2025
84200d3
test: split test_build.py into test_build_{disk,iso}
mvo5 Apr 29, 2025
63bab78
workflow: run pytests via matrix to get more parallel runs
mvo5 Apr 29, 2025
70d63cc
test: fix missing testutil.pull_container() in test_progress.py
mvo5 Apr 29, 2025
ecaaa37
github: bump golangci-lint version
schuellerf Apr 9, 2025
70637cf
Makefile,github: implement `make lint` and centralize GOLANGCI_LINT_V…
schuellerf Apr 10, 2025
349926d
bib: fix linter problems
schuellerf Apr 10, 2025
52627da
Makefile: include running go tests in `make test`
schuellerf Apr 10, 2025
53d6131
bib/cmd/bootc-image-builder: check error of file.Close() when writing
schuellerf Apr 10, 2025
82d7169
test: update test_mount_ostree_error
mvo5 Apr 30, 2025
2757f4e
build(deps): bump golangci/golangci-lint-action from 7 to 8
dependabot[bot] May 5, 2025
36a0f11
test: split cross-arch test into its own file
mvo5 Apr 30, 2025
07e8bf7
Makefile: bump version of golang-ci to 2.1.6
mvo5 May 5, 2025
c6b14f0
source: make PLATFORM_ID in /etc/os-release optional
mvo5 May 6, 2025
ccac118
test: update testcases for fedora42/fedora43
mvo5 May 6, 2025
c8315dc
main: drop rootfs cross-arch disable
supakeen May 7, 2025
94fb1c5
image: set ISOBoot to Grub2ISOBoot for x86_64
pastalian May 9, 2025
4a9c165
go.mod: update osbuild/images to v0.145.0
achilleas-k May 14, 2025
9fb07fe
bib/data/defs: add prefixdevname to Anaconda package list
achilleas-k May 15, 2025
6b606d2
test: set the cache-ttl to 1h in our tests
mvo5 May 7, 2025
e0348c1
container: fedora 42
supakeen May 7, 2025
66049b5
many: update container to 42
supakeen May 8, 2025
d2fa385
test: disable `fedora-43` bootc test for now
mvo5 May 21, 2025
7014b10
buildconfig: Export LoadConfig() helper
alexlarsson May 20, 2025
1617d1f
source: Support loading embedded customization file
alexlarsson May 20, 2025
2443a17
source: Add unit test for loading embedded customizations
alexlarsson May 21, 2025
6dafa01
image: Apply disk or filesystem customization from embedded image cus…
alexlarsson May 20, 2025
bb7951f
test_manifest: Add test for embedded disk and filesystem customization
alexlarsson May 20, 2025
e6b89b4
README: Mention the ability to embed disk customizations
alexlarsson May 21, 2025
ec71131
tests: Avoid running into docker.io rate limits
alexlarsson May 21, 2025
3bd606d
imports: Bump osbuild/images to 0.147 and osbuild/blueprint to 1.7.0
alexlarsson May 21, 2025
c89561a
bib: Update to new osbuild-image arch.FromString() API
alexlarsson May 15, 2025
ba98e1b
bib: Extract what SELinux policy to us from container
alexlarsson May 8, 2025
5bae3b6
bib: Add --build-container to run the build in a custom container
alexlarsson May 9, 2025
44e794a
image: Always enable verity on the rootfs partition
alexlarsson May 14, 2025
e13139a
build(deps): bump the go-deps group in /bib with 2 updates
dependabot[bot] May 27, 2025
06843e2
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] May 28, 2025
f41cfaf
build(deps): bump the go-deps group in /bib with 2 updates
dependabot[bot] Jun 3, 2025
06c0fd4
Clarify we build disk images
cgwalters May 27, 2025
a2d5162
bib: tweak architecture setting in tests
mvo5 Jun 5, 2025
8a77db1
test: re-enable Fedora43 test
mvo5 Jun 3, 2025
e5f4fb5
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Jun 11, 2025
01e9edc
Add Universal Blue distribution definitions
LorbusChris Jun 10, 2025
fbb1972
defs: move definitions
supakeen Jun 14, 2025
4297b22
GHA: enable the stale action to delete its saved state
thozza Jun 18, 2025
44b3666
README: Add containers-storage volume mount to examples
travier Jun 2, 2025
1ba7d43
README: Misc whitespace fix
travier Jun 2, 2025
ed78740
bib: fix `TestManifestSerialization` tests
mvo5 Jun 17, 2025
e37bb83
test: disable anaconda-iso C10S test for now
mvo5 Jun 23, 2025
1cb887d
test: Add test of --build-container
alexlarsson May 26, 2025
a37c5c3
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Jun 25, 2025
53fee53
Revert "test: disable anaconda-iso C10S test for now"
mvo5 Jun 24, 2025
e718822
chore(deps): update go-openapi packages
red-hat-konflux[bot] Apr 13, 2025
9d96f48
chore(deps): update module github.com/go-logr/logr to v1.4.3
red-hat-konflux[bot] Jun 15, 2025
838e1ff
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Jun 27, 2025
7074516
chore(deps): update google.golang.org/genproto/googleapis/rpc digest …
red-hat-konflux[bot] Jun 29, 2025
6bddfa5
github: bump fedora version in testingfarm workflows
mvo5 Jul 4, 2025
5e0f716
test: use randomized password for test VMs
mvo5 Jun 7, 2025
f1a047c
Fix indentation in README.md
kubealex Jul 9, 2025
7b1fa2f
build(deps): bump the go-deps group across 1 directory with 2 updates
dependabot[bot] Jul 14, 2025
9c43220
test: skip the test_image_build_without_se_linux_denials
mvo5 Jul 4, 2025
e9183bc
plan: add `osbuild-{lvm2,ostree}` to tmt test
mvo5 Jul 4, 2025
861ce61
test: enable `OSBUILD_EXPERIMENTAL=debug-qemu-user`
mvo5 Jul 4, 2025
36a88cf
Containerfile: fix io.openshift.tags
mvo5 Jul 4, 2025
5c4376f
plans: disable the aws upload test
mvo5 Jul 14, 2025
9e96476
go.mod: update to the latest version of "images"
mvo5 Jul 14, 2025
0d0fd23
image: update bib for latest images
mvo5 Jul 8, 2025
0140cab
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Jul 16, 2025
f203eb3
chore(deps): update konflux references
red-hat-konflux[bot] Jul 12, 2025
59f5cb2
build(deps): bump github.com/spf13/pflag in /bib in the go-deps group
dependabot[bot] Jul 17, 2025
6a04608
Add Fedora 42 as a link to Fedora 40
May 21, 2025
3bb0d28
Use rootfs when generating ISO
May 21, 2025
c187d2d
bib: update "images" library to latest version
mvo5 Jul 11, 2025
3addfe3
bib: replace internal/{buildconfig,container,source} with images
mvo5 Jul 11, 2025
a63cde5
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Jul 21, 2025
705d069
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Jul 29, 2025
f880ac9
github: publish upstream container to ghcr
achilleas-k Jul 29, 2025
15d53f5
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Jul 30, 2025
3233d4f
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Jul 31, 2025
7786514
go.mod: update osbuild/blueprint to v1.11.0
achilleas-k Aug 1, 2025
d43ee73
test: add manifest test for partition table type
achilleas-k Aug 1, 2025
e5a3379
feat: add support for RISC-V architecture in disk image and partition…
imguoguo Jun 17, 2025
93793db
test: disable centos9 iso test for now because kernel panic
mvo5 Aug 21, 2025
fd8eebe
bib: simplify extractTLSKeys()
mvo5 Aug 20, 2025
b2a18aa
go.mod: update images to v0.177
mvo5 Aug 20, 2025
96ccef3
image: update blueprint import path
mvo5 Aug 20, 2025
7de3e8b
main: update for v0.177 API changes
mvo5 Aug 20, 2025
4cc5b96
bib: enable anaconda Module{Network,Payload,Runtime,Storage}
mvo5 Aug 20, 2025
2da427a
upload: update for awscloud API change
mvo5 Aug 20, 2025
99dade5
build(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 25, 2025
542557e
test: re-enable the fedora 42 iso test
mvo5 Aug 25, 2025
3c842b2
test: update test_iso_manifest_smoke to include rootfs
mvo5 Aug 25, 2025
f01168c
bib: fix AWS upload with empty target-arch
mvo5 Aug 25, 2025
80cccd2
go.mod: update for images v0.179.0
mvo5 Aug 25, 2025
e9bc321
bib: move bib to new platform.Data{}
mvo5 Aug 25, 2025
63a91ef
build(deps): bump the go-deps group across 1 directory with 2 updates
dependabot[bot] Aug 27, 2025
6461a64
build(deps): bump github.com/stretchr/testify
dependabot[bot] Aug 28, 2025
3598602
Write boot partition for aboot images
alexlarsson Aug 21, 2025
bee702b
Add test for aboot support
alexlarsson Aug 27, 2025
015f05f
go.mod: update to v0.183.0
mvo5 Sep 3, 2025
37bd6e7
bib: update to the images v0.183.0 API changes
mvo5 Sep 3, 2025
77724c4
github: add CODEOWNERS
achilleas-k Sep 3, 2025
ed1de07
fix(deps): update github.com/osbuild/image-builder-cli digest to 481a120
red-hat-konflux[bot] Sep 7, 2025
a57fb96
chore(deps): update google.golang.org/genproto/googleapis/api digest …
red-hat-konflux[bot] Sep 7, 2025
5f5e1af
chore(deps): update aws-sdk-go-v2 monorepo
red-hat-konflux[bot] Sep 7, 2025
9886d7a
many: switch to use manifests from the "images" library
mvo5 Aug 5, 2025
e0e7bb8
test: update architecutre mismatch error string
mvo5 Aug 7, 2025
02161d8
bib: remove partition_table.go -> moved to images
mvo5 Aug 27, 2025
29f07f5
bib: drop tests that moved to "images/pkg/distro/bootc"
mvo5 Aug 27, 2025
1d8b225
bib: update to images v0.186.0
mvo5 Sep 5, 2025
9294d12
test: update test for new `/usr/lib/bootc-image-builder/disk.yaml`
mvo5 Sep 5, 2025
29771e5
test: remove roots home customizations for ISOs
mvo5 Sep 5, 2025
206dba5
build(deps): bump the go-deps group across 1 directory with 3 updates
dependabot[bot] Sep 10, 2025
b0d6c74
build(deps): bump github.com/spf13/pflag in /bib in the go-deps group
dependabot[bot] Sep 11, 2025
deb1d35
test: disable cross arch test for now
mvo5 Sep 19, 2025
3efa47f
test: run df with --all
mvo5 Sep 16, 2025
36c6042
deps: images 0.191.0
supakeen Sep 16, 2025
f82aff9
test: tweak error message for new images error
mvo5 Sep 16, 2025
7cbd50d
bib: move helpers into util.go
mvo5 Sep 29, 2025
e114f85
main: put ISO/disk code into proper functions
mvo5 Sep 29, 2025
92ac06b
main: move legacy ISO code into legacy_iso.go
mvo5 Sep 29, 2025
893a283
imagetypes: mark rpm based ISOs as `legacy`
mvo5 Sep 29, 2025
4935f49
Revert "test: disable centos9 iso test for now because kernel panic"
mvo5 Aug 21, 2025
29e4572
bib: update to images version v0.197.0
mvo5 Sep 25, 2025
ec32997
test: update invalid cross arch test error msg
mvo5 Sep 26, 2025
b315a23
go.mod: update to v201
mvo5 Oct 6, 2025
c281050
legacy_iso: update lorax handling for images PR#1886
mvo5 Oct 6, 2025
39fa223
go.mod: update to images version v0.202.0
mvo5 Oct 6, 2025
217cb6d
build(deps): bump github.com/osbuild/blueprint
dependabot[bot] Oct 6, 2025
36586dd
Add manifest for Rocky Linux 9 and 10
Rexus Sep 28, 2025
f08d0ed
deps: bump images to 0.203.0
supakeen Oct 7, 2025
7326a3d
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Oct 10, 2025
cce2b81
iso: inhibit `gpt-auto`
supakeen Oct 13, 2025
5e5ba4e
chore(deps): update google.golang.org/genproto/googleapis/api digest …
red-hat-konflux[bot] Oct 10, 2025
c440677
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Oct 14, 2025
5ada69e
chore(deps): update konflux references
red-hat-konflux[bot] Oct 18, 2025
3b33b8e
deps: update images to 0.207.0
supakeen Oct 20, 2025
3d6d3ea
iso: images compatibility
supakeen Oct 20, 2025
044e25f
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Oct 22, 2025
5418cb1
build(deps): bump github.com/osbuild/images in /bib in the go-deps group
dependabot[bot] Oct 23, 2025
a478489
chore(deps): update google.golang.org/genproto/googleapis/api digest …
red-hat-konflux[bot] Oct 22, 2025
c0604b1
Revert "iso: inhibit `gpt-auto`"
supakeen Oct 14, 2025
9c18abb
fix(deps): update golang.org/x/exp digest to a4bb9ff
red-hat-konflux[bot] Oct 24, 2025
ce517a5
chore(deps): replace redhat-appstudio-tekton-catalog references
red-hat-konflux[bot] Oct 25, 2025
29eaa41
github: use pr.user.login to determine PR author
achilleas-k Oct 27, 2025
b415a4f
bib: expose new `ova` image type in bib
mvo5 Oct 7, 2025
bdd34ad
chore(deps): update google.golang.org/genproto/googleapis/rpc digest …
red-hat-konflux[bot] Oct 27, 2025
074707b
chore(deps): update module github.com/containers/image/v5 to v5.36.2
red-hat-konflux[bot] Oct 25, 2025
b57be10
chore(deps): update module github.com/klauspost/compress to v1.18.1
red-hat-konflux[bot] Oct 27, 2025
bb9db42
chore(deps): update module github.com/aws/smithy-go to v1.23.1
red-hat-konflux[bot] Oct 28, 2025
8c0ddd3
chore(deps): update module github.com/containers/common to v0.64.2
red-hat-konflux[bot] Oct 28, 2025
6a6cd92
main: add regression test for aws upload target arch error
mvo5 Aug 27, 2025
4c4288e
chore(deps): update module github.com/mattn/go-runewidth to v0.0.19
red-hat-konflux[bot] Oct 31, 2025
bdf32f4
deps: switch yaml libraries
supakeen Oct 27, 2025
37c30f4
chore(deps): update module github.com/google/go-containerregistry to …
red-hat-konflux[bot] Oct 31, 2025
a8e8ad7
chore(deps): update module github.com/secure-systems-lab/go-securesys…
red-hat-konflux[bot] Oct 31, 2025
573e057
go.mod: move to images v0.211.0
mvo5 Oct 29, 2025
dc170b8
bib: update for v0.211 api change
mvo5 Oct 29, 2025
2d6d125
bib: add support for `--type bootc-installer`
mvo5 Oct 29, 2025
ddb9e6c
test: fix missing wait() when killing qemu
mvo5 Sep 25, 2025
c106f0c
test: add bootc-installer image type test
mvo5 Sep 25, 2025
c3c5a85
test: refactor so that all vm related tests can be reused
mvo5 Nov 5, 2025
d6a8f4e
build(deps): bump golangci/golangci-lint-action from 8 to 9
dependabot[bot] Nov 10, 2025
93c9046
vmtest: switch from rtl8139 to e1000 to avoid silly warnings
mvo5 Nov 10, 2025
e4ec05a
pyproject: add missing depedencies
mvo5 Nov 8, 2025
2f48dac
vmtest: implement scp on VM
mvo5 Nov 8, 2025
d3eebf6
vmtest: move qmp socket out of the image dir into /tmp
mvo5 Nov 8, 2025
2323850
chore(deps): update module github.com/proglottis/gpgme to v0.1.5
red-hat-konflux[bot] Nov 4, 2025
76cdade
chore(deps): update aws-sdk-go-v2 monorepo
red-hat-konflux[bot] Nov 11, 2025
e4a265c
chore(deps): update module github.com/containerd/stargz-snapshotter/e…
red-hat-konflux[bot] Nov 6, 2025
2634c70
chore(deps): update module github.com/docker/go-connections to v0.6.0
red-hat-konflux[bot] Oct 31, 2025
00d1b67
chore(deps): update module github.com/go-jose/go-jose/v4 to v4.1.3
red-hat-konflux[bot] Oct 31, 2025
bae8621
chore(deps): update module github.com/opencontainers/runtime-spec to …
red-hat-konflux[bot] Nov 4, 2025
fe2f211
chore(deps): update module github.com/mistifyio/go-zfs/v3 to v3.1.0
red-hat-konflux[bot] Oct 31, 2025
9796a11
build(deps): bump actions/setup-python from 5 to 6
dependabot[bot] Sep 8, 2025
6d9e06a
chore(deps): update module github.com/sigstore/fulcio to v1.8.1
red-hat-konflux[bot] Nov 12, 2025
11a8b37
chore(deps): update github.com/burntsushi/toml digest to 011fa2b
red-hat-konflux[bot] Nov 12, 2025
aaa2006
vmtest: auto load all paramiko keys
mvo5 Nov 13, 2025
f594d1c
pyproject: move to a more modern paramiko
mvo5 Nov 13, 2025
e73f978
chore(deps): update module github.com/docker/docker-credential-helper…
red-hat-konflux[bot] Nov 12, 2025
6523604
chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.3.0
red-hat-konflux[bot] Nov 13, 2025
2d62bcb
github: use gobump to update Go dependencies
achilleas-k Nov 14, 2025
3b347b1
go.mod: update to v0.220.0
mvo5 Nov 18, 2025
ecc9443
bib: update for latest image release
mvo5 Nov 13, 2025
d25da07
main: show validation warnings by default
mvo5 Nov 13, 2025
d7c2d65
bib: drop unused workload.go
mvo5 Nov 18, 2025
b20891f
bib: simplify saveManifest()
mvo5 Nov 18, 2025
f4895ae
vm: drop paramiko
mvo5 Nov 18, 2025
f10206c
vmtest: add new _ensure_ssh() that will retry 3x to login
mvo5 Nov 20, 2025
f46d6a5
build(deps): bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
f145d5b
go.mod: move to images v0.226.0
mvo5 Nov 25, 2025
4c57425
test: use vmtest from images
mvo5 Nov 21, 2025
afe45e7
test: port to improve vmtest.vm.run() code
mvo5 Nov 24, 2025
17f7917
Fix: correct symlink
PizzaLovingNerd Nov 26, 2025
dc8bd6a
Konflux build pipeline service account migration
shi2wei3 Dec 2, 2025
866f05b
README: capitalise TOML
achilleas-k Dec 11, 2025
e19791c
README: minor rephrase and fix for anaconda-iso description
achilleas-k Dec 11, 2025
7741b12
README: link to the blueprint repo and user guide
achilleas-k Dec 11, 2025
92a5e34
deps: bump images to 0.231.0
supakeen Jan 8, 2026
c83efed
chore: fix constructor
supakeen Jan 8, 2026
0781de9
go.mod: update osbuild/blueprint dependency to v1.22.0
rszabi Jan 14, 2026
2a1871c
Bump to latest version of image-builder-cli
alexlarsson Jan 27, 2026
92491e5
Remove test_progress_term_autoselect test
alexlarsson Jan 27, 2026
2a18724
bc-i-b: Add --in-vm option
alexlarsson Jan 27, 2026
a56bd7c
Add qemu packages to container as needed for --in-vm
alexlarsson Jan 27, 2026
410e3c7
Support root-less containers with --in-vm
alexlarsson Jan 29, 2026
9834ae0
Update osbuild/images and osbuild/image-builder-cli to make rootless …
alexlarsson Feb 12, 2026
968c5bd
cicd: replace non-functional gobump workflow
lzap Jan 27, 2026
0dd9d6f
build(deps): bump actions/checkout from 4 to 6
dependabot[bot] Feb 23, 2026
561bf2c
test: bump ISO tests timeout
lzap Mar 5, 2026
611c7b8
deps: bump images to 0.246.0
supakeen Feb 25, 2026
8f1ea7c
bib: use `BootcBuildInfo`
supakeen Feb 25, 2026
d30c695
bib: wire up `--no-default-kernel-args`
supakeen Feb 25, 2026
5b2ef48
ci/testing-farm: increase memory
supakeen Mar 3, 2026
6b7fcee
Add support for bootc pxe type
jlsherrill Mar 6, 2026
ee18461
add bootc manifest test
jlsherrill Feb 25, 2026
b4dc466
readme: document `--in-vm`
supakeen Mar 20, 2026
77bc76f
deps: bump images to 0.251.0
supakeen Mar 24, 2026
6237ed6
readme: bootc-installer
supakeen Mar 24, 2026
2cc5e95
build(deps): bump actions/cache from 4 to 5
dependabot[bot] Mar 31, 2026
1c81232
deps: bump grpc to 1.79.3
avitova Apr 20, 2026
4eec024
ci/testing-farm: add git into packages
avitova Apr 21, 2026
67c1d61
deps: bump gojose to 4.1.4
avitova Apr 21, 2026
9c52ad3
ci/testing-farm: replace paramiko with sshpass
avitova Apr 27, 2026
515c112
ci: build on PRs of all branches
avitova Apr 28, 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
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence.
* @osbuild/osbuild-reviewers

13 changes: 0 additions & 13 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,3 @@ updates:
time: "04:00"
open-pull-requests-limit: 5
rebase-strategy: "disabled"

# Maintain dependencies for Go
- package-ecosystem: "gomod"
directory: "/bib"
schedule:
interval: "daily"
time: "04:00"
groups:
go-deps:
patterns:
- "*" # group all dependency updates into one PR
open-pull-requests-limit: 1
rebase-strategy: "auto"
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions: write-all
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
Expand Down
27 changes: 25 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,49 @@ name: Build containers

on:
pull_request:
branches: [main]
branches:
- main
- rhel-*
workflow_dispatch:
# for merge queue
merge_group:
push:
branches: [main]

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

permissions:
contents: read
packages: write

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Build image
uses: redhat-actions/buildah-build@v2
with:
image: ${{ env.IMAGE_NAME }}
tags: "latest"
containerfiles: Containerfile

- name: Log in to the Container registry
if: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'push') && github.ref == 'refs/heads/main' }}
uses: redhat-actions/podman-login@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push to GitHub Container Repository
if: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'push') && github.ref == 'refs/heads/main' }}
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ env.IMAGE_NAME }}
tags: "latest"
registry: ${{ env.REGISTRY }}
57 changes: 57 additions & 0 deletions .github/workflows/gobump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: "Updates Go dependencies"

on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
- cron: "0 15 * * 2"

jobs:
update-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Extract Go version from go.mod
id: go-version
run: |
VERSION=$(grep '^go ' bib/go.mod | awk '{print $2}')
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-version.outputs.version }}
cache-dependency-path: bib/go.sum

- name: Update go.mod and open a PR
env:
GH_TOKEN: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}
run: |
pushd bib/
echo '```' > /tmp/go.log
go get -u ./... 2>&1 | tee -a /tmp/go.log
go mod tidy 2>&1 | tee -a /tmp/go.log
echo '```' >> /tmp/go.log
popd

if git diff --exit-code; then
echo "No changes"
exit 0
fi

git config user.name "schutzbot"
git config user.email "schutzbot@gmail.com"

branch="schutz-gobump-$(date +%Y-%m-%d)"
git checkout -b "${branch}"
git add -A
git commit -m "build(deps): Update dependencies"
git push -f https://x-access-token:${GH_TOKEN}@github.com/osbuild/bootc-image-builder.git HEAD:"${branch}"

gh pr create \
--title "Update dependencies $(date +%Y-%m-%d)" \
--body-file /tmp/go.log \
--repo "osbuild/bootc-image-builder" \
--base "main" \
--head "${branch}"
1 change: 1 addition & 0 deletions .github/workflows/stale-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
stale:
runs-on: ubuntu-latest
permissions:
actions: write # needed to clean up the saved action state
issues: write
pull-requests: write
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testingfarm-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
echo "Job originally triggered by ${{ github.actor }}"
exit 1
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run the tests
uses: sclorg/testing-farm-as-github-action@v3
uses: sclorg/testing-farm-as-github-action@v4
with:
compose: Fedora-40
compose: Fedora-42
tmt_plan_regex: "/plans/unit-go"
api_key: ${{ secrets.TF_API_KEY }}
git_url: ${{ github.event.pull_request.head.repo.clone_url }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testingfarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:
echo "Job originally triggered by ${{ github.actor }}"
exit 1
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run the tests
uses: sclorg/testing-farm-as-github-action@v3
uses: sclorg/testing-farm-as-github-action@v4
with:
compose: Fedora-40
compose: Fedora-42
tmt_plan_regex: "/plans/integration"
api_key: ${{ secrets.TF_API_KEY }}
git_url: ${{ github.event.pull_request.head.repo.clone_url }}
Expand Down
47 changes: 34 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ on:

env:
GO_VERSION: 1.22
# see https://golangci-lint.run/product/changelog
# to select a version that supports the GO_VERSION given above
GOLANGCI_LINT_VERSION: v1.59.1

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -33,7 +30,7 @@ jobs:
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand All @@ -44,10 +41,14 @@ jobs:
- name: Install libgpgme devel package
run: sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev

- name: Extract golangci-lint version from Makefile
id: golangci_lint_version
run: echo "GOLANGCI_LINT_VERSION=$(awk -F '=' '/^GOLANGCI_LINT_VERSION *=/{print $2}' Makefile)" >> "$GITHUB_OUTPUT"

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v9
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
version: ${{ steps.golangci_lint_version.outputs.GOLANGCI_LINT_VERSION }}
args: --timeout 5m0s
working-directory: bib

Expand All @@ -56,9 +57,9 @@ jobs:

shellcheck:
name: "🐚 Shellcheck"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run ShellCheck
Expand All @@ -70,22 +71,42 @@ jobs:
# allow seemingly unreachable commands
SHELLCHECK_OPTS: -e SC1091 -e SC2002 -e SC2317

collect_tests:
runs-on: ubuntu-latest
outputs:
test_files: ${{ steps.collect.outputs.test_files }}
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Collect test files
id: collect
run: |
TEST_FILES=$(ls test/test_*.py | sort)
JSON_FILES=$(echo "${TEST_FILES}" | jq -R | jq -cs )
echo "test_files=${JSON_FILES}" >> $GITHUB_OUTPUT

integration:
# TODO: run this also via tmt/testing-farm
name: "Integration"
runs-on: ubuntu-24.04
needs: collect_tests
strategy:
matrix:
test_file: ${{ fromJson(needs.collect_tests.outputs.test_files) }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
- name: Apt update
run: sudo apt update
- name: Install test dependencies
run: |
sudo apt update
sudo apt install -y python3-pytest python3-paramiko python3-boto3 flake8 pylint libosinfo-bin squashfs-tools
sudo apt install -y python3-pytest python3-boto3 flake8 pylint libosinfo-bin squashfs-tools sshpass
- name: Diskspace (before)
run: |
df -h
Expand Down Expand Up @@ -124,7 +145,7 @@ jobs:
- run: |
mkdir -p /var/tmp/osbuild-test-store
- name: Cache osbuild env
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: /var/tmp/osbuild-test-store
key: no-key-needed-here
Expand All @@ -136,7 +157,7 @@ jobs:
# podman needs (parts of) the environment but will break when
# XDG_RUNTIME_DIR is set.
# TODO: figure out what exactly podman needs
sudo -E XDG_RUNTIME_DIR= pytest-3 --basetemp=/mnt/var/tmp/bib-tests
sudo -E XDG_RUNTIME_DIR= PYTHONPATH=. pytest-3 --basetemp=/mnt/var/tmp/bib-tests ${{ matrix.test_file }}
- name: Diskspace (after)
if: ${{ always() }}
run: |
Expand Down
Loading