Commit graph

1,032 commits

Author SHA1 Message Date
90ce69c71f
Group compose changes per Fedora version
Grouping compose changes per Fedora version will allow
us to retrigger the builds separately in case of failure.

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-06-04 10:46:16 +02:00
7badbd218f
Fix string pattern in 'matchPackageNames'
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-06-04 10:46:16 +02:00
b06288518c
Use patch/build instead of minor/patch in 'versioningTemplate'
According to the documentation 'build' can be used after 'major', 'minor'
and 'patch' have been already used and a fourth version part is needed.

On the other hand, it's only mandatory to use at least one of 'major',
'minor' or 'patch'.

We are using 'patch' and 'build' in compose-images so this change is
to make the versioning consistent among both projects.

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-06-04 10:46:16 +02:00
e520c17c09
Simplify managerFilePatterns
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-06-04 09:45:37 +02:00
f6c94a95ed Merge branch 'pr/set-xeuo-pipefail' into 'main'
manifests: consistently use `set -xeuo pipefail` in postprocess scripts

See merge request fedora/bootc/base-images!190
2025-05-26 21:10:06 +00:00
31ecb7f417 Merge branch 'update-f42-iot-pipelinerun' into 'main'
Update the compose image for the Fedora 42 IoT build pipeline.

See merge request fedora/bootc/base-images!186
2025-05-26 21:47:07 +02:00
27b3462024 Merge branch 'update-f42-minimal-pipelinerun' into 'main'
Update Fedora 42 minimal build pipeline

See merge request fedora/bootc/base-images!187
2025-05-26 21:46:45 +02:00
f4a41aad0c Merge branch 'update-f42-minimal-plus-pipelinerun' into 'main'
Update Fedora 42 minimal-plus build pipeline

See merge request fedora/bootc/base-images!188
2025-05-26 21:45:39 +02:00
ebe3235b3b Merge branch 'update-f42-standard-pipelinerun' into 'main'
Update Fedora 42 standard build pipeline

See merge request fedora/bootc/base-images!189
2025-05-26 21:44:51 +02:00
2c6d03cfe3
manifests: consistently use set -xeuo pipefail in postprocess scripts
The `set -euo pipefail` shouldn't be controversial.

The `set -x` bit is more debatable because it makes
the output more verbose but I find it helpful right
now as I comb through all sorts of details as part of
https://github.com/coreos/fedora-coreos-tracker/issues/1861.

If we care about less verbose output, I'd prefer we keep `-x` but
switched to having rpm-ostree buffer postprocess output and only dump it
if it fails.
2025-05-26 14:41:11 -04:00
08518a99f8
Update the compose image for the Fedora 42 IoT build pipeline. 2025-05-26 17:25:04 +02:00
d882a77149
Update Fedora 42 minimal-plus build pipeline 2025-05-26 17:17:59 +02:00
0dc3f942eb
Update Fedora 42 standard build pipeline 2025-05-26 17:14:42 +02:00
fd29d147a2
Update Fedora 42 minimal build pipeline 2025-05-26 17:13:35 +02:00
d0d3e2091b Merge branch 'renovate/migrate-config' into 'main'
Migrate renovate config

See merge request fedora/bootc/base-images!185
2025-05-26 14:00:53 +02:00
Platform Engineering Bot
b7c95be866 chore(config): migrate config renovate.json 2025-05-26 09:55:13 +00:00
f578edc97b Merge branch 'fix-renovate-configuration' into 'main'
Fix renovate configuration

Closes #59

See merge request fedora/bootc/base-images!184
2025-05-26 11:51:52 +02:00
f9032c1693
Fix renovate configuration
Remove 'baseBranches' configuration option as it's not allowed
within the regex customManager.

Fixes #59

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-26 10:56:28 +02:00
d529d7002b Merge branch 'renovate-configuration' into 'main'
Configure renovate to update once a new repos image is available

See merge request fedora/bootc/base-images!182
2025-05-23 07:50:55 +02:00
eb7d70f872 Merge branch 'appstudio-fedora-bootc-42-iot' into 'main'
Konflux update fedora-bootc-42-iot

See merge request fedora/bootc/base-images!179
2025-05-23 07:48:19 +02:00
2402ac3962 Merge branch 'appstudio-fedora-bootc-rawhide-iot' into 'main'
Konflux update fedora-bootc-rawhide-iot

See merge request fedora/bootc/base-images!176
2025-05-23 07:48:15 +02:00
6e9f3dd939 Merge branch 'update-rawhide-standard-pipeline' into 'main'
Update rawhide standard build pipeline

See merge request fedora/bootc/base-images!175
2025-05-23 07:48:12 +02:00
c7ed7ab33c Merge branch 'update-rawhide-minimal-pipeline' into 'main'
Update rawhide minimal build pipeline

See merge request fedora/bootc/base-images!173
2025-05-23 07:32:30 +02:00
b7a7dedef4 Merge branch 'update-rawhide-minimal-plus-pipeline' into 'main'
Update rawhide minimal plus build pipeline

