Breaking Changes:
- Combined
--repo
,--installation-path
and--revision
into a single url, set by--repo
with the following syntax:
argocd-autopilot <command> --repo https://github.com/owner/name/path/to/installation_path?ref=branch
The REPO_URL
environment variable also uses the new syntax
Bug fixes:
- failed to build bootstrap manifests #82
- Adding two applications with the same ns causes sync ping-pong #23
Additional changes:
- The
RunRepoCreate
func now returns(*git.CloneOptions, error)
dependency onpackr
for compiling source with additional assets required by argo-cd dependency.
Contributors:
- Roi Kramer (@roi-codefresh)
- Noam Gal (@noam-codefresh)
Installation:
To use the argocd-autopilot
CLI you need to download the latest binary from the git release page.
Using brew:
# install
brew install argocd-autopilot
# check the installation
argocd-autopilot version
Linux and WSL (using curl):
# get the latest version or change to a specific version
VERSION=$(curl --silent "https://api.github.com/repos/argoproj-labs/argocd-autopilot/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')
# download and extract the binary
curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/$VERSION/argocd-autopilot-linux-amd64.tar.gz | tar zx
# move the binary to your $PATH
mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot
# check the installation
argocd-autopilot version
Mac (using curl):
# get the latest version or change to a specific version
VERSION=$(curl --silent "https://api.github.com/repos/argoproj-labs/argocd-autopilot/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')
# download and extract the binary
curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/$VERSION/argocd-autopilot-darwin-amd64.tar.gz | tar zx
# move the binary to your $PATH
mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot
# check the installation
argocd-autopilot version
Docker:
When using the Docker image, you have to provide the .kube
and .gitconfig
directories as mounts to the running container:
docker run \
-v ~/.kube:/home/autopilot/.kube \
-v ~/.gitconfig:/home/autopilot/.gitconfig \
-it quay.io/argoprojlabs/argocd-autopilot <cmd> <flags>