Jet is used to locally debug and test builds for Codeship Pro, as well as to assist with several important tasks like encrypting secure credentials. If you are using Codeship Basic, you will not need to use Jet.
Jet is a CLI tool designed to make working with Codeship Pro faster and easier, as well as to put more power in a developer’s hands so that there is less time spent configuring and debugging projects via a web UI.
Jet allows you to run your CI/CD pipeline on your local machine, making it much faster to test your configuration, troubleshoot errors and discover the best setup for your project. By default, Jet skips image pushes and deployments but you can instruct it not to skip them with special options.
You can also pass a variety of environment and setup variables, making Jet a powerful way to simulate your CI/CD process without having to wait for the full push/run/feedback cycle of a real build.
Jet also allows you to encrypt your project’s environment variables and image repository credentials, helping you keep your critical information secure without impacting the flexibility of your CI/CD process.
In order to run the Jet binary on your computer, you need to have Docker installed and configured. We recommend you follow the guides regarding Docker Toolbox to get both Docker Engine and Docker Machine installed, as well as a Docker host configured.
Please follow the steps below for the operating system you are using. See the Jet Release Notes for the ChangeLog.
See the sha256sums file for checksums for the latest release. To check the downloaded files on Linux / Unix based systems run the following command.
shasum -c -a 256 sha256sums
brew cask install jet
The formula will install Docker as well. If you already have Docker installed, but didn’t use Homebrew to install it, you will be asked by Homebrew if you want to overwrite the Docker binary. If you don’t want to manage Docker via Homebrew, please use the alternative installation method below.
If you don’t have Homebrew installed or don’t use Homebrew Cask you can install
jet via the following commands.
curl -SLO "https://s3.amazonaws.com/codeship-jet-releases/1.15.4/jet-darwin_amd64_1.15.4.tar.gz" tar -xC /usr/local/bin/ -f jet-darwin_amd64_1.15.4.tar.gz chmod u+x /usr/local/bin/jet
curl -SLO "https://s3.amazonaws.com/codeship-jet-releases/1.15.4/jet-linux_amd64_1.15.4.tar.gz" sudo tar -xaC /usr/local/bin -f jet-linux_amd64_1.15.4.tar.gz sudo chmod +x /usr/local/bin/jet
Please download the version (
1.15.4) from our download site. Once you have done this, you need to extract the archive and copy the binary to your path.
The above version is statically linked and will work the same way on all platforms. But it doesn’t support certain features, e.g. resolving
.local DNS names. If your builds require this, please use the dynamically linked version instead.
Once this is done you can check that Jet is working by running
jet help. This will print output similar to the following.
$ jet version 1.15.4 $ jet help Usage: jet [command] ...
DOCKER_HOST must be set.
DOCKER_CERT_PATH are respected in the same way as with the official Docker client.
If you installed and configured your Docker environment via Docker Machine (and you are on OS X or Linux) and named the environment dev, running the following command will set those variables.
eval $(docker-machine env dev)
Now that you have Jet installed and configured, learn how to use it.
If you have any further questions, please create a post on the Codeship Community page.
Instructions for tapping the Caskroom are at the very bottom of the page. ↩