@@ -32,6 +32,7 @@ concurrency:
3232jobs :
3333 # Run basic validation checks (linting, formatting, etc)
3434 validate :
35+ if : false # TEMP: disabled for testing install-tests fix
3536 runs-on : ubuntu-24.04
3637 steps :
3738 - uses : actions/checkout@v6
4142 run : just validate
4243 # Check for security vulnerabilities and license compliance
4344 cargo-deny :
45+ if : false # TEMP: disabled for testing install-tests fix
4446 runs-on : ubuntu-24.04
4547 steps :
4648 - uses : actions/checkout@v6
@@ -65,16 +67,18 @@ jobs:
6567 - name : Integration tests
6668 run : |
6769 set -xeu
68- # Build images to test; TODO investigate doing single container builds
69- # via GHA and pushing to a temporary registry to share among workflows?
70- # Preserve rustup/cargo environment for sudo (rustup needs RUSTUP_HOME to find toolchains)
71- sudojust() { sudo env PATH="$PATH" CARGO_HOME="${CARGO_HOME:-$HOME/.cargo}" RUSTUP_HOME="${RUSTUP_HOME:-$HOME/.rustup}" just "$@"; }
72- sudojust build
73- sudojust build-install-test-image
70+ # Build images as regular user, then copy to root's podman storage
71+ # This avoids cargo cache permission issues when running cargo as root
72+ just build
73+ just build-install-test-image
74+ just copy-to-rootful localhost/bootc
75+ just copy-to-rootful localhost/bootc-install
76+ # Copy bound images (LBI) to root's storage for tests that need them
77+ just copy-to-rootful quay.io/curl/curl:latest
78+ just copy-to-rootful quay.io/curl/curl-base:latest
79+ just copy-to-rootful registry.access.redhat.com/ubi9/podman:latest
7480 sudo podman build -t localhost/bootc-fsverity -f ci/Containerfile.install-fsverity
7581
76- # Grant permission
77- sudo chown -R "$(id -u):$(id -g)" /home/runner/work/bootc/bootc
7882 # TODO move into a container, and then have this tool run other containers
7983 cargo build --release -p tests-integration
8084
@@ -110,6 +114,7 @@ jobs:
110114 done
111115 # Test that we can build documentation
112116 docs :
117+ if : false # TEMP: disabled for testing install-tests fix
113118 runs-on : ubuntu-24.04
114119 steps :
115120 - uses : actions/checkout@v6
@@ -119,6 +124,7 @@ jobs:
119124 run : just build-mdbook
120125 # Build packages for each test OS
121126 package :
127+ if : false # TEMP: disabled for testing install-tests fix
122128 strategy :
123129 fail-fast : false
124130 matrix :
@@ -150,6 +156,7 @@ jobs:
150156 # running unit and integration tests (using TMT, leveraging the support for nested virtualization
151157 # in the GHA runners)
152158 test-integration :
159+ if : false # TEMP: disabled for testing install-tests fix
153160 needs : package
154161 strategy :
155162 fail-fast : false
@@ -224,6 +231,7 @@ jobs:
224231 # when run in the same job as test-integration).
225232 # Uses fedora-43 as it's the current stable Fedora release matching CoreOS.
226233 test-coreos :
234+ if : false # TEMP: disabled for testing install-tests fix
227235 needs : package
228236 runs-on : ubuntu-24.04
229237
@@ -264,7 +272,7 @@ jobs:
264272
265273 # Sentinel job for required checks - configure this job name in repository settings
266274 required-checks :
267- if : always()
275+ if : false # TEMP: disabled for testing install-tests fix
268276 needs : [cargo-deny, validate, package, test-integration, test-coreos]
269277 runs-on : ubuntu-latest
270278 steps :
0 commit comments