A tiny tool that verifies that the Application and ApplicationSet resources have a valid destination path, and that kustomize build
runs successfully in the application and component folders.
For example:
$ check-argocd --base-dir=$(pwd) --apps=apps-of-apps,apps --components=components
INFO ๐ checking Applications and ApplicationSets path=/path/to/apps-of-apps
INFO ๐ checking Applications and ApplicationSets path=/path/to/apps
INFO ๐ checking Components path=/path/to/components
INFO ๐ค all good!
Requires Go version 1.20.x (1.20.11 or higher) - download for your development environment here.
To install, execute:
$ make install
This builds the check-argocd
binary and copies it into $GOPATH/bin
.
The code is available under the terms of the Apache License 2.0.