mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-30 21:10:44 +00:00
Merge branch 'dusty-update-new-fedora-version' into 'main'
docs: update RELEASE.md steps for new Fedora version See merge request fedora/bootc/base-images!675
This commit is contained in:
commit
e2bcafe50f
3 changed files with 11 additions and 12 deletions
|
|
@ -234,18 +234,17 @@ Add package rules for the new version in `renovate.json`. See the existing rules
|
|||
**Repository:** https://gitlab.com/fedora/infrastructure/konflux/tenants-config
|
||||
|
||||
```bash
|
||||
cd cluster/kfluxfedorap01/bootc-tenant/applications/fedora-bootc/
|
||||
cd clusters/kflux-fedora-01/tenants/bootc-tenant/applications/fedora-bootc/
|
||||
NEW_RELEASE=44
|
||||
|
||||
# Copy from rawhide
|
||||
cp -r rawhide $NEW_RELEASE
|
||||
|
||||
# Update version references
|
||||
sed -i "s/rawhide/$NEW_RELEASE/g" $NEW_RELEASE/**/*.yaml
|
||||
sed -i "s/compose-rawhide-id/compose-branched-id/" $NEW_RELEASE/releaseplans/release-to-quay-io/kustomization.yaml
|
||||
find "${NEW_RELEASE}/" -type f | xargs sed -i "s/rawhide/$NEW_RELEASE/g"
|
||||
```
|
||||
|
||||
#### Step 5: Register the New Version (tenants-config repo)
|
||||
|
||||
Add the new version to `fedora-bootc/kustomization.yaml`:
|
||||
|
||||
|
|
@ -259,6 +258,8 @@ resources:
|
|||
- "42"
|
||||
```
|
||||
|
||||
See [MR !237](https://gitlab.com/fedora/infrastructure/konflux/tenants-config/-/merge_requests/237) for reference (F45 addition).
|
||||
|
||||
### Removing an EOL Fedora Version from Konflux
|
||||
|
||||
When a Fedora version reaches EOL (e.g., F42), follow these steps:
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
# This test case exercises using the fedora-bootc image as a builder
|
||||
# to generate a minimal target image derived from CentOS Stream 10 content,
|
||||
# and then further extends it in a secondary phase.
|
||||
FROM quay.io/fedora/fedora-bootc:rawhide as repos
|
||||
# This test case exercises using the fedora-bootc image as a builder to
|
||||
# generate a minimal target image, and then further extends it in a secondary
|
||||
# phase.
|
||||
|
||||
# This is intentionally a locally built image
|
||||
FROM localhost/fedora-bootc as builder
|
||||
RUN --mount=type=bind,from=repos,src=/,dst=/repos,rw <<EORUN
|
||||
RUN <<EORUN
|
||||
echo -e '--install\nltrace' > args.txt
|
||||
/usr/libexec/bootc-base-imagectl --args-file args.txt build-rootfs --manifest=standard/manifest /repos /target-rootfs
|
||||
/usr/libexec/bootc-base-imagectl --args-file args.txt build-rootfs --manifest=standard/manifest /target-rootfs
|
||||
EORUN
|
||||
|
||||
# This pulls in the rootfs generated in the previous step
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
# This test case exercises --sysusers.
|
||||
FROM quay.io/fedora/fedora-bootc:rawhide as repos
|
||||
|
||||
# This is intentionally a locally built image
|
||||
FROM localhost/fedora-bootc as builder
|
||||
RUN --mount=type=bind,from=repos,src=/,dst=/repos,rw <<EORUN
|
||||
RUN <<EORUN
|
||||
mkdir -p overlay/usr/lib/sysusers.d
|
||||
cat > overlay/usr/lib/sysusers.d/00-chrony.conf <<EOF
|
||||
g chrony 888
|
||||
u chrony 888:888 - - -
|
||||
EOF
|
||||
/usr/libexec/bootc-base-imagectl build-rootfs --manifest=standard/manifest /repos /target-rootfs --sysusers --add-dir overlay
|
||||
/usr/libexec/bootc-base-imagectl build-rootfs --manifest=standard/manifest /target-rootfs --sysusers --add-dir overlay
|
||||
EORUN
|
||||
|
||||
# This pulls in the rootfs generated in the previous step
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue