Skip to content

Commit d5a4b56

Browse files
authored
chore: upgrade go-buildkite to v4.14.1 (scionproto#4882)
They did accidentally break backward compatibility with those option types, hence the fix.
1 parent 969d3e5 commit d5a4b56

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
connectrpc.com/connect v1.18.1
77
github.com/antlr4-go/antlr/v4 v4.13.1
88
github.com/bazelbuild/rules_go v0.60.0
9-
github.com/buildkite/go-buildkite/v4 v4.1.0
9+
github.com/buildkite/go-buildkite/v4 v4.14.1
1010
github.com/cilium/ebpf v0.18.0
1111
github.com/dchest/cmac v1.0.0
1212
github.com/fatih/color v1.18.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZx
1818
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
1919
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
2020
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
21-
github.com/buildkite/go-buildkite/v4 v4.1.0 h1:n1f3EAe8/64ju9QjSWJYMjD8++mn1pOLK/tZscD5DKo=
22-
github.com/buildkite/go-buildkite/v4 v4.1.0/go.mod h1:xlYVIETMCk46KUkmfRoztoIf888KwdY5uZXNinZ1PX0=
21+
github.com/buildkite/go-buildkite/v4 v4.14.1 h1:qAnVhGZWbSxP6JGoysG6Iv0wdVC/0DkpS85wpqcJ080=
22+
github.com/buildkite/go-buildkite/v4 v4.14.1/go.mod h1:VutoY8MvXYKNLzbobBouiBGHx/UdhBr9K2sWBWNGK+Q=
2323
github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4=
2424
github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
2525
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=

tools/buildkite/cmd/buildkite_artifacts/main.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ set. The token must have the following permissions:
6262

6363
b, _, err := client.Builds.Get(
6464
cmd.Context(), flags.org, flags.pipeline, build,
65-
&bk.BuildsListOptions{
66-
IncludeRetriedJobs: true,
65+
&bk.BuildGetOptions{
66+
BuildsListOptions: bk.BuildsListOptions{
67+
IncludeRetriedJobs: true,
68+
},
6769
})
6870
if err != nil {
6971
return serrors.Wrap("fetching build", err)

0 commit comments

Comments
 (0)