mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-11 20:58:45 +03:00
Merge pull request #3270 from cgwalters/bump-runners
ci: Bump bootc e2e to latest ubuntu, drop docker
This commit is contained in:
commit
1db6911e41
19
.github/workflows/bootc.yaml
vendored
19
.github/workflows/bootc.yaml
vendored
@ -16,27 +16,16 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
c9s-bootc-e2e:
|
c9s-bootc-e2e:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
# We use docker to build because it updates to the latest, whereas right now ubuntu-latest
|
|
||||||
# has podman and buildah from ~2021 (insane!)
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build and export to Docker
|
- name: build
|
||||||
uses: docker/build-push-action@v5
|
run: sudo podman build -t localhost/test:latest -f ci/Containerfile.c9s .
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: ci/Containerfile.c9s
|
|
||||||
load: true
|
|
||||||
tags: localhost/test:latest
|
|
||||||
- name: Copy to podman
|
|
||||||
run: sudo skopeo copy docker-daemon:localhost/test:latest containers-storage:localhost/test:latest
|
|
||||||
- name: bootc install
|
- name: bootc install
|
||||||
run: |
|
run: |
|
||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
sudo podman run --env BOOTC_SKIP_SELINUX_HOST_CHECK=1 --rm -ti --privileged -v /:/target --pid=host --security-opt label=disable \
|
sudo podman run --env BOOTC_SKIP_SELINUX_HOST_CHECK=1 --rm -ti --privileged -v /:/target --pid=host --security-opt label=disable \
|
||||||
-v /var/lib/containers:/var/lib/containers \
|
-v /dev:/dev -v /var/lib/containers:/var/lib/containers \
|
||||||
localhost/test:latest bootc install to-filesystem --skip-fetch-check \
|
localhost/test:latest bootc install to-filesystem --skip-fetch-check \
|
||||||
--replace=alongside /target
|
--replace=alongside /target
|
||||||
# Verify labeling for /etc
|
# Verify labeling for /etc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user