Skip to content

Commit 8e502e5

Browse files
committed
Workaround for SSL error with curl get.helm.sh in github actions
valid until next helm release
1 parent ea23ebf commit 8e502e5

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

bin/y-bin.runner.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ skaffold:
6868
linux_arm64: df3ca1d83a4be9b7f4795de4470c8274a8420563d2d0d40fbcafbc92bd1b6c8e
6969

7070
helm:
71-
version: 3.16.1
71+
version: 3.16.2
7272
templates:
7373
download: https://get.helm.sh/helm-v${version}-${os}-${arch}.tar.gz
7474
sha256: https://get.helm.sh/helm-v${version}-${os}-${arch}.tar.gz.sha256sum
7575
sha256:
76-
darwin_amd64: 1b194824e36da3e3889920960a93868b541c7888c905a06757e88666cfb562c9
77-
darwin_arm64: 405a3b13f0e194180f7b84010dfe86689d7703e80612729882ad71e2a4ef3504
78-
linux_amd64: e57e826410269d72be3113333dbfaac0d8dfdd1b0cc4e9cb08bdf97722731ca9
79-
linux_arm64: 780b5b86f0db5546769b3e9f0204713bbdd2f6696dfdaac122fbe7f2f31541d2
76+
darwin_amd64: 33efd48492f2358a49a231873e8baf41f702b5ab059333ae9c31e5517633c16e
77+
darwin_arm64: 56413c7fbb496d2789881039cab61d849727c7b35db00826fae7a2685a403344
78+
linux_amd64: 9318379b847e333460d33d291d4c088156299a26cd93d570a7f5d0c36e50b5bb
79+
linux_arm64: 1888301aeb7d08a03b6d9f4d2b73dcd09b89c41577e80e3455c113629fc657a4
8080
archive:
8181
tool: tar
8282
path: ${os}-${arch}/helm

runner.Dockerfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN set -ex; \
99
); \
1010
\
1111
export DEBIAN_FRONTEND=noninteractive; \
12-
runDeps='ca-certificates curl git jq unzip findutils patch xz-utils'; \
12+
runDeps='ca-certificates curl git jq unzip findutils patch xz-utils gpg apt-transport-https'; \
1313
buildDeps=''; \
1414
apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
1515
\
@@ -43,7 +43,15 @@ COPY bin/y-kustomize /usr/local/src/ystack/bin/
4343
RUN y-kustomize version
4444

4545
COPY bin/y-helm /usr/local/src/ystack/bin/
46-
RUN y-helm version --client=true
46+
# RUN y-helm version --client=true
47+
RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null \
48+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list \
49+
&& apt-get update \
50+
&& apt-get install helm \
51+
&& helm version --client=true \
52+
&& ln -s $(which helm) /usr/local/src/ystack/bin/helm \
53+
&& ln -s $(which helm) /usr/local/src/ystack/bin/y-helm-v3.16.2-bin \
54+
&& y-helm version --client=true
4755

4856
COPY bin/y-buildctl /usr/local/src/ystack/bin/
4957
RUN y-buildctl --version

0 commit comments

Comments
 (0)