Skip to content

Simple CLI tool to fetch GitLab CI variables and output them as exportable environment variables.

Notifications You must be signed in to change notification settings

containeroo/ci-thief

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci-thief

Simple CLI tool to fetch GitLab CI variables and output them as exportable environment variables.

Installation

macOS (Homebrew)

brew install containeroo/tap/ci-thief

Usage

Fetch GitLab CI variables from a project

Usage:
  ci-thief [PROJECT_ID] [flags]
  ci-thief [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  login       Login to GitLab
  logout      Logout from GitLab
  version     Print the version of ci-thief

Flags:
  -h, --help            help for ci-thief
  -R, --non-recursive   Do not fetch variables from parent groups

Use "ci-thief [command] --help" for more information about a command.

Example:

ci-thief 1234

And you will get something like this:

# env scope *
export MY_ENV_VAR='secret value'
# env scope parentgroup/*
export MY_OTHER_ENV_VAR='another secret value'

About

Simple CLI tool to fetch GitLab CI variables and output them as exportable environment variables.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages