Skip to content

Commit 50749d1

Browse files
authored
ci: workaround for get.helm.sh outage (#20552)
<!-- If you have used AI to produce some or all of this PR, please ensure you have read our [AI Contribution guidelines](https://coder.com/docs/about/contributing/AI_CONTRIBUTING) before submitting. -->
1 parent 9986dc0 commit 50749d1

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,17 @@ jobs:
204204
205205
# Needed for helm chart linting
206206
- name: Install helm
207-
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
208-
with:
209-
version: v3.9.2
207+
# uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
208+
# with:
209+
# version: v3.9.2
210+
# The below is taken from https://helm.sh/docs/intro/install/#from-apt-debianubuntu
211+
run: |
212+
set -euo pipefail
213+
sudo apt-get install curl gpg apt-transport-https --yes
214+
curl -fsSL https://packages.buildkite.com/helm-linux/helm-debian/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
215+
echo "deb [signed-by=/usr/share/keyrings/helm.gpg] https://packages.buildkite.com/helm-linux/helm-debian/any/ any main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
216+
sudo apt-get update
217+
sudo apt-get install helm
210218
211219
- name: make lint
212220
run: |

0 commit comments

Comments
 (0)