aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/archsetup-vm.conf
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-22 15:52:24 -0500
committerCraig Jennings <c@cjennings.net>2026-05-22 15:52:24 -0500
commitdfef82ea4fe5a8508dba767d85c8bad095cf3c35 (patch)
tree356524820e2efc98e6942e085c7c496dbceb8cf1 /scripts/testing/archsetup-vm.conf
parent97d5de4c6ab568af656aa44a96b0ec421c27e7fd (diff)
downloadarchsetup-dfef82ea4fe5a8508dba767d85c8bad095cf3c35.tar.gz
archsetup-dfef82ea4fe5a8508dba767d85c8bad095cf3c35.zip
refactor(testing): clone the dotfiles repo into the VM test
The dotfiles live in a separate repo now, so the VM test clones that source, bundles it, and clones from the bundle into /tmp/dotfiles-test on the VM. archsetup's in-VM clone of DOTFILES_REPO then resolves against the local path with no network. DOTFILES_SOURCE overrides the source for testing a local checkout instead of the published repo. The cleanup trap tracks the host-side bundle and clone, so a mid-run abort leaves nothing behind.
Diffstat (limited to 'scripts/testing/archsetup-vm.conf')
-rw-r--r--scripts/testing/archsetup-vm.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/testing/archsetup-vm.conf b/scripts/testing/archsetup-vm.conf
index 12350a7..a6d2205 100644
--- a/scripts/testing/archsetup-vm.conf
+++ b/scripts/testing/archsetup-vm.conf
@@ -3,8 +3,9 @@
#
# Usage: ./archsetup --config-file /tmp/archsetup-test/archsetup-vm.conf
-# Use local test copy instead of cloning from remote
+# Use local test copies instead of cloning from remote
ARCHSETUP_REPO=/tmp/archsetup-test
+DOTFILES_REPO=/tmp/dotfiles-test
USERNAME=cjennings
PASSWORD=archsetup