Skip to content

Instantly share code, notes, and snippets.

@adam-singer
Created February 27, 2024 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adam-singer/a7aa64abf6445eb5752f418a457ca25a to your computer and use it in GitHub Desktop.
Save adam-singer/a7aa64abf6445eb5752f418a457ca25a to your computer and use it in GitHub Desktop.
diff --git a/deployment-examples/docker-compose-reclient/docker-compose.yml b/deployment-examples/docker-compose-reclient/docker-compose.yml
index 06cbd63..542b23d 100644
--- a/deployment-examples/docker-compose-reclient/docker-compose.yml
+++ b/deployment-examples/docker-compose-reclient/docker-compose.yml
@@ -28,6 +28,7 @@ services:
target: /root
environment:
RUST_LOG: ${RUST_LOG:-warn}
+ RUST_LOG: info,h2=off,tower=off,hyper=off
ports: [ "50051:50051/tcp" ]
command: |
nativelink /root/local-storage-cas.json
@@ -41,6 +42,7 @@ services:
environment:
RUST_LOG: ${RUST_LOG:-warn}
CAS_ENDPOINT: native_link_local_cas
+ RUST_LOG: info,h2=off,tower=off,hyper=off
ports: [ "50052:50052/tcp", "50061:50061/tcp" ]
command: |
nativelink /root/scheduler.json
@@ -68,5 +70,6 @@ services:
CAS_ENDPOINT: native_link_local_cas
SCHEDULER_ENDPOINT: native_link_scheduler
NATIVE_LINK_DIR: ${HOME}/.cache/nativelink
+ RUST_LOG: info,h2=off,tower=off,hyper=off
command: |
nativelink /root/worker.json
diff --git a/deployment-examples/docker-compose-reclient/worker.json b/deployment-examples/docker-compose-reclient/worker.json
index a60c16c..12f12dd 100644
--- a/deployment-examples/docker-compose-reclient/worker.json
+++ b/deployment-examples/docker-compose-reclient/worker.json
@@ -43,13 +43,15 @@
"worker_api_endpoint": {
"uri": "grpc://${SCHEDULER_ENDPOINT:-127.0.0.1}:50061",
},
- "entrypoint_cmd": "/root/run_in_container.sh",
+ "entrypoint": "/root/run_in_container.sh",
"additional_environment": {
- "CONTAINER": {"Property": "container-image"},
- "HOST_ROOT": {"Value": "${NATIVE_LINK_DIR}"},
+ "CONTAINER": {"property": "container-image"},
+ "HOST_ROOT": {"value": "${NATIVE_LINK_DIR}"},
},
"cas_fast_slow_store": "WORKER_FAST_SLOW_STORE",
- "ac_store": "GRPC_LOCAL_AC_STORE",
+ "upload_action_result": {
+ "ac_store": "GRPC_LOCAL_AC_STORE",
+ },
"work_directory": "/root/.cache/nativelink/work",
"platform_properties": {
"OSFamily": {
@@ -64,7 +66,7 @@
"values": ["placeholder"]
}
},
- "precondition_script": "/root/worker_precondition_script.sh"
+ "experimental_precondition_script": "/root/worker_precondition_script.sh"
}
}],
"servers": []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment