launcher
Entrypoint for job launching in Screwdriver
1M+
The entrypoint for launching a build in Screwdriver
$ go get github.com/screwdriver-cd/launcher
$ launcher --api-uri http://localhost:8080/v4 buildId
$ hab package install screwdriver-cd/launcher
$ hab package exec screwdriver-cd/launcher launcher --api-uri http://localhost:8080/v4 buildId
$ 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
$ go get github.com/screwdriver-cd/launcher
$ go test -cover github.com/screwdriver-cd/launcher/...
$ habitat studio enter
$ build
$ hab pkg exec $HAB_ORIGIN/launcher launcher --help
Code licensed under the BSD 3-Clause license. See LICENSE file for terms.
Content type
Image
Digest
sha256:e2e0da547…
Size
346.4 MB
Last updated
6 days ago
docker pull screwdrivercd/launcher:v6.0.236