OLD | NEW |
1 SkiaPerf Server | 1 SkiaPerf Server |
2 =============== | 2 =============== |
3 | 3 |
4 Reads Skia performance data from databases and serves interactive dashboards | 4 Reads Skia performance data from databases and serves interactive dashboards |
5 for easy exploration and annotations. | 5 for easy exploration and annotations. |
6 | 6 |
7 Server Setup | 7 Server Setup |
8 ============ | 8 ============ |
9 | 9 |
10 Please refer to compute_engine_scripts/perfserver/README under the repo for | 10 Please refer to compute_engine_scripts/perfserver/README under the repo for |
11 instructions on creating and destroying the instance. The rest of this document | 11 instructions on creating and destroying the instance. The rest of this document |
12 is what to do once the instance is created. | 12 is what to do once the instance is created. |
13 | 13 |
14 gcutil --project=google.com:skia-buildbots addinstance skia-perf-b \ | 14 gcutil --project=google.com:skia-buildbots addinstance skia-perf-b \ |
15 --zone=us-central2-b --external_ip_address=108.170.220.208 \ | 15 --zone=us-central2-b --external_ip_address=108.170.220.208 \ |
16 --service_account=default \ | 16 --service_account=default \ |
17 --service_account_scopes="https://www.googleapis.com/auth/devstorage.full_co
ntrol" \ | 17 --service_account_scopes="bigquery,storage-full" \ |
18 --network=default --machine_type=n1-standard-1 --image=backports-debian-7-wh
eezy-v20140605 \ | 18 --network=default --machine_type=n1-standard-1 --image=backports-debian-7-wh
eezy-v20140605 \ |
19 --persistent_boot_disk | 19 --persistent_boot_disk |
20 | 20 |
21 SSH into the instance | 21 SSH into the instance |
22 | 22 |
23 gcutil --project=google.com:skia-buildbots ssh --ssh_user=default skia-perf-b | 23 gcutil --project=google.com:skia-buildbots ssh --ssh_user=default skia-perf-b |
24 | 24 |
25 Do the first time | 25 Do the first time |
26 ================= | 26 ================= |
27 | 27 |
(...skipping 20 matching lines...) Expand all Loading... |
48 This means that monit will poll every two seconds that our application is up | 48 This means that monit will poll every two seconds that our application is up |
49 and running. | 49 and running. |
50 | 50 |
51 To update the code | 51 To update the code |
52 ================== | 52 ================== |
53 | 53 |
54 1. SSH into the server as default. | 54 1. SSH into the server as default. |
55 2. cd ~/buildbot/perf/server/setup | 55 2. cd ~/buildbot/perf/server/setup |
56 3. git pull | 56 3. git pull |
57 4. ./perf_setup.sh | 57 4. ./perf_setup.sh |
OLD | NEW |