1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Colin Walters
cb99cf5c95 ci: Bump Fedora to 41
For newer ostree

Signed-off-by: Colin Walters <walters@verbum.org>
2025-02-03 12:37:38 -05:00
Colin Walters
8990b54244 build.sh: Use our embedded spec
One CI run just got a server error fetching the spec from Fedora.
We have a spec here (which I don't like but we do) so use it
to lower CI flakes.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-01-17 09:55:22 -05:00
Colin Walters
3c7a620bc7 install: Pick up kargs.d kernel arguments too
This was a rather important miss; we need to pick
up the kargs.d files when doing a `bootc install` too.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-06-27 21:05:11 -04:00
Colin Walters
27d955c44e hack: Remove everything in /tmp
Somehow, something else is leaking into `/tmp` at least in the
GHA runs...remove it all.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-06-27 19:57:24 -04:00
Colin Walters
836cdd81bc install: Fix install config kargs + to-filesystem
I think this got broken in a refactoring; add
test coverage.  In general all the heavy
lifting should move out of `baseline.rs`; a
good way to do that is probably to take the
next step of making it its own crate that
doesn't depend on the bootc core logic perhaps.

Closes: https://github.com/containers/bootc/issues/570
Signed-off-by: Colin Walters <walters@verbum.org>
2024-06-16 13:24:10 +00:00
Colin Walters
8657ce5392 hack: Add support for installing cloud-init+rsync
These are things that https://tmt.readthedocs.io/en/stable/
wants, and the goal is to support running under tmt more
directly.

Part of https://github.com/containers/bootc/issues/543

With this I can run:

```
provision:
  how: virtual
  image: /home/walters/src/github/containers/bootc/target/testbootc-cloud.qcow2
summary: Basic smoke test
execute:
    how: tmt
    script: bootc status
```

Signed-off-by: Colin Walters <walters@verbum.org>
2024-06-09 16:05:32 -04:00
Steven Presti
858acbe5dd cli: add container lint
Add an entrypoint that basically everyone can start
adding to their builds which performs some basic
static analysis for known problems.

Closes : #216

Co-authored-by: Joseph Marrero <jmarrero@redhat.com>
Co-authored-by: Huijing Hei <hhei@redhat.com>
Co-authored-by: Yasmin de Souza <ydesouza@redhat.com>

Signed-off-by: Steven Presti <spresti@redhat.com>
Signed-off-by: Colin Walters <walters@verbum.org>
2024-05-30 19:52:46 -04:00
Colin Walters
c69e132004 Merge pull request #548 from cgwalters/test-improvements
Move install tests shell script into Rust
2024-05-20 15:20:56 -04:00
Colin Walters
65136e03e5 Move install tests shell script into Rust
A few things going on here:

- Rewrite logic from shell script into Rust (using xshell, so
  it's still convenient to fork commands)
- Make the test logic take an externally-built container image
  instead of using a `-v bootc:/usr/bin/bootc` bind mount
- Build the container image using our stock hack/Containerfile
  in Github Actions instead of building for c9s in GHA
- This all hence starts to make the logic reusable outside
  of Github Actions too; the container build is a known standard thing.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-05-19 17:58:17 -04:00
Colin Walters
3fcfed0117 hack: Also support --build-arg=base=<fedora>
Let's make it also easy to build using fedora.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-05-17 16:40:17 -04:00
Colin Walters
ebeb643b62 ci: Target c9s in more places
There's some instability in eln right now, but more importantly
I think our baseline target should be c9s because that acts
as the real lower bound for what we want to support.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-02-15 11:00:47 -05:00
Colin Walters
5510052111 hack: Allow injecting stuff into target/dev-rootfs
Specifically, I want to hack on both e.g. ostree and bootc
at the same time.  With this, I can do (from ostree):

```bash
$ make install DESTDIR=/path/to/bootc/target/dev-rootfs
```

Then from this repo, running a container build will get me both.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-02-09 18:32:41 -05:00
Colin Walters
7ba823a162 hack/Containerfile: New file for local container builds
This is a relatively efficient container-oriented build flow
suitable for local iteration.

Signed-off-by: Colin Walters <walters@verbum.org>
2024-01-12 16:52:30 -05:00