| 1 |
name: revdep CI bootc |
| 2 |
|
| 3 |
permissions: |
| 4 |
actions: read |
| 5 |
|
| 6 |
on: |
| 7 |
push: |
| 8 |
branches: [main] |
| 9 |
pull_request: |
| 10 |
branches: [main] |
| 11 |
workflow_dispatch: {} |
| 12 |
|
| 13 |
concurrency: |
| 14 |
group: ${{ github.workflow }}-${{ github.ref }} |
| 15 |
cancel-in-progress: true |
| 16 |
|
| 17 |
jobs: |
| 18 |
c9s-bootc-e2e: |
| 19 |
runs-on: ubuntu-24.04 |
| 20 |
steps: |
| 21 |
- uses: actions/checkout@v4 |
| 22 |
- name: build |
| 23 |
run: sudo podman build -t localhost/test:latest -f ci/Containerfile.c9s-bootc . |
| 24 |
- name: bootc install |
| 25 |
run: | |
| 26 |
set -xeuo pipefail |
| 27 |
sudo podman run --env BOOTC_SKIP_SELINUX_HOST_CHECK=1 --rm -ti --privileged -v /:/target --pid=host --security-opt label=disable \ |
| 28 |
-v /dev:/dev -v /var/lib/containers:/var/lib/containers \ |
| 29 |
localhost/test:latest bootc install to-filesystem --skip-fetch-check \ |
| 30 |
--replace=alongside /target |