Skip to content

Wiring buildkite pipelines to github repos with a single script

License

Notifications You must be signed in to change notification settings

diogonicoleti/github-buildkite-wire

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-buildkite-wire

Wiring buildkite pipelines to github repos with a single script

What it does?

  1. Creates a pipeline in Builkite that reads for steps on the repo, build PR from 3rd parties and publish commit status;
  2. Adds the right Buildkite webhook on the github repo.

Assumptions

  • the name of the pipeline will be the name of the repo;
  • the GITHUB_TOKEN and BUILDKITE_TOKEN have the right permissions;
  • you have curl and jq installed.

Usage

$ export GITHUB_TOKEN=xyz
$ export BUILDKITE_TOKEN=xpto
$
$ ./setup-pipeline.sh org-or-user repo

About

Wiring buildkite pipelines to github repos with a single script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%