diff --git a/dashboard/README.md b/dashboard/README.md index deec5e5f0..b887e7051 100644 --- a/dashboard/README.md +++ b/dashboard/README.md @@ -9,5 +9,15 @@ gcloud compute --project "sanitizer-bots" scp --zone "us-east1-d" sanitizers "da gcloud compute ssh --project "sanitizer-bots" --zone "us-east1-d" dashboard-v2 --command "sudo chown root:root /opt/sanitizers" ``` +or + +``` +go build --ldflags '-linkmode external -extldflags=-static' && \ +gcloud compute config-ssh --remove && gcloud compute config-ssh --force-key-file-overwrite && \ +ssh dashboard-v2.us-east1-d.sanitizer-bots "sudo rm -f /opt/sanitizers" && \ +scp sanitizers "dashboard-v2.us-east1-d.sanitizer-bots:/opt" && \ +ssh dashboard-v2.us-east1-d.sanitizer-bots "sudo chown root:root /opt/sanitizers" +``` + Note: If you get a message about "scp: /opt/sanitizers: Text file busy", wait a few seconds and try again.