Created
June 8, 2026 20:55
-
-
Save andrey-utkin/d5df2b9b7de71a90969b5164386aeb47 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| set -x | |
| VM_NAME=repro | |
| git clone --bare https://github.com/andrey-utkin/ways-to-test-cvmfs ways-to-test-cvmfs.git | |
| git clone ways-to-test-cvmfs.git ways-to-test-cvmfs | |
| git clone --bare https://github.com/andrey-utkin/cvmfs.git cvmfs.git | |
| cd ways-to-test-cvmfs | |
| VM_NAME="$VM_NAME" ./create-vm-archlinux | |
| # optional: give more CPU and RAM | |
| incus config set $VM_NAME limits.cpu=8 limits.memory=8GiB | |
| incus restart $VM_NAME | |
| while ! incus list --format json $(echo "${VM_NAME}" | sed -e 's/:/: /') | jq --raw-output .[0].state.network.enp5s0.addresses[0].address | grep -F . >/dev/null; do echo -n .; sleep 1; done | |
| incus exec --cwd /usr/local/src/ways-to-test-cvmfs $VM_NAME -- bash -l -euo pipefail -x <<EOF | |
| while ! (systemctl is-active multi-user.target && ping -c1 -W1 google.com)&>/dev/null; do sleep 1; done | |
| pushd testability/podman/almalinux_10 | |
| make build.done | |
| popd | |
| pushd vanilla/podman/almalinux_10 | |
| make build.done | |
| popd | |
| pushd testability/podman/almalinux_10 | |
| time make test.510-filechunks.with-systemd.done || true | |
| time make test.660-store_publish_statistics.with-systemd.done || true | |
| popd | |
| pushd vanilla/podman/almalinux_10 | |
| time make test.510-filechunks.with-systemd.done || true | |
| time make test.660-store_publish_statistics.with-systemd.done || true | |
| popd | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment