Document gcloud commands
This further automates spinning up workers on demands at events like
hackathons.
Change-Id: I31b6c1ef3ebd31f1046a2cfb76a1186fa57265a2
diff --git a/worker/README.md b/worker/README.md
index 341f4cb..cbd61ac 100644
--- a/worker/README.md
+++ b/worker/README.md
@@ -4,13 +4,34 @@
* named city-hackathon-40, city-hackathon-41, etc; the numbers should
be free in the CI master
-
+
* Machine: 24 CPUs/90G RAM.
-
+
* Disk: RHEL 7 hardened image on 100G SSD Persistent Disk
* SSH: add your personal key.
+Here is a gcloud command:
+
+```
+gcloud compute instances create \
+ --custom-cpu=24 \
+ --custom-memory=90 \
+ --image-project eip-images \
+ --image-family rhel-7-drawfork \
+ --boot-disk-size=100GB \
+ --boot-disk-type=pd-ssd \
+ --zone=us-east4-a \
+ city-hackathon-44
+```
+
+Install your own key:
+
+```
+gcloud compute ssh city-hackathon-44 --command='echo KEY >> .ssh/authorized_keys'
+```
+
+
Steps:
@@ -32,9 +53,3 @@
sh gerrit-ci-scripts/worker/setup.sh
```
-1. Run tunnel.sh (TODO(hanwen): setup in crontab from setup.sh)
-
- ```
- sh gerrit-ci-scripts/worker/tunnel.sh
- ```
-