-
Notifications
You must be signed in to change notification settings - Fork 52
Update buildkit to v0.28.1 #3219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Elijah-Destigni
wants to merge
6
commits into
conforma:main
Choose a base branch
from
Elijah-Destigni:eli/dep-bump
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
2ddff00
Update buildkit to v0.28.1
Elijah-Destigni 4828c00
Update golang builder base images
simonbaird f361ef6
Update buildkit in tools/go.mod also
simonbaird f267e3c
Update golang version in .tool-versions also
simonbaird 2ca630d
added build tags to benchmark files
Elijah-Destigni b11865b
Merge branch 'main' into eli/dep-bump
Elijah-Destigni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| golang 1.25.3 | ||
| golang 1.25.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| module github.com/conforma/cli/acceptance | ||
|
|
||
| go 1.25.3 | ||
| go 1.25.5 | ||
|
|
||
| require ( | ||
| cuelang.org/go v0.15.3 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| module github.com/conforma/cli | ||
|
|
||
| go 1.25.3 | ||
| go 1.25.5 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When we update golang we have to also update the builder base image in two dockerfiles.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I can push a commit on top of this to do that. |
||
|
|
||
| require ( | ||
| cuelang.org/go v0.15.3 | ||
|
|
@@ -36,7 +36,7 @@ require ( | |
| github.com/sigstore/sigstore v1.10.4 | ||
| github.com/sirupsen/logrus v1.9.4 | ||
| github.com/smarty/cproxy/v2 v2.1.1 | ||
| github.com/spdx/tools-golang v0.5.5 | ||
| github.com/spdx/tools-golang v0.5.7 | ||
| github.com/spf13/afero v1.15.0 | ||
| github.com/spf13/cobra v1.10.2 | ||
| github.com/spf13/pflag v1.0.10 | ||
|
|
@@ -48,7 +48,7 @@ require ( | |
| github.com/testcontainers/testcontainers-go/modules/registry v0.34.0 | ||
| golang.org/x/benchmarks v0.0.0-20241115175113-a2b48b605b42 | ||
| golang.org/x/exp v0.0.0-20250911091902-df9299821621 | ||
| golang.org/x/net v0.49.0 // indirect | ||
| golang.org/x/net v0.51.0 // indirect | ||
| golang.org/x/sync v0.19.0 | ||
| k8s.io/apiextensions-apiserver v0.34.2 | ||
| k8s.io/apimachinery v0.35.0 | ||
|
|
@@ -65,7 +65,7 @@ replace github.com/google/go-containerregistry => github.com/conforma/go-contain | |
| require ( | ||
| github.com/go-openapi/runtime v0.29.2 | ||
| github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 | ||
| golang.org/x/text v0.33.0 | ||
| golang.org/x/text v0.34.0 | ||
| gopkg.in/yaml.v3 v3.0.1 | ||
| k8s.io/api v0.35.0 | ||
| ) | ||
|
|
@@ -115,30 +115,30 @@ require ( | |
| github.com/alibabacloud-go/tea-utils/v2 v2.0.6 // indirect | ||
| github.com/alibabacloud-go/tea-xml v1.1.3 // indirect | ||
| github.com/aliyun/credentials-go v1.3.9 // indirect | ||
| github.com/anchore/go-struct-converter v0.0.0-20230627203149-c72ef8859ca9 // indirect | ||
| github.com/anchore/go-struct-converter v0.1.0 // indirect | ||
| github.com/antlr4-go/antlr/v4 v4.13.1 // indirect | ||
| github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect | ||
| github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect | ||
| github.com/aws/aws-sdk-go-v2 v1.41.0 // indirect | ||
| github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.1 // indirect | ||
| github.com/aws/aws-sdk-go-v2/config v1.32.5 // indirect | ||
| github.com/aws/aws-sdk-go-v2/credentials v1.19.5 // indirect | ||
| github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.16 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.16 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.16 // indirect | ||
| github.com/aws/aws-sdk-go-v2 v1.41.1 // indirect | ||
| github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.4 // indirect | ||
| github.com/aws/aws-sdk-go-v2/config v1.32.7 // indirect | ||
| github.com/aws/aws-sdk-go-v2/credentials v1.19.7 // indirect | ||
| github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.17 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.17 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.17 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.9 // indirect | ||
| github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.12 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/ecr v1.51.2 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.38.2 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.4 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.8.9 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.16 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.9 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/s3 v1.88.3 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/signin v1.0.4 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/sso v1.30.7 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.12 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/sts v1.41.5 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.3 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.17 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.12 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/s3 v1.89.1 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/signin v1.0.5 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/sso v1.30.9 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.13 // indirect | ||
| github.com/aws/aws-sdk-go-v2/service/sts v1.41.6 // indirect | ||
| github.com/aws/smithy-go v1.24.0 // indirect | ||
| github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.11.0 // indirect | ||
| github.com/basgys/goxml2json v1.1.0 // indirect | ||
|
|
@@ -162,18 +162,18 @@ require ( | |
| github.com/cncf/xds/go v0.0.0-20251210132809-ee656c7534f5 // indirect | ||
| github.com/cockroachdb/apd/v3 v3.2.1 // indirect | ||
| github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect | ||
| github.com/containerd/containerd/v2 v2.2.0 // indirect | ||
| github.com/containerd/containerd/v2 v2.2.1 // indirect | ||
| github.com/containerd/errdefs v1.0.0 // indirect | ||
| github.com/containerd/errdefs/pkg v0.3.0 // indirect | ||
| github.com/containerd/log v0.1.0 // indirect | ||
| github.com/containerd/platforms v1.0.0-rc.2 // indirect | ||
| github.com/containerd/stargz-snapshotter/estargz v0.18.1 // indirect | ||
| github.com/containerd/stargz-snapshotter/estargz v0.18.2 // indirect | ||
| github.com/containerd/typeurl/v2 v2.2.3 // indirect | ||
| github.com/coreos/go-oidc/v3 v3.17.0 // indirect | ||
| github.com/cpuguy83/dockercfg v0.3.2 // indirect | ||
| github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect | ||
| github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 // indirect | ||
| github.com/cyphar/filepath-securejoin v0.4.1 // indirect | ||
| github.com/cyphar/filepath-securejoin v0.6.0 // indirect | ||
| github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
| github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect | ||
| github.com/dgraph-io/badger/v4 v4.8.0 // indirect | ||
|
|
@@ -184,7 +184,7 @@ require ( | |
| github.com/distribution/reference v0.6.0 // indirect | ||
| github.com/docker/cli v29.3.1+incompatible // indirect | ||
| github.com/docker/distribution v2.8.3+incompatible // indirect | ||
| github.com/docker/docker-credential-helpers v0.9.4 // indirect | ||
| github.com/docker/docker-credential-helpers v0.9.5 // indirect | ||
| github.com/docker/go-connections v0.5.0 // indirect | ||
| github.com/docker/go-units v0.5.0 // indirect | ||
| github.com/dustin/go-humanize v1.0.1 // indirect | ||
|
|
@@ -269,7 +269,7 @@ require ( | |
| github.com/json-iterator/go v1.1.12 // indirect | ||
| github.com/jstemmer/go-junit-report v1.0.0 // indirect | ||
| github.com/kevinburke/ssh_config v1.2.0 // indirect | ||
| github.com/klauspost/compress v1.18.2 // indirect | ||
| github.com/klauspost/compress v1.18.4 // indirect | ||
| github.com/kr/pretty v0.3.1 // indirect | ||
| github.com/kr/text v0.2.0 // indirect | ||
| github.com/lestrrat-go/blackmagic v1.0.4 // indirect | ||
|
|
@@ -289,18 +289,18 @@ require ( | |
| github.com/mattn/go-runewidth v0.0.19 // indirect | ||
| github.com/miekg/pkcs11 v1.1.1 // indirect | ||
| github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
| github.com/moby/buildkit v0.26.3 // indirect | ||
| github.com/moby/buildkit v0.28.1 // indirect | ||
| github.com/moby/docker-image-spec v1.3.1 // indirect | ||
| github.com/moby/go-archive v0.1.0 // indirect | ||
| github.com/moby/go-archive v0.2.0 // indirect | ||
| github.com/moby/locker v1.0.1 // indirect | ||
| github.com/moby/patternmatcher v0.6.0 // indirect | ||
| github.com/moby/patternmatcher v0.6.1 // indirect | ||
| github.com/moby/sys/sequential v0.6.0 // indirect | ||
| github.com/moby/sys/user v0.4.0 // indirect | ||
| github.com/moby/sys/userns v0.1.0 // indirect | ||
| github.com/moby/term v0.5.2 // indirect | ||
| github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
| github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect | ||
| github.com/morikuni/aec v1.0.0 // indirect | ||
| github.com/morikuni/aec v1.1.0 // indirect | ||
| github.com/mozillazg/docker-credential-acr-helper v0.4.0 // indirect | ||
| github.com/muhammadmuzzammil1998/jsonc v1.0.0 // indirect | ||
| github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
|
|
@@ -353,7 +353,7 @@ require ( | |
| github.com/tchap/go-patricia/v2 v2.3.3 // indirect | ||
| github.com/thales-e-security/pool v0.0.2 // indirect | ||
| github.com/theupdateframework/go-tuf v0.7.0 // indirect | ||
| github.com/theupdateframework/go-tuf/v2 v2.3.0 // indirect | ||
| github.com/theupdateframework/go-tuf/v2 v2.4.1 // indirect | ||
| github.com/tidwall/gjson v1.17.0 // indirect | ||
| github.com/tidwall/match v1.1.1 // indirect | ||
| github.com/tidwall/pretty v1.2.1 // indirect | ||
|
|
@@ -398,13 +398,13 @@ require ( | |
| go.uber.org/zap v1.27.1 // indirect | ||
| go.yaml.in/yaml/v2 v2.4.3 // indirect | ||
| go.yaml.in/yaml/v3 v3.0.4 // indirect | ||
| golang.org/x/crypto v0.47.0 // indirect | ||
| golang.org/x/mod v0.31.0 // indirect | ||
| golang.org/x/crypto v0.48.0 // indirect | ||
| golang.org/x/mod v0.33.0 // indirect | ||
| golang.org/x/oauth2 v0.34.0 // indirect | ||
| golang.org/x/sys v0.41.0 // indirect | ||
| golang.org/x/term v0.39.0 // indirect | ||
| golang.org/x/term v0.40.0 // indirect | ||
| golang.org/x/time v0.14.0 // indirect | ||
| golang.org/x/tools v0.40.0 // indirect | ||
| golang.org/x/tools v0.41.0 // indirect | ||
| gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect | ||
| google.golang.org/api v0.260.0 // indirect | ||
| google.golang.org/genproto v0.0.0-20251202230838-ff82c1b0f217 // indirect | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: conforma/cli
Length of output: 1772
🏁 Script executed:
Repository: conforma/cli
Length of output: 457
🏁 Script executed:
Repository: conforma/cli
Length of output: 1278
Benchmark target breaks—all Go files are excluded by the build constraint
Line 1 adds
//go:build benchmark, but ALL nine Go files inbenchmark/offliner/(base_images.go, nab.go, offliner.go, offliner_test.go, referrers.go, refs.go, related.go, scans.go, subjects.go) have this constraint. The Makefile benchmark target runsgo run .without-tags=benchmark(line 170), which excludes every buildable file and causes the build to fail with no source files.Proposed fix (Makefile)
🤖 Prompt for AI Agents