Launchable CLI
Project description
Installation
pip3 install --user launchable
This creates executable ~/.local/bin/launchable
that should be on your PATH
. See PEP-370 for further details.
Set your API token
export LAUNCHABLE_TOKEN=set_your_token
How to use
Basic usage
Record build and commit
Basic usage,
launchable record build --name BUILD_ID --source .
Or if you want to specify the repo name,
launchable record build --name BUILD_ID --source REPO_NAME=REPO_DIST
Example
launchable record build --name 12345678 --source main=.
Optional
Separate commit recording
Basically, launchable record build
record commit data simultaneously. If you want to record commit individually, you could separate recording commit and build.
Using launchable record build --without-commit
, the command surpress commit recoding.
launchable record build --name 12345678 --source main=. --without-commit
To record commit individually, use record commit
.
launchable record commit --source .
Docker
You can get DockerImage from docker hub. https://hub.docker.com/repository/docker/launchableinc/cli
$ docker pull launchableinc/ingester:latest
$ docker run -it -e LAUNCHABLE_TOKEN=v1:launchableinc/reponame:xxxxx launchableinc/cli:latest launchable verify
Platform: Linux-5.4.39-linuxkit-x86_64-with-debian-10.5
Python version: 3.7.3
Java command: java
Your CLI configuration is successfully verified 🎉
You can easily integrate it into your CircleCI jobs.
launchable_verify:
docker:
- image: launchableinc/cli:latest
environment:
LAUNCHABLE_TOKEN: $LAUNCHABLE_TOKEN
steps:
- run:
name: launchable verify?
command: launchable verify || true
How to release
Create new release on Github, then Github Actions automatically uploads the module to PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.