build-waiter

command module
v0.0.0-...-0c95882 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 10 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL