Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1057)

Unified Diff: tools/android/loading/cloud/backend/README.md

Issue 1908483002: tools/android/loading Loading trace database improvements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor cleanup Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/android/loading/cloud/backend/google_storage_accessor.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/loading/cloud/backend/README.md
diff --git a/tools/android/loading/cloud/backend/README.md b/tools/android/loading/cloud/backend/README.md
index 5f534f2268e7a9c24ce8089afec7518d0e4f1990..b181cfa9f078e6ec84d11be4fdba795eb8194b8f 100644
--- a/tools/android/loading/cloud/backend/README.md
+++ b/tools/android/loading/cloud/backend/README.md
@@ -95,15 +95,21 @@ gcloud beta auth application-default login --scopes \
https://www.googleapis.com/auth/cloud-platform
```
-Create a JSON file describing the deployment configuration:
-
+Create a JSON dictionary file describing the deployment configuration, with the
+keys:
+
+- `project_name` (string): Name of the Google Cloud project
+- `cloud_storage_path` (string): Path in Google Storage where generated traces
+ will be stored.
+- `chrome_path` (string): Path to the Chrome executable.
+- `src_path` (string): Path to the Chromium source directory.
+- `taskqueue_tag` (string):
+- `trace_database_filename` (string, optional): Filename for the trace
+ database in Cloud Storage. Must be unique per worker to avoid concurrent
+ access. Defaults to `trace_database.json`.
+
+Example:
```shell
-# CONFIG_FILE is the output json file.
-# PROJECT_NAME is the Google Cloud project.
-# CLOUD_STORAGE_PATH is the path in Google Storage where generated traces will
-# be stored.
-# CHROME_PATH is the path to the Chrome executable on the host.
-# CHROMIUM_SRC is the Chromium src directory.
cat >$CONFIG_FILE << EOF
{
"project_name" : "$PROJECT_NAME",
« no previous file with comments | « no previous file | tools/android/loading/cloud/backend/google_storage_accessor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698