GithubHelp home page GithubHelp logo

krames / build-waiter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeship/build-waiter

0.0 1.0 0.0 1.58 MB

Codeship utility that waits for older builds on branch to run before continuing to execute build

License: MIT License

Dockerfile 4.70% Makefile 15.15% Go 80.15%

build-waiter's Introduction

build-waiter

build-waiter is a utility which will block until all of the previously run builds for a given branch are completed.

For example, this is a sample output of build-waiter if we were waiting for a build ahead of us.

Waiting on build 8f1076e1-3968-43ea-a366-1c97c1cad27d
Waiting on build 8f1076e1-3968-43ea-a366-1c97c1cad27d
Waiting on build 8f1076e1-3968-43ea-a366-1c97c1cad27d
Waiting on build 8f1076e1-3968-43ea-a366-1c97c1cad27d
Waiting on build 8f1076e1-3968-43ea-a366-1c97c1cad27d
Waiting on build 8f1076e1-3968-43ea-a366-1c97c1cad27d
Resuming build

Usage

build-waiter expects the following environment variables to be set:

Environment Variable Description
CODESHIP_USERNAME Email address of account used for API calls.
CODESHIP_PASSWORD Password of account used for API calls.
CODESHIP_ORGANIZATION Name of the Codeship organization the project resides in.
CI_PROJECT_ID The UUID of the project for the running build.
CI_BUILD_ID The UUID of build running build-waiter.

Note: A dockerized version is available in the codeship/build-waiter-image repo.

Development

This project uses dep for dependency management.

To install/update dep and all dependencies, run:

make setup
make dep

Testing

make test

build-waiter's People

Contributors

krames avatar markphelps avatar

Watchers

James Cloos 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.