Tõnis Tiigi
59582a88fc
Merge pull request #2471 from tonistiigi/v0.14.1-picks
...
[v0.14] cherry picks for v0.14.1
v0.14.1
2024-05-22 07:43:43 -07:00
Tonis Tiigi
a3b1fae96d
driver: handle nil logger for bootstrap
...
resolveNode methods can call with nil logger. Although
the results should already be cached now in resolver
this makes the protection more explicit.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 035236a5ed334fdbaa28b976c473ab4161cd4cc8)
2024-05-22 07:17:53 -07:00
Tonis Tiigi
6a84f43fba
build: add cache to resolvedNode
...
Currently it is possible for boot() to be called
multiple times, resulting multiple slow requests to
establish connection (eg. multiple container inspects
for container driver).
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 99777eaf341d18bb10fc5284f70523af98a75dcc)
2024-05-22 07:17:46 -07:00
Jonathan A. Sternberg
cf68b5b878
vendor: update buildx to latest docker/cli
...
This version of docker/cli has changes to remove compose-cli wrapper and
move all CLI metrics to OTEL.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
(cherry picked from commit 4fc4bc07ae840a6e96303ac81ac5e11af57c873a)
2024-05-16 12:14:08 -05:00
Tonis Tiigi
3f1aaa68d5
build: fix multiple named contexts pointing to same bake target
...
Contexts using target: schema are replaced by input: pointing
to previous build result before build request is sent. Currently
this replacement did not work if multiple contexts pointed to
the same target name.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit f8c6a97edce937c9b6576fb04408e61f787bea20)
2024-05-16 12:14:08 -05:00
jaihwan104
f6830f3b86
build: exit 1 when manifest merge failed
...
Signed-off-by: jaihwan104 <42341126+jaihwan104@users.noreply.github.com>
(cherry picked from commit f2823515db645222e6abdb31dbd711debcb37687)
2024-05-16 12:13:59 -05:00
CrazyMax
f6e57cf5b5
build: don't generate metadata file when print flag is used
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
(cherry picked from commit ba264138d62e79f3f740b272e4b6152fa0fc5199)
2024-05-16 11:31:58 -05:00
Tonis Tiigi
b77648d5f8
build: avoid default load with --print
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit fbb0f9b424a761ceaf9f17936aa2183701d41b32)
2024-05-16 11:29:59 -05:00
Tõnis Tiigi
171fcbeb69
Merge pull request #2417 from tonistiigi/update-buildkit-240417
...
vendor: update buildkit to 71f99c52a669
v0.14.0-rc2
v0.14.0
2024-04-17 10:02:29 -07:00
Tonis Tiigi
370a5aa127
update lint fallback image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-17 09:18:52 -07:00
Tonis Tiigi
13653fb84d
vendor: update buildkit to 71f99c52a669
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-17 08:21:11 -07:00
Tõnis Tiigi
1b16594f4a
Merge pull request #2415 from igaskin/scheduler-name
...
feat: adding option to add scheduler name to kubernetes driver
2024-04-17 08:18:23 -07:00
Tõnis Tiigi
3905e8cf06
Merge pull request #2416 from crazy-max/print-internal
...
build: mark information requests as internal
2024-04-17 08:15:55 -07:00
CrazyMax
177b95c972
build: mark information requests as internal
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-17 16:56:43 +02:00
Isaac Gaskin
74fdbb5e7f
feat: adding option to add scheduler name to kubernetes driver
...
this allows for custom scheduling of deployments
Signed-off-by: Isaac Gaskin <isaac.gaskin@circle.com>
2024-04-16 14:51:59 -07:00
Tõnis Tiigi
ac331d3569
Merge pull request #2401 from crazy-max/ci-k3s-update
...
ci: switch to reusable workflow to install k3s
2024-04-15 16:00:55 -07:00
Tõnis Tiigi
07c9b45bae
Merge pull request #2408 from tonistiigi/print-statuscode
...
build: support statuscode response for print requests
2024-04-15 15:58:52 -07:00
Tõnis Tiigi
b91957444b
Merge pull request #2406 from tonistiigi/print-lint-fallback
...
build: add fallback image for --print=lint
2024-04-15 15:58:34 -07:00
Tonis Tiigi
46c44c58ae
build: support statuscode response for print requests
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-15 10:38:54 -07:00
CrazyMax
6aed54c35a
Merge pull request #2405 from docker/dependabot/github_actions/peter-evans/create-pull-request-6.0.3
...
build(deps): bump peter-evans/create-pull-request from 6.0.2 to 6.0.3
2024-04-13 14:54:34 +02:00
Tonis Tiigi
126fe653c7
build: refactor print fallbacks to own function
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-12 17:09:43 -07:00
Tonis Tiigi
f0cbc95eaf
build: add fallback image for --print=lint
...
Fallback to known supporting image if lint called
on old frontend.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-12 17:09:38 -07:00
dependabot[bot]
1a0f9fa96c
build(deps): bump peter-evans/create-pull-request from 6.0.2 to 6.0.3
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](70a41aba78...c55203cfde
)
---
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>
2024-04-12 18:33:29 +00:00
CrazyMax
df7a3db947
Merge pull request #2384 from Usual-Coder/feature-hcl-index
...
bake: add `indexof` hcl func
v0.14.0-rc1
2024-04-11 17:27:21 +02:00
Tõnis Tiigi
d294232cb5
Merge pull request #2404 from tonistiigi/buildkit-vendor-lint-update
...
vendor: update buildkit v0.14-dev version 549891b
2024-04-11 08:24:21 -07:00
CrazyMax
0a7f5c4d94
bake: test indexof hcl func and make it private
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 17:11:44 +02:00
Usual Coder
5777d980b5
bake: add indexof hcl func
...
Signed-off-by: Usual Coder <34403413+Usual-Coder@users.noreply.github.com>
2024-04-11 17:01:53 +02:00
Tonis Tiigi
46cf94092c
commands: use vendored formatter for lint responses
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-11 07:52:07 -07:00
Tonis Tiigi
da3435ed3a
vendor: update buildkit v0.14-dev version 549891b
...
Brings in formatter for lint requests.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-04-11 07:49:31 -07:00
Tõnis Tiigi
3e90cc4b84
Merge pull request #2280 from crazy-max/provenance-metadata
...
build: set record provenance in response
2024-04-11 07:31:12 -07:00
CrazyMax
6418669e75
Merge pull request #2402 from crazy-max/bump-docker
...
vendor: github.com/docker/cli b6c552212837 (v26.1.0-dev)
2024-04-11 15:14:05 +02:00
CrazyMax
188495aa93
vendor: github.com/docker/cli b6c552212837 (v26.1.0-dev)
...
full diff: 155dc5e4e4...b6c5522128
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 14:57:31 +02:00
CrazyMax
54a5c1ff93
ci: switch to reusable workflow to install k3s
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 10:15:37 +02:00
CrazyMax
2e2f9f571f
build: set record provenance in response
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 10:11:27 +02:00
CrazyMax
d2ac1f2d6e
Merge pull request #2322 from crazy-max/test-buildkit-multi-ver
...
tests: matrix with buildkit versions
2024-04-11 10:10:21 +02:00
CrazyMax
7e3acad9f4
ci: remove buildkit-edge job
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 09:55:00 +02:00
CrazyMax
e04637cf34
ci: use string type for experimental so it can appear on actions page
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 09:55:00 +02:00
CrazyMax
b9c5f9f1ee
ci: run docker worker in dedicated matrix
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 09:48:32 +02:00
CrazyMax
92ab188781
dockerfile: update buildkit to 0.13.1
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 09:43:14 +02:00
CrazyMax
dd4d52407f
tests: skip according to buildkit version constraint
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 09:43:14 +02:00
CrazyMax
7432b483ce
dockerfile: add undock for integration tests
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 09:42:19 +02:00
CrazyMax
6e3164dc6f
tests: matrix with buildkit versions
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-11 09:42:19 +02:00
CrazyMax
2fdb1682f8
Merge pull request #2399 from thaJeztah/bump_x_net
...
vendor: golang.org/x/sys v0.18.0, golang.org/x/term v0.18.0, golang.org/x/crypto v0.21.0, golang.org/x/net v0.23.0
2024-04-10 19:20:40 +02:00
Sebastiaan van Stijn
7f1eaa2a8a
vendor: golang.org/x/net v0.23.0
...
full diff: https://github.com/golang/net/compare/v0.22.0...v0.23.0
Includes a fix for CVE-2023-45288, which is also addressed in go1.22.2
and go1.21.9;
> http2: close connections when receiving too many headers
>
> Maintaining HPACK state requires that we parse and process
> all HEADERS and CONTINUATION frames on a connection.
> When a request's headers exceed MaxHeaderBytes, we don't
> allocate memory to store the excess headers but we do
> parse them. This permits an attacker to cause an HTTP/2
> endpoint to read arbitrary amounts of data, all associated
> with a request which is going to be rejected.
>
> Set a limit on the amount of excess header frames we
> will process before closing a connection.
>
> Thanks to Bartek Nowotarski for reporting this issue.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-04-10 17:22:06 +02:00
Sebastiaan van Stijn
fbddc9ebea
vendor: golang.org/x/net v0.22.0, golang.org/x/crypto v0.21.0
...
full diffs changes relevant to vendored code:
- https://github.com/golang/net/compare/v0.20.0...v0.22.0
- http2: remove suspicious uint32->v conversion in frame code
- http2: send an error of FLOW_CONTROL_ERROR when exceed the maximum octets
- https://github.com/golang/crypto/compare/v0.18.0...v0.21.0
- x/crypto/internal/poly1305: improve sum_ppc64le.s
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-04-10 17:14:09 +02:00
Sebastiaan van Stijn
d347499112
vendor: golang.org/x/term v0.18.0
...
no changes in vendored code
full diff: https://github.com/golang/term/compare/v0.16.0...v0.18.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-04-10 17:02:36 +02:00
Sebastiaan van Stijn
b1fb67f44a
vendor: golang.org/x/sys v0.18.0
...
full diff: https://github.com/golang/sys/compare/v0.16.0...v0.18.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-04-10 17:01:00 +02:00
CrazyMax
a9575a872a
Merge pull request #2392 from crazy-max/update-hcl
...
vendor: update hcl dependencies
2024-04-10 08:48:10 +02:00
Tõnis Tiigi
60f48059a7
Merge pull request #2394 from crazy-max/fix-stdin-controller
...
build: fix stdin handling when building with controller
2024-04-09 09:57:31 -07:00
CrazyMax
ffff87be03
build: fix stdin handling when building with controller
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-09 14:49:30 +02:00