Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit134924d

Browse files
authored
ci: add fallback for helm install when get.helm.sh is down (#21268)
Add a fallback step that installs helm via apt from Buildkite'srepository if the primary `azure/setup-helm` action fails. This makes CIresilient to `get.helm.sh` outages while preserving the caching benefitsof the action when it works.## Changes- Primary: `azure/setup-helm` with `continue-on-error: true`- Fallback: apt install from Buildkite's helm-debian repository (onlyruns if primary fails)The fallback uses GPG-signed packages from the [official Helm aptrepository](https://helm.sh/docs/intro/install/#from-apt-debianubuntu)hosted by Buildkite.## BackgroundOn Oct 29, 2025, `get.helm.sh` experienced an outage that broke CI. Aworkaround was applied (#20552) but later reverted. This PR makes theworkaround automatic - it only kicks in when needed.Fixes:coder/internal#1109
1 parent42e964f commit134924d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,22 @@ jobs:
207207
uses:azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4# v4.3.1
208208
with:
209209
version:v3.9.2
210+
continue-on-error:true
211+
id:setup-helm
212+
213+
-name:Install helm (fallback)
214+
if:steps.setup-helm.outcome == 'failure'
215+
# Fallback to Buildkite's apt repository if get.helm.sh is down.
216+
# See: https://github.com/coder/internal/issues/1109
217+
run:|
218+
set -euo pipefail
219+
curl -fsSL https://packages.buildkite.com/helm-linux/helm-debian/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
220+
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
221+
sudo apt-get update
222+
sudo apt-get install -y helm=3.9.2-1
223+
224+
-name:Verify helm version
225+
run:helm version --short
210226

211227
-name:make lint
212228
run:|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp