Giter Site home page Giter Site logo

kanikasaini / taskcluster-github Goto Github PK

View Code? Open in Web Editor NEW

This project forked from taskcluster/taskcluster-github

0.0 1.0 0.0 810 KB

Integrate Taskcluster with Github.

Home Page: https://github.com/apps/taskcluster

License: Mozilla Public License 2.0

JavaScript 100.00%

taskcluster-github's Introduction

Taskcluster Github Service

Task 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.

NOTE: This project used to provide a base docker image for convenience's sake, but it has been deprecated due to not being that useful and not being kept up-to-date. The image will continue existing, but we recommend migrating to another image.

Docs

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

Adding status badges to your project's readme:

Insert the following string (replacing the words in caps with your organization or user name, repository name and the branch name) to the readme file in your project's repository: [![Task Status](https://github.taskcluster.net/v1/repository/USERNAME/REPONAME/BRANCHNAME/badge.svg)](https://github.taskcluster.net/v1/repository/USERNAME/REPONAME/BRANCHNAME/latest)

Components

API Server

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

Handlers

Listen 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

To run the tests, use npm test. No credentials are necessary.

To test the components separately, run:

  • server: npm run compile && <set the environment variables> node lib/main.js server
  • handlers: npm run compile && <set the environment variables> node lib/main.js worker

Deploying

This service will auto-deploy to staging in Heroku once merged into master and CI runs are successful. (You can install our staging integration here.) 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 to staging, you can verify it is working with npm run checkStaging. Note that you will need an active SSH key with write access to https://github.com/taskcluster/taskcluster-github-testing to run this check (but, no other credentials!)

After you confirm it works on stage, deploy to production with the pipeline.

Copyright notes

Emoji fonts for this project were taken from:

Service Owner

Service Owner: [email protected]

taskcluster-github's People

Contributors

bhearsum avatar ckousik avatar dividehex avatar djmitche avatar eliperelman avatar fiennyangeln avatar garbas avatar gregarndt avatar grenade avatar imbstack avatar jonasfj avatar ochameau avatar owlishdeveloper avatar petemoore avatar usize avatar walac avatar ydidwania avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.