Skip to content

Commit 1ea618b

Browse files
committed
ci: update gvm to v0.6.0 to fix Go download failures
The CI builds were failing with HTTP 403 errors when downloading Go: gvm: error: failed downloading from https://storage.googleapis.com/golang/go1.24.7.windows-amd64.zip: download failed with http status 403 See andrewkroh/gvm#117 that describes the issue on gvm's side. Tested locally: $ /tmp/gvm-0.6.0 --version 0.6.0 $ eval "$(/tmp/gvm-0.6.0 1.24.7)" && go version go version go1.24.7 linux/amd64 Updated gvm version in: - .buildkite/pipeline.yml (SETUP_GVM_VERSION env var) - .buildkite/scripts/run-win-tests.ps1 (hardcoded URL) This aligns with the beats repository configuration.
1 parent 8da89ce commit 1ea618b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
22

33
env:
4-
SETUP_GVM_VERSION: 'v0.5.2'
4+
SETUP_GVM_VERSION: 'v0.6.0'
55
LINUX_AGENT_IMAGE: "golang:${GO_VERSION}"
66
WINDOWS_AGENT_IMAGE: "family/core-windows-2022"
77

.buildkite/scripts/run-win-tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function fixCRLF {
1313
function withGolang($version) {
1414
Write-Host "-- Install golang --"
1515
[Net.ServicePointManager]::SecurityProtocol = "tls12"
16-
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
16+
Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
1717
gvm --format=powershell $version | Invoke-Expression
1818
go version
1919
go env -w GOBIN="$(go env GOROOT)\bin"

0 commit comments

Comments
 (0)