restructure
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# 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-arm64.tar.gz | tar zx
|
||||
|
||||
# move the binary to your $PATH
|
||||
mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot
|
||||
|
||||
# check the installation
|
||||
argocd-autopilot version
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
argocd-autopilot repo bootstrap --app https://github.com/argoproj-labs/argocd-autopilot/manifests/ha
|
||||
Reference in New Issue
Block a user