Services for integrating TaskCluster with GitHub.
JavaScript Shell
Latest commit e0c5dce Aug 8, 2016 1 @imbstack imbstack committed on GitHub Merge pull request #66 from taskcluster/add_base_sha
Publish base sha in push pulse messages

README.md

TaskCluster GitHub Service

Build Status

This service monitors all of the repositories associated with an organization for changes and schedules TaskCluster tasks for any repository which contains a .taskcluster.yml configuration file. The goal of this project is to provide project owners a method for scheduling jobs in TaskCluster which is quick and straight forward.

This project is tested in both Travis and Taskcluster.

Docs

See: https://docs.taskcluster.net/manual/vcs/github

Components

API Server

Listens for WebHooks and, if they are valid, forwards them to a pulse exchange.

Worker

Listens for WebHook triggered pulse messages and attempts to schedule TaskCluster tasks for any events related to a repository which contains a .taskcluster.yml file.

Contributing

Run Tests

From the project's base run npm test note: Initially, this will only run unit tests. To run integration tests add pulse credentials to user-config.yml. An example is available at user-config-example.yml.

Deploying

This service will auto-deploy in Heroku once merged into master and CI runs are successful. If you need to force a deploy because we've broken CI in some way and this urgently needs to be deployed, you can do it from the Heroku console. Once the new version has been deployed, you can verify it is working by making a throw-away pull request into this project. If it is tested and has the status updated by this service, it is working.