Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Blubber Blubber
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • repos
  • relengreleng
  • BlubberBlubber
  • Merge requests
  • !32

buildkit: Handle client cache import options

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Dduvall requested to merge review/handle-cache-imports into main Nov 17, 2022
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

Cache imports must be explicitly handled by the BuildKit gateway. They are not handled automatically by buildkitd or by dockerfile2llb.

Implementation was basically copy/pasted from upstream's dockerfile frontend.

Note that there are two possible forms of client options in <= v0.10 of the BuildKit client (buildctl and docker buildx). Upstream's master branch, however, normalizing the options into a single form. Once upstream cuts a new minor version and we adopt it, we can remove the old cache-from form.

Bug: T323149

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: review/handle-cache-imports