Commit Graph

261 Commits

Author SHA1 Message Date
Colin Walters dc08f4cef3 README.md: Update for git rename, new tiers etc. 2023-09-15 16:38:38 -04:00
Colin Walters 38976b4f24 Merge branch 'add-tier-0' into 'main'
Introduce a tier-0 image

See merge request cgwalters-playground/bootc-demo-base-images!14
2023-09-15 19:19:25 +00:00
Colin Walters 7361f26eeb Introduce a tier-0 image
This is basically just:

- kernel
- systemd
- selinux-policy-targeted
- bootc

Notably it doesn't have `rpm-ostree` or `rpm`, or many other things.
It also doesn't even have `linux-firmware`.

And no `openssh`!

It's almost certain that you need to derive from this, but
it should be a suitable starting point.

TODO: Add something like

```
$ dnf-system-bootstrap
Installing packaging tools from quay.io/fedora/fedora-boot-dnf@sha256:abcd...)
 # This would be basically all the packages not in tier-0 that
 # are enough to give `dnf install`
$ dnf install cowsay
 # Install critical stuff
$ dnf system-bootstrap remove
 # Remove everything that we added for the package system, that isn't
 # a dependency of what the user wants!
```

(In theory we could make this work with multi-stage builds, but
 it's a little hard)
2023-09-15 15:11:01 -04:00
Colin Walters ebe3ea68a2 Merge branch 'more-tiers' into 'main'
Rework naming more in preparation for more tiers

See merge request cgwalters-playground/bootc-demo-base-images!13
2023-09-15 14:29:04 +00:00
Colin Walters 1f66c4c61f Rework naming more in preparation for more tiers 2023-09-15 09:51:48 -04:00
Colin Walters 6b4261b877 Merge branch 'rework-tiers' into 'main'
A few renames; oscore -> tier-1

See merge request cgwalters-playground/bootc-demo-base-images!12
2023-09-14 14:20:10 +00:00
Colin Walters 380886b80a A few renames; oscore -> tier-1
Prep for multiple tiers.
2023-09-13 17:45:16 -04:00
Colin Walters 71bcb0df37 Merge branch 'readme-update' into 'main'
README.md: Update with a short-term plan

See merge request cgwalters-playground/bootc-demo-base-images!11
2023-09-12 13:35:42 +00:00
Colin Walters b4b1d9ebbb README.md: Update with a short-term plan 2023-09-12 08:52:33 -04:00
Colin Walters 87dd6b3e69 Drop github CI 2023-09-08 16:19:05 -04:00
Colin Walters 5ecefd1cfd
Merge branch 'readme-updates' into 'main'
README.md: Update for migration to gitlab

See merge request cgwalters-playground/bootc-demo-base-images!9
2023-09-08 20:09:43 +00:00
Colin Walters 0360147e15 README.md: Update for migration to gitlab 2023-09-08 16:03:14 -04:00
Colin Walters d055946bdf
Merge branch 'fix-initramfs-deprecation' into 'main'
Stop using deprecated initramfs-args

See merge request cgwalters-playground/bootc-demo-base-images!8
2023-09-08 19:34:19 +00:00
Colin Walters 216624e194 Stop using deprecated initramfs-args
For now we need to write files via postprocess.
2023-09-08 15:26:57 -04:00
Colin Walters 51c5948740
Merge branch 'enable-bootc-default' into 'main'
Two bits

See merge request cgwalters-playground/bootc-demo-base-images!7
2023-09-08 19:23:59 +00:00
Colin Walters f3cdf59cfd Enable /usr/bin/bootc by default
Let's opt in for these images.
2023-09-08 15:16:41 -04:00
Colin Walters a356ed897b ci: Re-disable force init
Since we have a c9s build now.
2023-09-08 15:10:06 -04:00
Colin Walters c464e1d1f2
ci: Another force initialize cycle for c9s 2023-09-08 18:45:22 +00:00
Colin Walters b501ea1b97
Update .gitlab-ci.yml file 2023-09-08 18:43:02 +00:00
Colin Walters 4154738050
Merge branch 'more-tweaks' into 'main'
Drop deprecated iptables, add jq

See merge request cgwalters-playground/bootc-demo-base-images!6
2023-09-08 18:36:03 +00:00
Colin Walters 66e708aa5e Drop deprecated iptables, add jq 2023-09-08 14:28:22 -04:00
Colin Walters 0115ec8b22
Merge branch 'trim-misc' into 'main'
Various trimming

See merge request cgwalters-playground/bootc-demo-base-images!5
2023-09-08 18:20:25 +00:00
Colin Walters 36822f3fde system-configuration: Drop ignition-kdump bit
We don't need this here, we don't ship Ignition.
2023-09-08 14:13:41 -04:00
Colin Walters 937d149a9a Drop systemd-container
One container runtime is enough by default.
2023-09-08 14:13:41 -04:00
Colin Walters 3fa9080872 fedora: Trim repos packages
We don't need the ostree bits or the modularity bits by default;
containers are the focus.  They can be added by anyone who wants
them.
2023-09-08 14:13:41 -04:00
Colin Walters 3afb0b6c90
ci: Also only run test-build on MRs 2023-09-08 17:27:54 +00:00
Colin Walters 3932ccd060
ci: Split MR versus prod builds 2023-09-08 17:25:04 +00:00
Colin Walters 71e6b3a9e6
Merge branch 'ci-registry-login' into 'main'
ci: Push to integrated registry by default

See merge request cgwalters-playground/bootc-demo-base-images!3
2023-09-07 21:40:17 +00:00
Colin Walters 2eb018ce44 ci: Don't --initialize by default
We want change detection.  Also expose `--force-nocache` because
it may be useful in the future.
2023-09-07 17:34:07 -04:00
Colin Walters c2ec7c0230 ci: Push to integrated registry 2023-09-07 17:16:54 -04:00
Colin Walters aafb3ddde7
Merge branch 'drop-external-repos' into 'main'
Drop all external repos

See merge request cgwalters-playground/bootc-demo-base-images!2
2023-09-07 21:16:07 +00:00
Colin Walters ca41fc9b58 ci: Log into registry
In preparation for pushing.
2023-09-07 17:10:52 -04:00
Colin Walters 9ac44a5b32 Drop all external repos
We'll rely on what's in the distro and aim to really ship
things there.
2023-09-07 17:09:30 -04:00
Colin Walters d8ac4a4eb5
Merge branch 'more-ci' into 'main'
ci: Ensure we initialize

See merge request cgwalters-playground/bootc-demo-base-images!1
2023-09-07 20:56:00 +00:00
Colin Walters 843d65aa93 ci: A few fixes
- Need to initialize
- Fix typo for ociarchive
2023-09-07 16:49:40 -04:00
Colin Walters d0e390602b
ci: Add initial attempt 2023-09-07 20:41:45 +00:00
Colin Walters ff46f76450 system-configuration: Enable tpm2 in initramfs
Needed for https://github.com/containers/bootc/pull/75
2023-03-14 20:36:00 -04:00
Colin Walters cd03d2be2c Add keyutils
For general utility, but I also plan to use this in bootc
at least temporarily.
2023-03-12 17:59:01 -04:00
Colin Walters 287505cebe Trim package set
I did a quick first pass; the idea here is to be smaller.  Things
like e.g. `adcli` can be added by customization.
2023-03-04 13:00:36 -05:00
Colin Walters 9580c39575 Fix typo 2023-03-04 09:45:57 -05:00
Colin Walters a2060f6f45 c9s: Drop SIG and OKD copr repos
These were copied from RHCOS and are unnecessary.
2023-03-04 09:34:59 -05:00
Colin Walters 68afb072a5 Add new `c9s-rt` variant
I think having an image with RT enabled out of the box just makes
sense.
2023-03-04 09:34:59 -05:00
Colin Walters 62f71b1498 Drop catatonit, as podman includes it by default now 2023-02-17 16:52:41 -05:00
Colin Walters 283af126ba Split continuous repo for fedora/c9s
Annoying that $releasever doesn't work here.
2023-02-17 16:50:23 -05:00
Colin Walters 1a5922e4b5 Switch to bootupd from coreos-continuous
This one has automatic triggers.
2023-02-17 15:55:03 -05:00
Colin Walters d7c1787f0c Ensure we use bootupd (and bootc) from the copr
So we always get the latest, which we need right now.
2023-01-25 15:49:42 -05:00
Colin Walters 91c1fb4469 Switch to rhcontainerbot copr
This is a bit more official.
2023-01-24 15:12:16 -05:00
Colin Walters 2917d146b8 Switch to ghcr.io
It's just easier than pushing to quay
2023-01-24 15:09:41 -05:00
Colin Walters b330f907e5 build: Re-enable init on force 2023-01-24 14:00:17 -05:00
Colin Walters 38929259a3 build: use namespace 2023-01-24 13:50:43 -05:00