Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 2.33 KB

README.template.md

File metadata and controls

72 lines (50 loc) · 2.33 KB

${APP}

Heavily inspired on Terragrunt Atlantis Configuration - This will read a Terragrunt-like directory layout, interpret all local Terragrunt config blocks while parsing an input TXT Golang template that should effectively mimic a .gitlab-ci.yml file.

The actual input file should be a valid .gitlab-ci.yml file with Golang. An example can be found here

> terragrunt-gitlab-cicd-config --help
By taking a Golang TXT template file, it generates GitlabCI Config for Terragrunt IaC live style projects maintained in a mono-repo fashion.

Usage:
  terragrunt-gitlab-cicd-config [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  generate    Creates GitLab CICD Dynamic configuration
  help        Help about any command
  version     Version of terragrunt-gitlab-cicd-config

Flags:
  -h, --help               help for terragrunt-gitlab-cicd-config
  -v, --verbosity string   Log level (debug, info, warn, error, fatal, panic (default "info")

Use "terragrunt-gitlab-cicd-config [command] --help" for more information about a command.

Get it

Using go get:

go get -u github.com/kitos9112/${APP}

Or download the binary from the releases page.

# Linux x86_64
curl -L https://github.com/kitos9112/${APP}/releases/download/${VERSION}/${APP}_${VERSION}_linux_x86_64.tar.gz | tar xz
# Linux arm64
curl -L https://github.com/kitos9112/${APP}/releases/download/${VERSION}/${APP}_${VERSION}_linux_arm64.tar.gz | tar xz

# OS X x86_64
curl -L https://github.com/kitos9112/${APP}/releases/download/${VERSION}/${APP}_${VERSION}_osx_x86_64.tar.gz | tar xz
# OS X arm64
curl -L https://github.com/kitos9112/${APP}/releases/download/${VERSION}/${APP}_${VERSION}_osx_arm64.tar.gz | tar xz

# Windows x86_64
curl -LO https://github.com/kitos9112/${APP}/releases/download/${VERSION}/${APP}_${VERSION}_windows_x86_64.zip
unzip ${APP}_${VERSION}_windows_x86_64.zip

Use it


${APP} [OPTIONS] [COMMAND [ARGS...]]

${USAGE}

Examples

WIP