Taskcluster/TaskClusterGitHub: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "== Docs == http://docs.taskcluster.net/services/taskcluster-github/ == Administration == TCGH is a Heroku app, all of its relevant configuration can be managed from the Herok...")
 
m (Callek moved page TaskCluster/TaskClusterGitHub to Taskcluster/TaskClusterGitHub: Pinged directly by :dustin to do this)
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
##Note: If the WebHook Secret ever changes all repositories will be broken until they set up their webhooks again.
##Note: If the WebHook Secret ever changes all repositories will be broken until they set up their webhooks again.
# Give the GitHub account https://github.com/TaskClusterRobot permissions to comment on pull requests, commits, and set statuses.
# Give the GitHub account https://github.com/TaskClusterRobot permissions to comment on pull requests, commits, and set statuses.
##Note: I recommend managing permissions via the creation of "Robot" team where TaskClusterRobot is a member.
##Note: https://github.com/TaskClusterRobot/utils/blob/master/repo-update.js may be used to set permissions in bulk.

Latest revision as of 18:41, 3 July 2017

Docs

http://docs.taskcluster.net/services/taskcluster-github/

Administration

TCGH is a Heroku app, all of its relevant configuration can be managed from the Heroku dashboards.

Setting up a new repo

  1. Have the repo create a webhook, where the url points at the tcgh heroku app's url.
    1. Note: There is a "Secret" that must be entered when setting up the webook.
    2. Note: If the WebHook Secret ever changes all repositories will be broken until they set up their webhooks again.
  2. Give the GitHub account https://github.com/TaskClusterRobot permissions to comment on pull requests, commits, and set statuses.
    1. Note: I recommend managing permissions via the creation of "Robot" team where TaskClusterRobot is a member.
    2. Note: https://github.com/TaskClusterRobot/utils/blob/master/repo-update.js may be used to set permissions in bulk.