4 Commits

7 changed files with 883 additions and 9 deletions

View File

@@ -4,7 +4,7 @@
<param name="url">https://github.com/moby/buildkit.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v0.12.5</param>
<param name="revision">v0.15.2</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>

View File

@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/moby/buildkit.git</param>
<param name="changesrevision">bac3f2b673f3f9d33e79046008e7a38e856b3dc6</param>
<param name="changesrevision">9e14164a1099d3e41b58fc879cbdd6f2b2edb04e</param>
</service>
</servicedata>

BIN
buildkit-0.12.5.tar.zst (Stored with Git LFS)

Binary file not shown.

3
buildkit-0.15.2.tar.zst Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6161b1c6bed81b65103e42b96c5327da8153c775ea89e1aab4c4d736a12fb565
size 6214374

View File

@@ -1,3 +1,877 @@
-------------------------------------------------------------------
Fri Aug 23 10:24:14 UTC 2024 - dcermak@suse.com
- Update to version 0.15.2:
* remotecache: handle not implemented error for Info()
* chore: set pb.Empty on ssh and secret mounts
* exec: fix incorrect deps computation for special mounts
* snapshot/containerd: fix wrong errdefs package import
* vendor: bump github.com/gofrs/flock to v0.12.1
* llbsolver: avoid nil releaser on error
* Adds a rule check for copying files which match the .dockerignore patterns
* dockerfile: avoid frontend panic when no stages defined
* vendor: update go-csvvalue to ddb21b71
* checks: add check for constant in from platform flag
* llbsolver: fix possible early delete of external error
* testutil: fix call order in already-exists check
* testutil: improve initializing mirrors
* docs: add a multi-line ENV example
* docs: rewrite copy/add instruction reference
* llbsolver: make sure stoptrace called on bolt error
* ci(docs-upstream): missing path for frontend rules docs
* docs: fix broken link in lint docs after rule rename
* adds InvalidDefaultArgInFrom lint check
* Generate dockerfile documentation after updating SecretsUsedInArgOrEnv rule description
* update format string for SecretsUsedInArgOrEnv rule check
* Update frontend/dockerfile/linter/ruleset.go
* Update frontend/dockerfile/docs/rules/secrets-used-in-arg-or-env.md
* vendor: patch updates for some direct dependencies
* vendor: bump github.com/hashicorp/golang-lru/v2 to v2.0.7
* update CNI to v1.5.1
* vendor: bump github.com/gofrs/flock to v0.12.0
* git: add file mode verification to tests
* git: ensure exec option is propagated to child git clis
* bboltcachestorage: only delete link after releasing result
* Add documentation for SecretsUsedInArgOrEnv rule
* switch to github.com/containerd/platforms module
* vendor: github.com/containerd/containerd v1.7.19
* vendor: github.com/microsoft/hcsshim v0.11.7
* golangci: forbid uses of platforms.DefaultString()
* golangci: sort forbid rules
* update containerd binary to v1.7.19
* Always return non-nil contexts
* docs: dockerfile-reference: fix links
* solver: include vertex Description in OpError
* Replace manual loop looking for secret related tokens with regex
* Add check rule that looks at keynames in arg and env and checks for common secret names
* solver: allow finalizing history record traces
* llbsolver: move typed error to own blob in history
* fix incorrect usage of json.NewDecoder
* dockerfile: fix invalid usage of json.NewDecoder
* executor: fix cancellation before start signal
* vendor: docker/docker, docker/cli v27.0.3
* Update integration test for checking empty dockerfile arg behavior and move from linting tests
* Adds a test that checks to ensure that empty arg is passed to env
* linter: add redundant target platform check
* vendor: docker/docker, docker/cli v27.0.2
* Adds a deprecated flag to linter rules
* ociLayoutResolver.info: remove use of reference.SplitObject
* docs: use json args in multiple instructions example
* fix: dot path normalized correctly for COPY
* Fix typo in FromAsCasing docs
* vendor: docker/docker and docker/cli v27.0.1
* vendor: github.com/containerd/ttrpc v1.2.5
* vendor: github.com/docker/docker-credential-helpers v0.8.2
* vendor: github.com/google/uuid v1.6.0
* vendor: github.com/opencontainers/runtime-spec v1.2.0
* Refactor containerd `NewWorkerOpt` & containerdexecutor `New` parameters
* Disallow `ADD --checksum=<SUM> <GITSRC> <DST>`
* build(deps): bump github.com/hashicorp/go-retryablehttp
* chore: fix dockerfile linting issues for rootless image
* Move parseLintOptions into linter package
* git: fix pulling commit SHA only referenced from a tag
* vendor: add go-csvvalue for more efficient CSV parsing
* llb: convert envlist from slice to linked list
* dockerfile: update env replacement efficiency
* instructions: avoid allocating memory and processing location for nil
* parser: optimize memory allocation for command word parsing
* parser: optimize memory usage on env processing
* shell: avoid allocating scanner for each shellword
* parser: avoid excessive memory usage and bogus type conversions
* parser: avoid expensive heredocs evaluations early
* parser: avoid creating temp error string
* parser: remove bogus string byteslice conversion
* parser: remove regexp for comment matching
* parser: avoid reallocating memory per rune on parsing flags
* contenthash: add test using counter metric in scanPath
* contenthash: add tests to check needsScan's correctness
* contenthash: improve the correctness of needsScan
* archutil: update riscv64 to unblock CI
* archutil: fix build for arm64
* archutil: update riscv64 binary
* dockerfile: deduplicate and cache config resolve requests
* dockerfile: clarify that checksum works with HTTPS
* build(deps): bump softprops/action-gh-release from 2.0.5 to 2.0.6
* refactor: split runtime options definions by OS
* ci: set gha cache repository and token
* Update Go to 1.22
* vendor: update klauspost/compress to v1.17.9
* vendor: update testify to 1.9.0
* vendor: update simplelru to v2
* vendor: update immutable-radix to v2
* shell: handle empty string for var replacements
* build(deps): bump docker/bake-action from 4 to 5
* build(deps): bump docker/build-push-action from 5 to 6
* Initialize build args from stage base
* Updates lint output to print detail instead of description
* Consolidate instruction casing lint rules
* In case where build arg exists with nil value, count as unmatched arg
* Fix method Dockefile2Outline to Dockerfile2Outline
* util/resolver: Make httpFallback concurrent safe
* containerd: add option to set parent cgroup
* identity: remove pkg/errors
* update rootlesskit to v2.0.2
* update runc binary to v1.1.13
* Adds 'WARNING' prefix to the rule check output and update lint subrequest to return a status of 1 if an error occurred
* Dockerfile: update delve to v1.22.1
* Dockerfile: update CNI to 1.5.0
* ensure context.WithoutCancel in defer funcs
* simplify with maps pkg functions
* simplify to use slices.Reverse
* remove deprecated seed calls
* dockerui: use CachedGroup in dockerui context resolve
* llb: rewrite llb.Async with CachedGroup
* flightcontrol: add cached group support
* history: fix empty Exporters attribute
* ci: switch to ubuntu-24.04 runner
* ci: enable disable_file_fixes in codecov action
* lint: more testifylint fixes
* minor lint formatting cleanups
* dockerfile: fix lint rules links in index
* wip: tar and local exporter running with privileges
* flightcontrol: protect contention timeouts
* Fix content not found with `push=true,rewrite-timestamp=true`
* vendor: github.com/distribution/reference v0.6.0
* vendor: go.etcd.io/bbolt v1.3.10
* lint: add doc for UndefinedArgInFrom
* lint: update descriptions, test and re-generate docs
* lint: InvalidBaseImagePlatform does not need specific docs
* lint: add alias to doc rule frontmatter
* lint: generate _index.md docs
* lint: add/generate docs for build rules
* dockerfile: generate lint rules documentation
* dockerfile: only report legacy key/value format when stage is reachable
* Update lintTestParams to allow for different numbers of warnings between progress and unmarshal test types
* dockerfile: default linter to run on all stages by default
* contenthash: add tests for non-lexical symlinks
* contenthash: unify "follow" and trailing-symlink handling for Checksum
* contenthash: implement proper Linux symlink semantics for needsScan
* contenthash: implement proper Linux symlink semantics for getFollowLinks
* contenthash: switch recursive rootPath implementation to be iterative
* llbsolver: add more otel spans for export and history
* vendor: docker/docker, docker/cli v26.1.4
* vendor: golang.org/x/mod v0.17.0
* dockerfile/linter: check for nil linter in linter functions
* Dockerfile: update containerd binary to v1.7.18, v1.6.33
* vendor: github.com/containerd/containerd v1.7.18
* Adds the rulename to the output of the PrintLintViolations function
* dockerfile: make sure stage is reachable before validating base
* docs: add details for setting up CNI for windows
* Update tracing check for whether error has stack
* bboltcachestorage: mitigate corrupt boltdb cache after panic
* Adds controls for checking dockerfile lint rules
* dockerfile: fix build conflict from previous updates
* allow skipping backlinks where walking cache chains for provenance
* dockerfile: detect base image with wrong platform being used
* Fix http fallback
* Add bounds to termHeight when BUILDKIT_TTY_LOG_LINES is set
* vendor: update vt100 with fix for resizing height
* lint: fix some testifylint warnings
* verifier: verify platforms of the build result
* allow controlling detected platforms cache timeout
* Add thompson-shaun to curators
* docs: add a note for opentel/jaeger on windows
* linter: lint rule for using the legacy key/value format with whitespace
* dockerfile: improve detection of reachable stages
* ensure correct grpc max sizes for control API and frontends
* dockerfile: bump alpine to 3.20
* tests: remove unnecessary declaration and fix typo
* llbsolver: create single temp lease for exports for performance
* fix: 20 sec timeout for write to disc too short
* gitutil: preserve error type when wrapping
* Upgrade: github.com/containerd/containerd v1.7.17
* Adjusts syscall.Statfs_t for OpenBSD
* github: define disable_file_fixes on codecov upload
* codecov: exclude generated files
* hack: track helper process coverage in integration tests
* dockerfile: avoid evaluating ARG default if unused
* dockerfile: avoid ignoring errors global arg expansion
* hack: add prometheus and grafana to hack/compose
* vendor: update github.com/docker/docker to v26.1.3
* lint: enable gocritic
* lint: enable noctx linter
* lint: sort used linters
* docs: fix typo and tweak formatting
* hack: add validation for golangci config
* dockerfile: add hint suggestions to UndefinedVar
* dockerfile: add hint suggestions to UndeclaredArgInFrom
* dockerfile: improve error messages and add suggest to platform flag parsing
* linter: add rule to catch multiple conflicting instructions used in the same stage
* removes the extra build-arg copy pasta-ed in
* testutil: make sure context is canceled after test end
* dockerfile: fix test mirror config bullseye-slim
* call validateCommandVars from within the command.Expand call
* move validateCommandVar to happen during dispatch and add additional test cases
* Add undefined arg lint rule
* linter: add rule for relative path used in workdir
* buildkitd: Frontend restriction support
* build(deps): bump softprops/action-gh-release from 2.0.4 to 2.0.5
* detect: refactor the detect package
* stream a layer to s3 if possible, instead of getting it then sending it
* linter: add lint rule for required json arguments
* contenthash: make all paths strings when converting
* progress: fix leak of pipe goroutine from MultiReader
* updated this file docs\windows.md,
* update lint tests to accept a struct instead of an increasing number of parameters
* add linting rules for undeclared args in from
* update lint subrequest to return build error and warnings up to error rather than a failed grpc response
* solver: recursively add merge source jobs to target and ancestors
* Adds alpine:latest to mirrored images in dockerfile integration tests
* solver: use logrus fields for more scheduler debug logs
* solver: prevent edge merge to inactive states
* fix: close files in the toAgentSource func
* linter: add linter rule for reserved stage names and duplicate stage names
* docs: add documetation for --group and SecurityDescriptor config
* frontend: missing compat check for TestCommandSourceMapping
* dockerfile: add lint rule for maintainer instruction
* align prune with disk usage command behavior
* buildkitd: allow --group for windows
* detect: remove extraneous check for detected exporters
* vendor: update fsutil to 91a3fc4
* docs: dockerfile reference title in front matter
* fix: gc policy for windows to use percentage of disk space
* vendor: update github.com/docker/docker to v26.1.0
* chore: remove repetitive word
* vendor: github.com/tonistiigi/fsutil @ 497d33b
* build(deps): bump golang.org/x/net from 0.18.0 to 0.23.0
* chore: fix function names in comment
* build(deps): bump github.com/docker/docker
* Update lint warning sorting to handle mssing ranges and < 1 sourceIndex.
* avoid appending line info in lint detail
* add basic warning validations so we can safely sort and print the warnings we receive from the lint subrequest
* sort lint warning output by file and line number, sourcemap format now consistent
* git: restrict definition of git ref
* Improve grammar in README.md
* dockerfile: add statuscode to lint result
* dockerfile: fix validation errors in linter tests
* fix: use unix path separator since path already normalized
* solver: infer builder id from user input for provenance in build record
* refactored opt.Warn to simplify and updated warning data
* Consolidate tests and update Warning output to include source data
* update print to include lint subcommand
* hack: add gopls analyzers
* lint: unusedparams fixes for freebsd
* lint: unusedparams fixes for windows
* lint: unusedparams fixes
* lint: fixes for overflows
* lint: stdmethods fixes
* vendor: github.com/docker/cli v26.0.0
* vendor: github.com/docker/docker v26.0.0
* vendor: golang.org/x/sys v0.18.0
* vendor: github.com/containerd/containerd v1.7.15
* hack: linter updates
* lint: unusedwrite fixes
* lint: nilness fixes
* unify ReadAt to ReadCloser conversion
* dockerfile: remove dependency on apitypes/container
* dockerfile: remove strslice dependency
* solver: add more debug logs to track down inconsistent graph state
* add support for AlwaysReplaceExistingDestPaths in llb copy
* chore: fix casing in containerd-alt-16 stage
* chore: remove impossible err check
* oci: fix missing release call
* executor: fix overlay layer limit for non-rootfs mounts
* rewrite-timestamp: fix incompatibility with `COPY --link`
* util/converter: fix diffID computation
* update containerd vendor and add test for OCI media type.
* otel: update usage of otelgrpc interceptors to use stat handlers
* Update file consistent cmd casing to match majority casing, not first instruction casing
* inline stage lint helper functions
* Add lint rule for consistent command casing across the dockerfile and update tests
* update comment where we collect empty continuation line warnings
* client: expose git auth header and token keys
* docs: call out ONBUILD COPY --from as unsupported
* docs: clarify that leading parent dir paths are stripped away
* docs: add COPY --from section
* tracing: refactor the trace recorder
* ci: update workflow artifacts retention
* docs: fix incorrect capitalization for "GitLab"
* docs: fix incorrect syntax for exec form entrypoint
* dockerfile: fix missing source mapping for COPY --link command
* inline: fix uncompressed digest importing from multiple providers
* refactor tests and add FROM/AS lint rule
* gha: add support for batch checking existing keys
* remotecache: replace CheckDescriptor with Info
* explicitly tie linter messages to linter rules
* improve alpine version selection per arch
* oci: make mounting oci socket optional
* add integration test to check for lint warnings
* fix: use default dialer for client
* fix integration tests for new dockerfile empty continuation warning output
* git: ensure file-looking git refs aren't parsed as URLs
* solver: stub out sysSampler close
* remotecache: fix missing CheckDescriptor method
* Remove indent so that every rawjson message is printed in one line.
* vendor: github.com/containerd/containerd v1.7.14
* refactor linting to allow better, more consistent warnings
* Add additional warnings for lint rules
* hack: configure the otel-collector for hack/compose
* docs: remove mention that buildkit warns about unconsumned build args
* build(deps): bump softprops/action-gh-release from 2.0.2 to 2.0.4
* detect: fix auto-detection of metric exporters to handle none correctly
* ci: update comment version for softprops/action-gh-release update
* build(deps): bump softprops/action-gh-release from 1 to 2
* docs: add type=tmpfs to run mounts overview
* testutil: add binary and extraEnv opt for dockerd worker
* docs: replace references to the master branch with v0.13
* fix(docs): add the containers feature enabling step
* ci: enable multi-platform lint only for upstream repo
* solver: comment some annotations about solver lock
* solver: remove unneccessary solver lock
* Address review feedback and slightly refactor tests
* dockerfile: add docs for --parents
* chore: remove unneccessary parameter in newSharedOp
* move zero-value initialization for oci indexes to separate function
* fix: windows getting started guide for uniformity
* dockerfile: allow pivot point for --parents flag
* util: typo fix
* sets the oci media type if unset in the index
* Remove trailing newline
* vendor: update github.com/tonistiigi/fsutil to 7525a1af2bb5
* Revert formatting change to state.go
* Remove input ordering logic from Marshal(), enforce ordering in to (*FileOp).Inputs() and (*ExecOp).Inputs()
* vendor: github.com/docker/docker v26.0.0-rc1
* Change output->input map name and slight formatting change
* Pre-convert outputs to inputs in llb client marshaller in order to traverse input vertices in a consistent order
* ci(validate): temporarily disable archutil-arm64 job
* add loongarch support for buildkit archutil
-------------------------------------------------------------------
Mon Apr 08 06:02:50 UTC 2024 - danish.prakash@suse.com
- Update to version 0.13.1:
* oci: make mounting oci socket optional
* git: ensure file-looking git refs aren't parsed as URLs
* remotecache: fix missing CheckDescriptor method
* solver: stub out sysSampler close
* fix(docs): add the containers feature enabling step
* ci: enable multi-platform lint only for upstream repo
* docs: replace references to the master branch with v0.13
* fix: windows getting started guide for uniformity
* dockerfile: add docs for --parents
* dockerfile: allow pivot point for --parents flag
* util: typo fix
* vendor: update github.com/tonistiigi/fsutil to 7525a1af2bb5
* ci(validate): temporarily disable archutil-arm64 job
* add loongarch support for buildkit archutil
* dockerfile: don't silently ignore --parents if not labs
* test: switch to golang.org/x/mod to check containerd version constraint
* move network sample to resources types
* vendor: update github.com/Masterminds/semver to v3.2.1
* gateway: mount metadata with nodev
* file: fix idmap passed to unpack when userns enabled
* file: use best-effort xattr behavior on unpacking
* docs: restructure flags/options for add, copy, run
* docs: typo in windows.md
* docs: add quick guide for macOS
* vendor: update github.com/pkg/profile to v1.7.0
* docs: add quick guide for windows
* vendor: update github.com/tonistiigi/go-actions-cache to a0b64f338598
* cache(gha): increase default timeout to 10m
* cache(gha): add timeout attr for cache export/import
* vendor: update go.etcd.io/bbolt to v1.3.9
* vendor: update github.com/spdx/tools-golang to v0.5.3
* vendor: update github.com/serialx/hashring to 22c0c7ab6b1b
* vendor: update github.com/containerd/fuse-overlayfs-snapshotter to 1.0.8
* DescriptorProviderPair: expose methods used by multiprovider
* util/multiprovider: Implement Info
* provenance: move types to a dedicated package
* dockerfile2llb: fix ci merge conflict
* Revert "util/multiprovider: Implement Info"
* Avoid applying `SOURCE_DATE_EPOCH` to base images
* dockerfile2llb: emit base image config
* Fix case where TESTFLAGS may be unset
* dockerfile: add excludepatterns feature to labs
* vendor: update github.com/tonistiigi/fsutil to 7a889f53dbf6
* vendor: OTEL v0.46.1 / v1.21.0
* vendor: golang.org/x/net v0.18.0
* set bridge name and subnet in appdefaults
* ci(test-os): split windows tests
* ci(test-os): merge windows and freebsd build
* dockerfile: cross build freebsd support
* remove accidental debug log
* ci(test-os): build binaries from dockerfile for windows
* dockerfile: binaries-for-test target
* dockerfile: cross build windows support
* ci: inherit secrets from the caller workflow
* secret mount: avoid setting `noexec` when an exec bit it set
* fix: typo
* add buildkitd.exe to windows binaries
* examples/dockerfile2llb: remove unused `-partial-metadata-file`
* ci: set codecov token
* exporter: use docker-spec instead of locally defined types
* dockerfile: bump xx to 1.4.0
* dockerfile: bump alpine to 3.19
* Dockerfile update stargz-snapshotter to v0.15.1
* vendor: github.com/containerd/stargz-snapshotter v0.15.1
* vendor: github.com/hashicorp/go-retryablehttp v0.7.5
* vendor: github.com/hanwen/go-fuse/v2 v2.4.0
* vendor: github.com/prometheus/procfs v0.12.0
* vendor: github.com/prometheus/client_golang v1.17.0
* vendor: github.com/urfave/cli v1.22.14
* vendor: github.com/containerd/continuity v0.4.3
* client: fix result history media type with dockerd moby
* hack: fix unbound variable
* CNI bridge firewall: avoid using `iptables` backend on rootless mode
* client: fix multiple exporter test for dockerd worker
* Dockerfile frontend: add Integration test for context from git
* Move Dockerfile copy/add --exclude implementation to Labs
* Add llb.WithExcludePatterns
* Integration test for Dockerfile --exclude option
* Dockerfile: Document exclude patterns on COPY and ADD commands
* Dockerfile frontend: expose exclude keyword to ADD and COPY commands
* dockerfile2llb: consistent progress for HTTP and Git ops with ADD
* exporter: make OnBuild omiteempty
* make sure iptables installed in release image
* Revert "temporarily use older frontend to unblock CI"
* util/multiprovider: Implement Info
* temporarily use older frontend to unblock CI
* add missing fallback from new frontend to daemon without sourceresolver
* Dockerfile: update Nydus Image Service to v2.2.4
* replace resolveimageconfig with generic sourcemetaresolver
* vendor: github.com/containerd/nydus-snapshotter v0.13.7
* vendor: google.golang.org/genproto/googleapis/rpc 49dd2c1f3d0b
* vendor: google.golang.org/grpc v1.59.0
* ci: validate archutil on arm64
* archutil: generate arch bins
* dockerfile(archutil): strip debug info
* dockerfile(archutil): mark the stack as non-executable for amd64
* dockerfile(archutil): bump to trixie
* archutil: validate
* archutil: move dockerfile to hack and update scripts
* keep local dns in resolv.conf when host network enabled
* Fix source police mutation for named context
* resolver: Limit auth handler isolation to push scopes
* resolver: Isolate auth token cache per session
* go.mod: update containerd to v1.7.13
* docs/rootless.md: move auxiliary information to the bottom
* vendor: github.com/docker/cli v25.0.3
* vendor: github.com/docker/docker v25.0.3
* test: add new content-cache exec mount tests
* exec: allow caller-controlled content-based cache
* exec: allow content-cache for root selected mounts
* exec: refactor content-based cache detection
* vendor: github.com/containerd/console v1.0.4
* vendor: github.com/docker/cli v25.0.2
* vendor: github.com/docker/docker v25.0.2
* Fix regression `/run/buildkit is inaccessible for socket user`
* Update fallback logic to only fallback with previous host
* chore(deps): bump actions/setup-go from 4 to 5
* chore(deps): bump nick-fields/retry from 2.9.0 to 3.0.0
* chore(deps): bump actions/cache from 3 to 4
* chore: refactor IsGitTransport to avoid duplication
* docs: make the warning about build arguments
* ci(docs-upstream): pin reusable workflow
* ci: bump gotest-annotations to fa6141aedf23596fb8bdcceab9cce8dadaa31bd9
* ci: bump actions/upload-artifact and actions/download-artifact to 4
* test: warn if testing dockerd worker without disabled features
* ci: bump codecov/codecov-action to v4
* ci: bump actions/github-script to v7
* ci(dockerd): bump docker to 25.0.2
* update runc to v1.1.12
* exec: add extra validation for submount sources
* executor: recheck mount stub path within root after container run
* llbsolver: make sure interactive container API validates entitlements
* gateway: pass executor with build and not access worker directly
* pb: add extra validation to protobuf types
* sourcepolicy: add validations for nil values
* exporter: add validation for platforms key value
* exporter: add validation for invalid platorm
* exporter: validate null config metadata from gateway
* Fix missing chown/chmod when using parents flag with ADD/COPY command
* Add --parents to commitMessage for ADD/COPY command
* chore: fix remotecache/v1/doc.go
* Add --chown and --chmod to commitMessage for ADD/COPY command
* update runc to v1.1.11
* Add test to check that `client.SolveOpt.LocalDirs` still works
* Replace usage of LocalDirs with LocalMounts in buildctl and examples
* Integration tests: use LocalMounts instead of deprecated LocalDirs
* chore: close solver resources on shutdown
* s3: fix deprecated EndpointResolver
* s3: rely on aws sdk v2 error types
* vendor: bump github.com/aws/aws-sdk-go-v2 deps
* vendor: github.com/docker/cli v25.0.1
* vendor: github.com/docker/docker v25.0.1
* chore: document CacheChains.Marshal
* chore: refactor item.validate for readability
* chore: add some doc-comments in remotecache
* chore: update CacheExporterTarget docs
* chore: remove unused cachechains parent link
* Do not include a cache mount's ID in the ExecOp's cachemap
* docs: tiny improvements
* chore: remove noisy rootlesskit cni log
* solver: use errors.Is when checking context.Cause()
* oci: fix error handling on submount calls
* Dockerfile: update dind script to latest version
* fix: typo
* ci: disable push if not upstream repo
* hack: use git context only for upstream repo
* chore: remove unnecessary locker from http source
* gateway: ensure that all process io is correctly closed
* history: wrap os.ErrNotExist errors
* dockerfile: validate order when linking stages
* vendor: github.com/docker/cli v25.0.0
* vendor: github.com/docker/docker v25.0.0
* dockerfile: allow errors with multiple source location
* dockerfile: add source location to circular dependency error
* CI: add oci-rootless-slirp4netns-detachnetns
* cniprovider: support `rootlesskit --detach-netns` (RootlessKit v2)
* vendor: github.com/docker/cli v25.0.0-rc.3
* vendor: github.com/docker/docker v25.0.0-rc.3
* vendor: github.com/moby/sys/mountinfo v0.7.1
* vendor: golang.org/x/sys v0.16.0
* vendor: github.com/google/uuid v1.5.0
* vendor: github.com/google/go-cmp v0.6.0
* test: add a test for cyclic merges
* scheduler: always edge merge in one direction
* progress: add panic for multiwriter cycles
* chore: update merging log message to include index
* chore: fix minor typos in scheduler_test.go
* docs: fix up named context docs
* filesync: append metadata for CopyToCaller
* docs: clarify here-document word quote variable expansion
* vendor: github.com/docker/cli v25.0.0-rc.2
* vendor: github.com/docker/docker v25.0.0-rc.2
* vendor: github.com/vbatts/tar-split v0.11.5
* vendor: github.com/containerd/containerd v1.7.12
* docs: fix copy/paste typo in Dockerfile reference
* solver: ensure each ref in the result map is evaluated
* rootless: use `~/.config/buildkit/cni.json`
* hack/test: allow ALPINE_VERSION to be set from env
* authors.Dockerfile: update to alpine 3.19
* cmd/buildkitd: show "bridge" net mode in `--help`
* add CNI bridge network provider
* test: add test case for multi-platform scratch
* docs: fix typo for eksctl
* fix lease management with flightcontrol
* go.mod: fix dependencies being in the wrong group
* vendor: github.com/docker/go-connections v0.5.0
* hack: add docker-compose file for development
* control: fix typo in exporter slice comment
* solver: avoid discarding nil refs entry
* gateway: avoid calling Definition on nil ref
* vendor: github.com/docker/cli v25.0.0-rc.1
* vendor: github.com/docker/docker v25.0.0-rc.1
* vendor: github.com/opencontainers/runc v1.1.11
* vendor: github.com/klauspost/compress v1.17.4
* exporter: use implicit ids for exporters
* solver: add cap for multiple exporters
* control: add multiple exporters
* exporter: add new id parameter to exporter instances
* session: add file send multiplexing
* exporter: pass inline cache directly to exporter
* exporter: make ParseKey platform parameter optional
* session: create helper type for exporter file output
* exporter: avoid modifying exporter inputs
* filesync: add doc comments in proto
* chore: remove function indirection for cache exporters
* dockerfile: mitigate flaky smoke test with timeout
* docs: clarify the purpose of the syntax parser directive
* Fix hardlink issue with whiteout deletes in the merge snapshotter.
* detect: refactor the default resource detector for detect
* vendor: github.com/docker/cli v25.0.0-beta.3
* vendor: github.com/docker/docker v25.0.0-beta.3
* vendor: github.com/felixge/httpsnoop v1.0.4
* vendor: golang.org/x/crypto v0.17.0
* vendor: golang.org/x/crypto v0.16.0
* vendor: golang.org/x/text v0.14.0
* vendor: golang.org/x/sys v0.15.0
* docs: mention trace logging in buildkitd.toml docs
* ci: remove timeout on image job
* tracing: allow the `Resource` to be set externally
* tests: enable previously skipped tests
* lint: set proper cache key for golangci-lint target
* ci(buildkit): set timeout to image job
* ci(test-os): retry logic for freebsd smoke tests step
* tests: enable integration test run on windows
* chore: remove WithFailFast option
* git: ensure that pin matches checked-out commit
* util: expose otel metrics through grpc and prometheus
* Dockerfile: bump up containerd to 1.7.11
* go.mod: bump up containerd to 1.7.11
* add gabriel-samfira to maintainers
* Add project processes guide
* fix/pr: fixes from pr review
* replace WithTimeout with WithTimeoutCause
* replace context.WithCancel with WithCancelCause
* make docs
* json-cache-metrics becomes debug-json-cache-metrics
* add an option to show JSON cache metrics
* chore: tidy up removal of digest algorithm
* Dockerfile: Bump up containerd to v1.7.10
* go.mod: bump up github.com/containerd/containerd to v1.7.10
* solver: use toSelectors to filter root paths instead of custom logic
* llbsolver: fix possible panic when setting event to nil
* ci(deps): upgrade containerd to v1.7.9
* ci(deps): upgrade OpenTelemetry libraries to v1.19.0 / v0.45.0
* Update docs/attestations/sbom-protocol.md
* docs: dockerfile instructions quick reference
* github: add issue reporting guide
* windows integration tests: plumbing work to be able to run on windows
* Update to go 1.21
* dockerfile: remove duplicate layer chains from provenance attestation
* fix bug that gen layer tar contains duplicated files
* Dockerfile: Bump up runc to 1.1.10
* docs: refresh dockerfile frontend reference
* String substitution in variable expansion
* docs: update builtctl.md to fix markdown links and typo
* buildctl: Add insecure config for registry-auth-tlscontext flag
* dockerfile2llb: filter unused paths for named contexts
* vendor: github.com/docker/cli v25.0.0-beta.1
* vendor: github.com/docker/docker v25.0.0-beta.1
* vendor: github.com/docker/go-connections fa09c952e3ea (v0.5.0-dev)
* vendor: github.com/opencontainers/runc v1.1.10
* vendor: github.com/docker/docker-credential-helpers v0.8.0
* vendor: github.com/go-logr/logr v1.2.4
* vendor: github.com/vbatts/tar-split v0.11.3
* vendor: github.com/opencontainers/runtime-spec v1.1.0
* vendor: github.com/cenkalti/backoff/v4 v4.2.1
* llbsolver: unmarshal protobuf objects into the provenance attestation correctly
* docs: fix warning callouts
* cache: set max batch size limit to prune
* ci(test-os): enable SSH keep alive in vagrant vm
* ci(validate): use target property to list all targets
* golangci-lint: increase timeout
* enable golangci-lint for supported platforms
* solver: allow debugging specific builder steps
* Update buildctl.md
* containerd: support custom shim path
* chore: update getTaskOpts to return multiple opts
* git: add missing RedactCredentials call in cache description
* docs: add a note that healthcheck --start-interval requires docker 25.0
* Whenever copying OCI Platform data, include OSVersion and OSFeatures
* hack: enable linting for freebsd
* hack: enable linting for windows
* chore: move linux-specific oci spec to spec_linux.go
* chore: remove unused functions for windows
* chore: fix windows variable naming issues
* chore: remove fmt.Errorf usage for windows
* docs: retarget dockerfile reference link
* ci: make test job depends on binaries one
* dockerfile: smoke tests for binaries
* frontend/dockerfile/dockerfile2llb: errmsg: quote build target
* vendor: github.com/containerd/containerd v1.7.8
* vendor: google.golang.org/grpc v1.58.3
* vendor: google.golang.org/protobuf v1.31.0
* vendor: golang.org/x/tools v0.10.0
* vendor: golang.org/x/sync v0.3.0
* vendor: golang.org/x/mod v0.11.0
* Add string trimming (#, %, ##, %%) in variable expansion
* test: add force-compression option for nydus case
* solver: fix nydus force compression for provenance
* fix typos
* containerd: normalize platform received from introspection API
* fix usage loss for snapshots with labels in MergeSnapshotter
* vendor: update nydus-snapshotter to v0.13.1
* ci(test-os): switch to macos-13 runner for freebsd job
* migrate to github.com/moby/sys/user
* vendor: google.golang.org/grpc v1.56.3
* vendor: google.golang.org/grpc v1.56.2
* ci: bump up golangci-lint to v1.55.0
* dockerfile2llb: Add a MainContext option to ConvertOpt
* buildkitd: use default config file location when run as root in rootless
* Dockerfile: bump up registry to v2.8.3
* Dockerfile: bump up CNI plugins to v1.3.0
* solver: fix printing progress messages after merged edges
* Fix broken link
* vendor: github.com/klauspost/compress v1.17.2
* client: refactor to extract prepareMounts
* exporter: refactor to clarify intent behind fs usage
* client: allow exposing fsutil.FS through SolveOpts
* session: modify FSSync provider to take fsutil.FS objects
* vendor: update fsutil to master@f09800878302
* Send hcsshim's options struct when running with hcsshim
* ci(test-os): increase vm boot time to 15m
* llbsolver: fix possible deadlock in history listen
* buildkitd: fix debug handler listener
* cache: fix cache leak
* Dockerfile: update xx to 1.3.0
* solver: minor typo in one of the logging messages
* Dockerfile: bump up nerdctl to v1.6.2
* chore: enable riscv64 build
* solver: fix possible concurrent map access on cache export
* Fix linting issue
* Use snapshot.Mountable as an argument type to readUser
* Move readUser code outside of the file package
* Remove the need for an exported Executor field
* Implement readUser on Windows
* Skip export of caches with no layers to OCI structures
* Correct package name for inline remote-cache source
* Revendor opencontainers/image-spec to v1.1.0-rc5
* chore: temporarily disable riscv64 build
* ci: fix docs upstream validation workflow
* README: BuildKit is now default in the Engine
* vendor: golang.org/x/net v0.17.0
* vendor: golang.org/x/crypto v0.14.0
* vendor: golang.org/x/text v0.13.0
* vendor: golang.org/x/sys v0.13.0
* Dockerfile: update containerd binary to v1.7.7
* Add Unikraft to the list of BuildKit users
* vendor: github.com/containerd/containerd v1.7.7
* vendor: golang.org/x/net v0.13.0
* vendor: golang.org/x/crypto v0.11.0, golang.org/x/text v0.11.0
* vendor: golang.org/x/sys v0.10.0
* vendor: github.com/stretchr/testify v1.8.4
* vendor: github.com/containerd/continuity v0.4.2
* solver: protect against nil rres upon errors
* ResolveImageConfig: Only fetch best matching config
* git: use custom giturl type to preserve original remote
* sshutil: refactor to allow parsing scp-style urls
* gateway: restore original filename in StatFile error message
* dockerfile: add --parents flag for COPY
* CI (containerd v1.6): bump up containerd to 1.6.24
* docs: mv .dockerignore help to context docs
* uploadprovider: avoid too big grpc messages on tar upload
* session: raise grpc message size limits for session endpoint
* filesync: split stream data into 3MB chunks to avoid message limits
* Bump up golangci-lint to 1.54.2
* Update go to 1.21
* docs: fix typo in nydus.md
* Rename cgroupNamespaceSupported, add details
* Don't support cgroupns on cgroups v1
* util/resolver: fillInsecureOpts don't return slice
* util/resolver: Http fallback in the same host
* util/resolver: Fix insecure mirrors
* Make output window configurable: BUILDKIT_TTY_LOG_LINES
* docs: fix incorrect option name in containerd runtime config
* ci(test): fix unhandled buildkitd tags
* solver: fix issue with double merged edges
* hack: update BUILDKIT_DEBUG handling
* dockerfile: introduce a debug variant for the buildkit docker image
* integration: set otel socket path through buildkit config
* chore: add todo note to remove runj specifics
* Add options to specify containerd runtime
* Ensure layers in the local content store on FileList API
* cache: don't skip unlazy without blob check
* docs/rootless: use Bottlerocket's API configurations
* solver: correctly set the content selector with multiple bind mounts references
* diff: gzip with custom level should be compressed by BuildKit's differ
* docs: note that gckeepstorage can take different types
* Revert "Update buildkitd.toml.md"
* ci(test-os): increase vm boot time to 10m
* hack(test): tidy create command and display invoked docker cmds
* ci(test): dedicated step to build integration-tests image
* create integration-tests bake target
* hack(test): opt to avoid building the integration tests image
* hack(dockerfile-frontend): remove daily release type
* hack: align syntax
* hack: progressFlag set not needed
* hack: cleanup buildx install
* hack(test): use trap to remove cache volume
* buildctl: propagate `SOURCE_DATE_EPOCH` from client env to build arg
* ci: update github actions to latest stable
* buildctl: Add configured TLS certificate to trust store when making calls to registry auth
* go fmt cache/blobs_nolinux.go
* exporter/containerimage: new option: rewrite-timestamp
* Move cache/converter.go to util/converter/converter.go
* dockerfile2llb: set default llb.Local when client is not available
* progressui: modify NewDisplay to accept io.Writer instead of console.File
* authprovider: Fix error return from Credentials when logger is nil
* Add Unikraft's kraft.yaml to list of LLB languages.
* ci(test-os): cross build freebsd binaries using the Dockerfile
* progress: add new quiet display mode
* docs: Add `[dns]` snippet to `buildkitd.toml` example file
* client: manually implement Wait backoffs
* docs(source): mention successful snapshots can be nil
* fix: return err when unable to hash
* migrate to github.com/distribution/reference v0.5.0
* Revert "buildctl: set max backoff delay to 1 second"
* ci: update github actions to latest stable
* lint: fix linting rules for logrus
* chore: use bklog instead of logrus
* fix: use sha256 for merge/diff op cache maps
* llb: avoid duplicate instances of sourcemaps in provenance
* fix: log context for future debugging
* fix(boltdb): close cache and history dbs on exit
* Cleanup args, rename jobDetails
* fix: check snapshot labels to avoid panic
* fix(metadata): close store on exit
* pull: fix possible negative blob pull time
* docs: fix slsa definition markup issues
* FreeBSD CI: cross-compile binaries
* util/progress: silence go test -race
* progressui: adds a json output that shows raw events for the solver status
* docker: cleanup fields in image definition
* test: git tag test should not sign tags
* git: centralize git cli operations
* deprecate frontend/dockerfile/dockerignore
* replace dockerfile/dockerignore with patternmatcher/ignorefile
* vendor: github.com/moby/patternmatcher v0.6.0
* git: avoid regexp for checking .git suffix
* git: update parsing to clarify between scp-style urls
* tests: tidy up gitutil testing structs
* git: update llb.Git doc comment
* hack: forward CGO_ENABLED into test container
* solver: fix possible race for provenance ResolveImageConfig
* solver: wrap gRPC codes.NotFound on unknown build ID
* ci: dump context on failure
* chore: fix git freebsd to match file names
* source: make sources pluggable
* Fix typo in README.md
* Implement executor on Windows
* chore: split vagrant provisioning
* buildkitd: add grpc.health.v1.Health service
* Dockerfile: RUNC_VERSION=v1.1.9
* go.mod: github.com/opencontainers/runc v1.1.9
* ci: add protolint validation
* lint: add protolint config
* chore: tidy up filesync encode headers handling
* docs: index annotations fail if index is not produced
* docs: update gcpolicy percentage to refer to total space
* docs: improve CacheMap developer documentation
* filesync: write closer err discarded
* Avoid unnecessary map allocation when writing progress
* Improve cache related trace logging.
* test: add HasFeatureCompat helper
* integration: fix rootless tests
* buildkitd: otel config and otel-socket-path flag
* tests: refactor integration test package
* test: use integration.Tmpdir consistently
* docs: removed labs ref for ADD checksum and git
* ci(test-os): bump actions
* tests: refactor Tmpdir as a test helper
* FreeBSD CI Run logs retention
* filesync: remove deprecated override-excludes
* integration: preserve existing environment variables when using sudo
* set tracing socket path to runtime dir
* executor: fix resource sampler goroutine leak
* docs: troubleshoot for `mount proc:/proc (via /proc/self/fd/6), flags: 0xe: operation not permitted`
* FreeBSD port
* examples: bump oci and containerd versions
* examples: remove no_containerd_worker build tag
* hack: add linting for multiple combinations of build tags
* chore: remove unused blobIDs for nydus compression
* chore: remove old no_{oci,containerd}_worker build tags
* nydus: fix missing imports
* frontend/dockerfile/dockerignore: remove hard-coded filename from error
* frontend/dockerfile/dockerignore: touch-up godoc and code
* frontend/dockerfile/dockerignore: cleanup unit test
* chore: clean up file copy logic backend logic
* filesync: append rather than replace grpc md.
* progress: don't modify ResetTime inputs
* vendor: github.com/docker/cli v24.0.5
* vendor: golang.org/x/net v0.10.0
* vendor: golang.org/x/text v0.9.0
* vendor: golang.org/x/sys v0.8.0
* vendor: github.com/sirupsen/logrus v1.9.3
* Add support for JSON formatted logs (#3133)
* Dedupe "containerd.io/uncompressed" constants and literals
* integration: missing env var to check feature compat
* vendor: github.com/docker/docker@master (afd4805)
* file: Fix incorrect handling of non-existent files in llbsolver's rmPath
* llb: Add tests for WithUser
* llb: Correct 'contexst' typo in State.Run function's documentation
* test: update pinned busybox image to 1.36
* executor/resource: stub out NewSysSampler on Windows
* vendor: github.com/docker/cli v24.0.4
* docs/build-repro.md: fix description about squashing
* vendor: github.com/docker/docker 8e51b8b59cb8 (master, v25.0.0-dev)
* test: update pinned alpine image to 3.18
* examples: create certs bake definition
* testutil: move CheckContainerdVersion to a separate package
* chore: update AUTHORS and mailmap
* Clarify the behavior of wildcards in .dockerignore file
-------------------------------------------------------------------
Thu Feb 01 16:36:18 UTC 2024 - dcermak@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package buildkit
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
Name: buildkit
Version: 0.12.5
Version: 0.15.2
Release: 0
Summary: Toolkit for converting source code to build artifacts
License: Apache-2.0

BIN
vendor.tar.zst (Stored with Git LFS)

Binary file not shown.