Skip to content

Commit 6ea60d4

Browse files
committed
feat: install Helm manually
Signed-off-by: Jan Pokorný <JenomPokorny@gmail.com>
1 parent 17e1178 commit 6ea60d4

File tree

1 file changed

+8
-2
lines changed
  • apps/agentstack-cli/src/agentstack_cli/commands

1 file changed

+8
-2
lines changed

apps/agentstack-cli/src/agentstack_cli/commands/platform.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,15 @@ async def start(
593593
await run_in_vm(
594594
vm_name,
595595
[
596-
"sh",
596+
"bash",
597597
"-c",
598-
"which helm || curl -sfL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash",
598+
textwrap.dedent("""
599+
command -v helm && exit 0
600+
case $(uname -m) in x86_64) ARCH="amd64" ;; aarch64) ARCH="arm64" ;; esac
601+
curl -fsSL "https://get.helm.sh/helm-v3.20.0-linux-${ARCH}.tar.gz" | \
602+
tar -xzf - --strip-components=1 -C /usr/local/bin "linux-${ARCH}/helm"
603+
chmod +x /usr/local/bin/helm
604+
"""),
599605
],
600606
"Installing Helm",
601607
)

0 commit comments

Comments
 (0)