From 68172c8b4c33b4b2cc44d235a9c71685cd4ac3d5 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 22 May 2026 15:52:24 -0500 Subject: 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. --- scripts/testing/archsetup-vm.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/testing/archsetup-vm.conf') 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 -- cgit v1.2.3