Skip to content

Commit dfd6a82

Browse files
committed
Update test and build script for helm v4
Signed-off-by: Ryan Swanson <ryan.swanson@loft.sh>
1 parent b9f9a42 commit dfd6a82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hack/build-all.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ fi
4141
# Create the release directory
4242
mkdir -p "${DEVSPACE_ROOT}/release"
4343

44-
# Install Helm 3
44+
# Install Helm 4
4545
echo "Installing helm"
46-
curl -s https://get.helm.sh/helm-v3.3.4-darwin-amd64.tar.gz > helm3.tar.gz && tar -zxvf helm3.tar.gz darwin-amd64/helm && chmod +x darwin-amd64/helm
46+
curl -s https://get.helm.sh/helm-v4.0.4-darwin-amd64.tar.gz > helm4.tar.gz && tar -zxvf helm4.tar.gz darwin-amd64/helm && chmod +x darwin-amd64/helm
4747

4848
# Pull the component chart
4949
COMPONENT_CHART_VERSION=$(cat pkg/devspace/deploy/deployer/helm/client.go | grep 'Version: "' | sed -nE 's/[^"]+"(.+)",\s*/\1/p')

pkg/devspace/pipeline/engine/engine_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,5 @@ func TestHelmDownload(t *testing.T) {
132132
if err != nil {
133133
t.Fatal(err)
134134
}
135-
assert.Assert(t, strings.Contains(stdout1.String(), `Version:"v3`))
135+
assert.Assert(t, strings.Contains(stdout1.String(), `Version:"v4`))
136136
}

0 commit comments

Comments
 (0)