File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change 19
19
20
20
jobs :
21
21
c9s-bootc-e2e :
22
- runs-on : ubuntu-latest
22
+ runs-on : ubuntu-24.04
23
23
steps :
24
- # We use docker to build because it updates to the latest, whereas right now ubuntu-latest
25
- # has podman and buildah from ~2021 (insane!)
26
- - name : Set up Docker Buildx
27
- uses : docker/setup-buildx-action@v3
28
24
- uses : actions/checkout@v3
29
- - name : Cache Dependencies
30
- uses : Swatinem/rust-cache@v2
31
- with :
32
- key : " build-c9s"
33
- - name : Build and export to Docker
34
- uses : docker/build-push-action@v5
35
- with :
36
- context : .
37
- file : ci/Containerfile.c9s
38
- load : true
39
- tags : localhost/bootupd:latest
40
- - name : Copy to podman
41
- run : sudo skopeo copy docker-daemon:localhost/bootupd:latest containers-storage:localhost/bootupd:latest
25
+ - name : build
26
+ run : sudo podman build -t localhost/bootupd:latest -f ci/Containerfile.c9s .
42
27
- name : bootc install to disk
43
28
run : |
44
29
set -xeuo pipefail
60
45
run : |
61
46
set -xeuo pipefail
62
47
sudo podman run --rm -ti --privileged -v /:/target --pid=host --security-opt label=disable \
63
- -v /var/lib/containers:/var/lib/containers \
48
+ -v /dev:/dev -v / var/lib/containers:/var/lib/containers \
64
49
localhost/bootupd:latest bootc install to-filesystem --skip-fetch-check \
65
50
--disable-selinux --replace=alongside /target
66
51
# Verify we injected static configs
You can’t perform that action at this time.
0 commit comments