Skip to content

Commit

Permalink
tests: Drop more bind mount instances
Browse files Browse the repository at this point in the history
These should be unnecessary.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Nov 26, 2024
1 parent 0cf5516 commit 3ae2a4d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/lldb/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sudo podman build --build-arg "sshpubkey=$(cat ~/.ssh/id_rsa.pub)" -f Containerf
mkdir -p ~/.cache/bootc-dev/disks
rm -f ~/.cache/bootc-dev/disks/lldb.raw
truncate -s 10G ~/.cache/bootc-dev/disks/lldb.raw
sudo podman run --pid=host --network=host --privileged --security-opt label=type:unconfined_t -v ~/.cache/bootc-dev/disks:/output -v /dev:/dev localhost/bootc-lldb bootc install to-disk --via-loopback --generic-image --skip-fetch-check /output/lldb.raw
sudo podman run --pid=host --network=host --privileged --security-opt label=type:unconfined_t -v ~/.cache/bootc-dev/disks:/output localhost/bootc-lldb bootc install to-disk --via-loopback --generic-image --skip-fetch-check /output/lldb.raw

# create a new VM in libvirt
set +e
Expand Down
2 changes: 1 addition & 1 deletion ostree-ext/.github/workflows/bootc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Integration tests
run: |
set -xeuo pipefail
sudo podman run --rm -ti --privileged -v /:/target -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \
sudo podman run --rm -ti --privileged -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \
quay.io/centos-bootc/centos-bootc-dev:stream9 bootc install to-filesystem \
--karg=foo=bar --disable-selinux --replace=alongside /target
1 change: 0 additions & 1 deletion tests/e2e/playbooks/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
--privileged \
--tls-verify=false \
--pid=host \
-v /:/target \
--security-opt label=type:unconfined_t \
{{ test_image_url }} \
bootc install to-existing-root"
Expand Down

0 comments on commit 3ae2a4d

Please sign in to comment.