about summary refs log tree commit diff
path: root/src/ci/docker/scripts
diff options
context:
space:
mode:
authorJeff Martin <martinjeffrey@google.com>2024-08-07 16:08:41 -0400
committerJeff Martin <martinjeffrey@google.com>2024-08-07 16:08:41 -0400
commit5db9d432070087c13330e85221010671174025d5 (patch)
treee333b8f99da0209ea81c613712937194d8c8d349 /src/ci/docker/scripts
parent8d0066922b14cee3175e8c141e5e909fa6d9a6eb (diff)
downloadrust-5db9d432070087c13330e85221010671174025d5.tar.gz
rust-5db9d432070087c13330e85221010671174025d5.zip
Fuchsia Test Runner: enable ffx repository server
The default repository server setting has changed on Fuchsia (default is
newly "false"). Now, in order to start the repository server, the config
`repository.server.enabled` must be set to true.
Diffstat (limited to 'src/ci/docker/scripts')
-rwxr-xr-xsrc/ci/docker/scripts/fuchsia-test-runner.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ci/docker/scripts/fuchsia-test-runner.py b/src/ci/docker/scripts/fuchsia-test-runner.py
index 00269e68422..a5458b8645d 100755
--- a/src/ci/docker/scripts/fuchsia-test-runner.py
+++ b/src/ci/docker/scripts/fuchsia-test-runner.py
@@ -571,6 +571,19 @@ class TestEnvironment:
         )
 
         # Start repository server
+        # Note that we must first enable the repository server daemon.
+        check_call_with_logging(
+            [
+                ffx_path,
+                "config",
+                "set",
+                "repository.server.enabled",
+                "true",
+            ],
+            env=ffx_env,
+            stdout_handler=self.subprocess_logger.debug,
+            stderr_handler=self.subprocess_logger.debug,
+        )
         check_call_with_logging(
             [
                 ffx_path,