From 3ae2a4d55ce524bcad6d24f38720588a79e60a21 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 26 Nov 2024 11:37:46 -0500 Subject: [PATCH] tests: Drop more bind mount instances These should be unnecessary. Signed-off-by: Colin Walters --- hack/lldb/deploy.sh | 2 +- ostree-ext/.github/workflows/bootc.yml | 2 +- tests/e2e/playbooks/install.yaml | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hack/lldb/deploy.sh b/hack/lldb/deploy.sh index 04941f22c..5c6e0e896 100755 --- a/hack/lldb/deploy.sh +++ b/hack/lldb/deploy.sh @@ -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 diff --git a/ostree-ext/.github/workflows/bootc.yml b/ostree-ext/.github/workflows/bootc.yml index bba4cfe7d..8e8dbe78c 100644 --- a/ostree-ext/.github/workflows/bootc.yml +++ b/ostree-ext/.github/workflows/bootc.yml @@ -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 diff --git a/tests/e2e/playbooks/install.yaml b/tests/e2e/playbooks/install.yaml index 715b99597..8fe7809a8 100644 --- a/tests/e2e/playbooks/install.yaml +++ b/tests/e2e/playbooks/install.yaml @@ -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"