GittyUp automates updating manifests files in GitOps repositories. A typical use case is to use it as part of a CI pipeline to update versions in a manifest file after changes are committed for release. It currently supports updating JSON, YAML and HCL. It works by cloning a repo, parsing a manifest file, update values and creating a branch with the changes. If it is a GitHub repo it will also create a pull request.
brew install liatrio/tap/gitty-up
Download an executable from releases
docker pull liatrio/gitty-up:latest
Most arguments can be set as flags or with environment variables.
--gitUrl | GITOPS_GIT_URL (required)
https://github.com/my-org/my-repo or [email protected]/my-org/my-repo.git--gitUsername | GITOPS_GIT_USERNAME (required)
--gitPassword | GITOPS_GIT_PASSWORD (required)
--repoFile | GITOPS_REPO_FILE (required)
testing/application.json--values | GITOPS_VALUES (required)
--dry-run
gitty-up -gitUrl=https://github.com/my-org/my-repo -gitUsername=USERNAME -gitPassword=PASSWORD -repoFile=testing/application.json --values=main.version=v0.0.42
This will change the value of main.version to v0.0.42 in the file testing/application.json for the repo https://github.com/my-org/my-repo
docker run liatrio/gitty-up --gitUrl=https://github.com/my-org/my-repo --gitUsername=USERNAME --gitPassword=PASSWORD --repoFile=testing/application.json --values=version=v0.0.42
Content type
Image
Digest
Size
8.9 MB
Last updated
over 5 years ago
docker pull liatrio/gitty-up