See merge request fedora/bootc/base-images!174
2025-05-23 07:31:26 +02:00
7c18afa948
Use custom pipeline
Use the new compose base image as the repos image
2025-05-22 12:00:16 +02:00
1e4630800f
Use a compose image as the repos image
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-22 11:59:11 +02:00
dd3ad82f73
Use a compose image as the repos image
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-22 11:58:17 +02:00
1ee8494beb
Do not build minimal image on each push event 2025-05-22 11:57:28 +02:00
c75de050ab
Use the compose image 2025-05-22 11:57:28 +02:00
e3a708a967
Use custom bootc pipelines 2025-05-22 11:41:36 +02:00
46de491e80
Automerge compose updates
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-21 15:12:28 +02:00
c3f9ccde05
Configure renovate custom regex manager to update compose references
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-21 15:11:41 +02:00
c4ea4e2375
Configure renovate tekton manager to update konflux pipelines
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-21 15:11:19 +02:00
Jonathan Lebon
947d1ce475 Merge branch 'base-imagectl-cachedir' into 'main'
base-imagectl: support --cachedir

See merge request fedora/bootc/base-images!183
2025-05-20 22:26:06 +00:00
df45d53551
Containerfile: drop type=cache mount from RUN
We're currently not using this cache /workdir and we ultimately
can't right now until [1] lands in an rpm-ostree release.

See some background context on this in [2] [3].

[1] https://github.com/coreos/rpm-ostree/pull/5391
[2] https://gitlab.com/fedora/bootc/base-images/-/merge_requests/180
[3] https://github.com/coreos/rpm-ostree/pull/5386
2025-05-20 17:45:34 -04:00
4f66e09337
base-imagectl: support --cachedir
As far as I can tell --cachedir was used prior to bootc-base-imagectl
being introduced in c89b6f4. Let's add the --cachedir option to
bootc-base-imagectl, but we won't use it in our Containerfile yet
because we need to wait for [1] to land in an rpm-ostree release.

This is useful today for people hacking away locally.

[1] https://github.com/coreos/rpm-ostree/pull/5391
2025-05-20 17:45:34 -04:00
konflux
ee48c2dd73
Konflux update fedora-bootc-42-iot
Signed-off-by: konflux <konflux@no-reply.konflux-ci.dev>
2025-05-20 23:22:40 +02:00
0eb9ac2a15
Enable renovate dependency dashboard
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-19 13:32:42 +02:00
bcac7c2ace Merge branch 'dusty-presets' into 'main'
move systemd-preset enablement code to minimal; disable dnf-makecache.timer

See merge request fedora/bootc/base-images!181
2025-05-17 00:52:48 +00:00
672148a82d
minimal/systemd-presets: preset dnf-makecache.timer to disabled
This one doesn't make much sense to have enabled by default on systems
with image based updates because we shouldn't need a local cache of
yum repo metadata (i.e. we should just be interacting with a registry).
2025-05-16 15:47:35 -04:00
4888be4e19
move systemd-preset enablement code to minimal
Arguably we still want to remove rpm systemd enablements and use the
presets for the original image we create for all of our images.
2025-05-16 15:47:35 -04:00
5fb935b7db Merge branch 'pr/packages-list' into 'main'
bootc-base-imagectl: support extending package list

See merge request fedora/bootc/base-images!178
2025-05-14 21:21:45 +00:00
64f4963fc3
bootc-base-imagectl: support extending package list
The current custom base image flow of rebuilding a "built-in" image with
custom repos and then adding your own content separate is reasonable,
but it would be nice if one could augment the list of packages to
install in that initial build rather than as a separate transaction.

Then, you don't have to cleanup after dnf and `/var` content, re-inject
repo definitions, and refetch repo metadata. It also allows building
container images with additional packages without `dnf` necessarily
being in the package set.

We don't want to leak rpm-ostree implementation details, nor do we want
to invent a new format. So just add support for a `--install` arg and a
generic `--args-file` to pass arguments via a file.

We then generate a new treefile on the fly to extend the `packages`
list.
2025-05-14 15:13:23 -04:00
91f14f3f65
Use the pipelinerun filename expected by konflux
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-13 15:26:39 +02:00
1a11ff4654
Use the pipelinerun filename expected by konflux
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-13 15:21:47 +02:00
1c3891199c
Use the pipelinerun filename expected by conflux 2025-05-13 15:05:20 +02:00
6b0b047624 Merge branch 'dusty-whitespace-changes' into 'main'
whitespace changes to appease downstream CI

See merge request fedora/bootc/base-images!177
2025-05-09 17:16:42 +00:00
ef5e95d5bd
whitespace changes to appease downstream CI
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
```
2025-05-09 12:52:16 -04:00
konflux
8685cd1c70 Konflux update fedora-bootc-rawhide-iot
Signed-off-by: konflux <konflux@no-reply.konflux-ci.dev>
2025-05-09 10:52:46 +00:00
djach7
e2e0262861
Update rawhide standard build pipeline 2025-05-09 12:45:42 +02:00