launcher

command module
v6.0.17+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: BSD-3-Clause Imports: 17 Imported by: 0

README

Screwdriver Launcher

Build Status Open Issues Latest Release Go Report Card

The entrypoint for launching a build in Screwdriver

Usage

Go
$ go get github.com/screwdriver-cd/launcher
$ launcher --api-uri http://localhost:8080/v4 buildId
Habitat
$ hab package install screwdriver-cd/launcher
$ hab package exec screwdriver-cd/launcher launcher --api-uri http://localhost:8080/v4 buildId
Docker
$ docker pull screwdrivercd/launcher
$ docker run screwdrivercd/launcher --api-uri http://localhost:8080/v4 buildId

If you want to use an alternative shell (instead of /bin/sh) you can set the environment variable SD_SHELL_BIN to what you want to use.

$ SD_SHELL_BIN=/bin/bash launch --api-url http://localhost:8080/v4 buildId

Testing

$ go get github.com/screwdriver-cd/launcher
$ go test -cover github.com/screwdriver-cd/launcher/...

Building

Habitat
$ habitat studio enter
$ build
$ hab pkg exec $HAB_ORIGIN/launcher launcher --help

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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