8000 GitHub - ragingpastry/tap
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ragingpastry/tap

Repository files navigation

Tap

Description

Command-line utility used to trigger GitlabCI pipelines

Usage

tap run -h
Usage:
  run [options] [variables ...]

Arguments:
  [variables ...]

Options:
  -h, --help
  -b, --branch=BRANCH        The name of the branch. Will use current branch if not provided
  -p, --api-key=API_KEY      API key to use for authentication (env: GITLAB_API_KEY)
  -u, --url=URL              The API endpoint for Gitlab. Defaults to the origin

The API key can be defined via the environment variable GITLAB_API_KEY

The tool will attempt to auto-detect the current working branch if the --branch flag is not given.

We also attempt to auto-detect the project path based on origin. Currently this is not configurable.

Variables must be passed in this format: VAR1=VAL1 VAR2=VAL2

Example

tap run --api-key <API_KEY> "DEPLOYMENT_TYPE=app-deploy" "DEPLOYMENT=staging-monitoring"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0