thelma

module
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2022 License: BSD-3-Clause

README

thelma

codecov Go Report Card

thelma (short for Terra Helm Automator) is a CLI tool for interacting with Terra's Helm charts.

It includes subcommands for publishing charts to the terra-helm repo as well as rendering manifests locally.

Local Development

The Makefile has targets for facilitating local development, including:

make help    # Print out all Makefile targets w/ brief description
make build   # Compile thelma binary into output
make release # Assemble a thelma release
make test    # Run unit tests
make smoke   # Run unit and smoke tests
make cover   # View code coverage report for tests in browser

The build and release targets accept useful parameters:

# Run a cross-platform build if desired
make build OS=linux ARCH=amd64

# Assemble a cross-platform build into a release archive
make release OS=linux ARCH=arm64

Directories

Path Synopsis
cmd
internal
thelma/gitops/statefixtures
Package statefixtures provides a fake state provider for use in unit tests
Package statefixtures provides a fake state provider for use in unit tests
thelma/render
Package render contains code for rendering Kubernetes manifests from Helm charts
Package render contains code for rendering Kubernetes manifests from Helm charts
thelma/render/helmfile/stateval
Package stateval is used for generating Helmfile state values.
Package stateval is used for generating Helmfile state values.
thelma/utils/gcp/bucket/testing/assert
Package assert contains helper functions for making Testify assertions about objects in GCS buckets.
Package assert contains helper functions for making Testify assertions about objects in GCS buckets.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL