feat(install): pipelines update re-runs the recorded install from the source checkout; --fresh skips Docker migration

This commit is contained in:
2026-10-23 23:37:35 +01:00
parent e46c762394
commit 9bad1bd824
5 changed files with 116 additions and 3 deletions
+5
View File
@@ -236,6 +236,11 @@ class SetupNativeTests(unittest.TestCase):
web = installer.configure_web(prefix, setup_native.arguments([]))
self.assertEqual(json.loads(Path(web["auth_file"]).read_text())["password"], "typed-password")
def test_fresh_install_skips_docker_migration(self):
args = setup_native.arguments(["--fresh"])
self.assertTrue(args.fresh)
self.assertFalse(setup_native.arguments([]).fresh)
def test_invalid_web_auth_is_retained(self):
with tempfile.TemporaryDirectory() as directory:
installer = self.installer(directory, Recorder())