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

Unified Diff: infra/services/gsubtreed/README.md

Issue 2145753008: Update gsubtreed docs with more details. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/services/gsubtreed/README.md
diff --git a/infra/services/gsubtreed/README.md b/infra/services/gsubtreed/README.md
index 775b534e124bcacde2e4adabded343c6b3d6d16d..8894b9c21c288fe03d0ac387ca97912d044acaac 100644
--- a/infra/services/gsubtreed/README.md
+++ b/infra/services/gsubtreed/README.md
@@ -18,6 +18,15 @@ poll+process cycle for the repo that it's mirroring.
branching it off of another ref like `master`). Note that you'll
probably also want to do a `git rm -rf` after you check out the orphan
ref to clear the index+working copy.
+
+ ```sh
+ git checkout --orphan gsubtreed-config/main
+ git rm -rf *
+ vim config.json ## Edit the file
+ git commit -am 'Created gsubtreed config'
+ git push remote refs/gsubtreed-config/main
+ ```
+
1. (optional) If you have existing git mirrors (probably mirrored via git-svn),
disable the mirroring service for them. If not, create the mirrors. By
default if gsubtreed mirrors the path `bob` in `https://.../repo`, it will
@@ -58,6 +67,16 @@ poll+process cycle for the repo that it's mirroring.
1. At this point you should set up a new bot on the [infra cron waterfall][2]
to run this on a regular interval.
+ * Request a new VM for the bot -
+ [sample ticket](http://crbug.com/626818) (internal)
+
+ * Use existing gsubtreed configs as templates in `master.cfg` and
+ `slaves.cfg` to set it up; remember to add the new bot to the
+ `Periodic` scheduler together with the other gsubtreed bots
+
+ * Push the appropriate credentials to the VM -
+ [see an example CL](http://go/chromerev/469017013) (internal).
+
## Usage:
run.py infra.services.gsubtreed <repo_url>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698