Nick Santos
5a12b25bab
Update bake-reference.md
...
Before this change, there were two bugs:
- the HCL was not valid. in hcl, argument names can't be quoted
- the target argument should be a real target
Signed-off-by: Nick Santos <nick.santos@docker.com>
2 years ago
Justin Chadwell
060ac842bb
Merge pull request #1794 from jedevc/fix-printer-start-race
2 years ago
Justin Chadwell
31d1b778ff
Merge pull request #1795 from thaJeztah/vendor_distribution_v2.8.2
2 years ago
Sebastiaan van Stijn
1cd4b54810
vendor: github.com/docker/distribution v2.8.2
...
CI
- Dockerfile: fix filenames of artifacts
Bugfixes
- Fix panic in inmemory driver
- Add code to handle pagination of parts. Fixes max layer size of 10GB bug
- Parse http forbidden as denied
- Revert "registry/client: set Accept: identity header when getting layers
Runtime
- Update to go1.19.9
- Dockerfile: update xx to v1.2.1 ([#3907 ](https://github.com/distribution/distribution/pull/3907 ))
Security
- Fix [CVE-2022-28391](https://www.cve.org/CVERecord?id=CVE-2022-28391 ) by bumping alpine from 3.14 to 3.16
- Fix [CVE-2023-2253](https://www.cve.org/CVERecord?id=CVE-2023-2253 ) runaway allocation on /v2/_catalog [`521ea3d9`](521ea3d973
)
full diff: https://github.com/docker/distribution/compare/v2.8.1...v2.8.2-beta.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
CrazyMax
c54926c5b2
Merge pull request #1767 from jedevc/issue-template-no-bug-feature
...
github: don't auto-add kind/ labels
2 years ago
Justin Chadwell
10aea8e970
Merge pull request #1791 from jedevc/docs/bake-reference-matrix
...
Document new bake matrix builds
2 years ago
Justin Chadwell
be6542911f
progress: make printer ready only after pausing logrus
...
This fixes a possible race where messages printed directly after calls
to NewPrinter may appear before the printer starts. With this change, we
delay all of the logs until after.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
9b07f6510a
Merge pull request #1793 from jedevc/move-path-resolution-to-controller
...
controller: move path resolution into controller package
2 years ago
Justin Chadwell
9ee19520dd
controller: move path resolution into controller package
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
878faae332
docs: add matrix docs for bake
...
Co-authored-by: David Karlsson <david.karlsson@docker.com
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
eaf38570e7
github: don't auto-add kind/bug labels
...
kind labels should only be manually added by maintainers after
confirming the issue. Otherwise, it can be tricky to sort through all
the issues when filtering for legitimate bugs.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
167340df17
Merge pull request #1780 from techvelocity/elranshefer/add-support-for-proxy-url
...
kubernetes driver: add support for proxy-url
2 years ago
Justin Chadwell
e61a1da7fc
Merge pull request #1748 from dvdksn/docs/bake-reference
...
docs: move and rewrite bake reference
2 years ago
David Karlsson
f8483d7243
docs: refactor bake file reference
...
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2 years ago
Justin Chadwell
2c8a9aad76
Merge pull request #1782 from jedevc/docs-monitor
...
docs: add initial guide about debugging monitor mode
2 years ago
Justin Chadwell
32009a701c
Merge pull request #1786 from jedevc/debug-multi-platform
...
debug: evaluate all refs to allow multi-platform debugging
2 years ago
Justin Chadwell
0cbc316f76
docs: add initial guide about debugging monitor mode
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
45fccef3f3
debug: evaluate all refs to allow multi-platform debugging
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
fdcb4e2fb9
Merge pull request #1784 from jedevc/support-new-compose-features
...
Support new compose features in bake
2 years ago
Justin Chadwell
4a0a67d7a2
Merge pull request #1783 from jedevc/fix-bake-sub-dir-context
...
bake: copy remote context contents to root
2 years ago
CrazyMax
855d49ff58
Merge pull request #1788 from crazy-max/update-docker
...
vendor: github.com/docker/docker v23.0.6
2 years ago
CrazyMax
384e873db0
Merge pull request #1790 from crazy-max/update-moby-ver
...
driver: update BuildKit version constraint for docker driver
2 years ago
CrazyMax
60e72ba989
driver: update BuildKit version constraint for docker driver
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
45a2ae6762
vendor: github.com/docker/docker v23.0.6
...
full diff:
- https://github.com/docker/docker/compare/v23.0.1...v23.0.6
- https://github.com/docker/cli/compare/v23.0.1...v23.0.6
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
2eeef180ea
Merge pull request #1746 from ktock/resultcleanup
...
controller: avoid "context canceled" error on cleanup
2 years ago
Kohei Tokunaga
8fd81f5cfd
controller: avoid "context canceled" error on cleanup
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2 years ago
Justin Chadwell
1eb9ad979e
Merge pull request #1785 from jedevc/default-to-local-controller
...
controller: default to using local controller
2 years ago
Justin Chadwell
77e0e860f8
controller: default to using local controller
...
--detach shouldn't be the default yet, since it still has the potential
to leak some sessions in odd edge cases, and is slightly more painful to
debug.
For now, we should set the local controller as the default, with the
idea that we can change it back in the future.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
e228c398f4
bake: support compose additional contexts
...
compose-go v1.13.0 supports the new additional_contexts to allow passing
additional build context during build, so we should map this to bake's
contexts property.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
5d06406f26
bake: support compose inline dockerfile
...
compose-go v1.13.0 supports the new dockerfile_inline to allow including
a dockerfile inline in the compose definition, so we should map this to
bake's dockerfile-inline property.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
cb061b684c
Merge pull request #1753 from nicksieger/compose-go-v1.13.4
...
compose go v1.13.4
2 years ago
Elran Shefer
29b427ce13
kubernetes driver: add support for proxy-url
...
Signed-off-by: Elran Shefer <elran.shefer@velocity.tech>
2 years ago
Tõnis Tiigi
4fa7cd1fc2
Merge pull request #1772 from tonistiigi/container-hang-fix
...
container-driver: avoid hanging on container panic
2 years ago
Justin Chadwell
12b6a3ad9a
bake: copy remote context contents to root
...
When resolving remote contexts locally in bake, then we need to ensure
that we properly unpack the contents of that context to the root
directory, instead of leaving it in the subdirectory.
Otherwise, any files will be found in the wrong location. Along with
this change, we also need a change to the dockerfile location lookup to
ensure that it is found at the root instead of in the subdirectory.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
22e1901581
bake: reorganize input creation together
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
e23c37fa96
Merge pull request #1771 from jedevc/unset-other-build-client-opt
...
debug: secondary client build should not reuse solve opts
2 years ago
Justin Chadwell
e5a0ed1149
debug: secondary client build should not reuse solve opt ref
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
c9c1303e31
Merge pull request #1777 from ktock/fixerrormsg
...
monitor: improve error messages
2 years ago
Justin Chadwell
ae3299d9d4
Merge pull request #1628 from cpuguy83/policy_file
...
Support for passing through raw buildkit policies
2 years ago
CrazyMax
a948cc14c5
Merge pull request #1769 from docker/dependabot/github_actions/peter-evans/create-pull-request-5.0.1
...
build(deps): Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1
2 years ago
CrazyMax
621b07c799
Merge pull request #1727 from crazy-max/cmd-completion
...
cli: add shell completion
2 years ago
Justin Chadwell
7ad970f93a
Merge pull request #1776 from tonistiigi/fix-conn-leak
...
docker: fix connection leak on features check
2 years ago
Kohei Tokunaga
437fe55104
monitor: improve error messages
...
Print more understandable messages on error:
- When ps fails because the monitor doesn't attach to any session, print "no
attaching session" instead of "unknown ref".
- Avoid disconnect silently fails when the monitor doesn't attach to any
session. Print "no attaching session" error instead.
- Fix error message of "attach"'s arguments. ("server name must be passed" ->
"ID of session or process must be passed")
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2 years ago
Tonis Tiigi
bebd244e33
docker: fix connection leak on features check
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2 years ago
Tonis Tiigi
9f2143e3df
container-driver: avoid hanging on container panic
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2 years ago
Brian Goff
98efe7af10
Support for passing through raw buildkit policies
...
This adds an env var which can be used to pass in a path to a file to
read a buildkit source poliy from.
This is applied to any build is executed with the env set.
It is also applied to bakes (which are calling build behind the scenes).
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2 years ago
Justin Chadwell
c7c37c3591
Merge pull request #1760 from ktock/monitor-commands
...
monitor: Move commands to a separated package
2 years ago
Justin Chadwell
a43837d26c
monitor: extend monitor interface from controller
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
dependabot[bot]
f115abb509
build(deps): Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](5b4a9f6a9e...284f54f989
)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Justin Chadwell
43a07f3997
Merge pull request #1597 from robertlestak/k8s-sa
...
kubernetes driver: add serviceaccount opt
2 years ago