Closed broady closed 7 years ago
Not sure if this is the same or separate, but the webhook (or whatever) that looks for phrases like "Fixes #000" in a commit message and closes the corresponding github issue should also use gopherbot's credentials, not Dave's.
We could make the main Go repo's syncer do it, as the "gopherbot" user.
That code lives in x/build/cmd/coordinator/watcher_process.go.
What do other GCP repos do? (other languages)
What do other GCP repos do? (other languages)
Use Github directly instead of Gerrit?
@bradfitz that'd be great. I'll add gopherbot as a pusher to this repo.
We either need to run two coordinators or support multiple github orgs/gerrit origins. What do you think?
Ah. Then I'm all for mimicking the main Go repo's config. The fewer unique configs, the merrier.
gopherbot invited to GCP org. please accept, @bradfitz
Thanks all, this SGTM.
@broady implemented this, I believe. Closing for now. Feel free to reopen if I'm wrong.
Yup.
https://github.com/broady/reposync, and it runs in this GCP project: https://console.cloud.google.com/project/go-cloud-reposync
Status page: https://go-cloud-reposync.appspot-preview.com/status
Monitoring: https://app.google.stackdriver.com/policy-advanced/208979668997567920?project=go-cloud-reposync
At the moment it's running on @okdave's workstation under his desk.
Find a more solid solution (that maybe uses gopherbot's credentials?)
/cc @adams-sarah @okdave @jba @rakyll @zombiezen