diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 15:52:24 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 15:52:24 -0500 |
| commit | 68172c8b4c33b4b2cc44d235a9c71685cd4ac3d5 (patch) | |
| tree | 68e209441b3d25c44f64077645ddd2c15e298955 /scripts/testing/archsetup-vm.conf | |
| parent | bab6901df8bbd9674d7adc0dea8818238d7b873b (diff) | |
| download | archsetup-68172c8b4c33b4b2cc44d235a9c71685cd4ac3d5.tar.gz archsetup-68172c8b4c33b4b2cc44d235a9c71685cd4ac3d5.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.conf | 3 |
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 |
