Skip to content

Commit

Permalink
[dashboard] Include config-ssh version
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Jun 6, 2024
1 parent 425a5a4 commit 287c9e4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 287c9e4

Please sign in to comment.