Features
- Use default branch from git config instead of master #196
Contributors:
- Roi Kramer (@roi-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):
# download and extract the binary
curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.23/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):
# download and extract the binary
curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.23/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:v0.2.23 <cmd> <flags>