85abcc413e
Merge pull request #2283 from crazy-max/update-compose
...
vendor: update compose-go to v2.0.0-rc.8
2024-02-27 08:55:04 +01:00
e5acb010c9
Merge pull request #2284 from crazy-max/update-uuid
...
vendor: update github.com/google/uuid to v1.6.0
2024-02-26 08:39:01 -08:00
79f50ad924
Merge pull request #2285 from crazy-max/update-hashring
...
vendor: github.com/serialx/hashring 22c0c7ab6b1b (master)
2024-02-26 21:00:42 +09:00
5723ceefb6
Merge pull request #2281 from crazy-max/update-buildkit
...
vendor: github.com/moby/buildkit v0.13.0-rc2
2024-02-25 22:19:45 -08:00
95185e9525
vendor: update compose-go to v2.0.0-rc.8
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-24 17:15:27 +01:00
e423a67f7b
vendor: github.com/moby/buildkit v0.13.0-rc2
...
full diff: https://github.com/moby/buildkit/compare/8e3fe35738c2...v0.13.0-rc2
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-24 17:14:01 +01:00
545a5c97c6
Merge pull request #2282 from crazy-max/update-k8s
...
vendor: bump k8s dependencies to v0.29.2
2024-02-24 17:12:39 +01:00
625d90b983
vendor: github.com/serialx/hashring 22c0c7ab6b1b (master)
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-24 16:56:59 +01:00
9999fc63e8
vendor: update github.com/google/uuid to v1.6.0
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-24 16:52:21 +01:00
303e509bbf
vendor: bump k8s dependencies to v0.29.2
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-24 16:41:41 +01:00
ae0a5e495a
Merge pull request #2263 from crazy-max/resp-build-ref
...
build: set build ref in response
v0.13.0-rc1
2024-02-23 23:21:26 +01:00
2edb7a04a9
build: set build ref in response
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-23 23:01:41 +01:00
a0599c1c31
Merge pull request #2279 from crazy-max/build-test-shmsize-ulimit
...
test: build shm-size and ulimit
2024-02-23 23:00:31 +01:00
eedf9f10e8
test: build shm-size and ulimit
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-23 22:44:30 +01:00
d891634fc6
Merge pull request #2266 from crazy-max/container-driver-host-entl
...
driver: set network.host entitlement by default for container drivers
2024-02-23 22:41:12 +01:00
af75d0bd7d
Merge pull request #2235 from jsternberg/build-context-transfer-metric
...
metrics: measure context transfers for local source operations
2024-02-23 13:25:58 -08:00
e008b846bb
driver: set network.host entitlement by default for container drivers
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-23 22:23:27 +01:00
fd11d93381
Merge pull request #2275 from crazy-max/buildkitd-flags-network-mode
...
driver: docs to set buildkitd network mode and add tests
2024-02-23 13:20:20 -08:00
aa518f9b88
driver: test bridge network mode
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 23:07:50 +01:00
b16bd02f95
vendor: github.com/moby/buildkit 8e3fe35738c2 (v0.13.0-dev)
...
full diff: 8e3fe35738...d6e142600e
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 23:07:50 +01:00
69bd408964
docs(driver): set buildkitd network mode
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 23:07:50 +01:00
d8e9c7f5b5
Merge pull request #2268 from crazy-max/dirver-align-flags
...
driver: make buildkitd "config" and "flags" names consistent
2024-02-22 13:50:24 -08:00
fd54daf184
Merge pull request #2276 from crazy-max/codecov-token
...
ci: set codecov token
2024-02-22 22:43:11 +01:00
9057bd27af
ci: set codecov token
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 18:05:08 +01:00
5a466918f9
build: enhance error message for unsupported attestations
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 15:30:53 +01:00
56fc68eb7e
driver: make buildkitd "config" and "flags" names consistent
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 10:26:18 +01:00
ccfcf4bc37
Merge pull request #2272 from crazy-max/fix-docs-upstream
...
ci: update docs-upstream workflow
2024-02-22 10:25:28 +01:00
560eaf0e78
ci: update docs-upstream workflow
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 10:07:48 +01:00
daaa8f2482
Merge pull request #2242 from crazy-max/bake-ulimits-shmsize
...
bake: ulimits and shm-size support
2024-02-21 16:30:27 -08:00
97052cf203
metrics: measure context transfers for local source operations
...
Measure the transfer size and duration of context transfers for various
categories of local source transfers from the progress stream that's
returned during the build.
Local source transfers are split into one of four categories:
* context
* dockerfile
* dockerignore
* namedcontext
Named contexts that are different names will be categorized under the
same metric.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com >
2024-02-21 14:52:03 -06:00
2eccaadce5
Merge pull request #2258 from jsternberg/docker-otel-non-experimental
...
metricutil: remove BUILDX_EXPERIMENTAL from internal docker reporting
2024-02-21 11:45:23 -08:00
aa4317bfce
Merge pull request #2267 from crazy-max/update-buildkit
...
vendor: github.com/moby/buildkit db304eb93126 (v0.13.0-dev)
2024-02-21 10:22:14 -08:00
953cbf6696
vendor: github.com/moby/buildkit db304eb93126 (v0.13.0-dev)
...
full diff: d6e142600e...db304eb931
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-21 11:54:00 +01:00
414f215929
Merge pull request #2265 from tonistiigi/bake-parent-eval
...
bake: avoid evaluating parent targets before child LLB loaded
2024-02-21 11:46:12 +01:00
698eb840a3
bake: avoid evaluating parent targets before child LLB loaded
...
Because of the way buildkit cache works if you have request
with external cache, if some vertices from the request have
already been evaluated and are available in the shared graph
BuildKit will not load cache keys from external source for such
vertices. This may mean that children of such vertices will
not load cache because there isn't a cache path through the parent.
To work around it, wait before child definition is loaded before
evaluating the parent.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-02-20 19:52:17 -08:00
714b85aaaf
Merge pull request #2262 from Granjow/patch-1
...
Fix typo in URL
2024-02-20 14:45:18 +00:00
fb604d4b57
Fix typo in URL
...
Signed-off-by: Simon A. Eugster <simon.eu@gmail.com >
2024-02-20 14:19:04 +01:00
73d8969158
docs: more context around shm-size and ulimit usage
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-20 11:29:13 +01:00
64e2b2532a
bake: ulimits support
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-20 11:23:42 +01:00
c2befc0c12
bake: shm-size support
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-20 11:23:42 +01:00
345551ae0d
test: fix message output
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-20 11:23:42 +01:00
97e8fa7aaf
Merge pull request #2253 from dvdksn/docs-cli-reference-urlscheme
...
docs: use absolute links and update link targets
2024-02-20 09:29:14 +01:00
cdfc35d0b6
docs: update external link paths
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-02-20 08:55:41 +01:00
ce66d8830d
vendor: github.com/docker/cli-docs-tool v0.7.0
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-02-20 08:34:13 +01:00
fe08cf2981
metricutil: remove BUILDX_EXPERIMENTAL from internal docker reporting
...
The `BUILDX_EXPERIMENTAL` check is removed from the docker otel
collector. We'll send metrics to the OTLP endpoint for docker desktop if
it is present and enabled regardless of experimental status.
The user-facing `OTEL` endpoints for enabling the metric reporting for
external use is still hidden behind the experimental flag. We'll likely
remove the experimental flag for this feature for v0.14.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com >
2024-02-15 14:17:58 -06:00
c9d1c41d20
Merge pull request #2225 from jsternberg/command-duration-metric
...
metrics: add build command duration metric
2024-02-14 15:38:41 -08:00
bda968ad5d
metrics: add build command duration metric
...
This adds a build duration metric for the build command with attributes
related to the buildx driver, the error type (if any), and which options
were used to perform the build from a subset of the options.
This also refactors some of the utility methods used by the git tool to
determine filepaths into its own separate package so they can be reused
in another place.
Also adds a test to ensure the resource is initialized correctly and
doesn't error. The otel handler logging message is suppressed on buildx
invocations so we never see the error if there's a problem with the
schema url. It's so easy to mess up the schema url when upgrading OTEL
that we need a proper test to make sure we haven't broken the
functionality.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com >
2024-02-14 15:58:52 -06:00
481384b185
Merge pull request #2112 from cpuguy83/dialstdio
...
Add dial-stdio command
2024-02-09 17:13:46 -08:00
67d9385ce0
Merge pull request #2252 from ndeloof/rawjson
...
don't print build details when progress is rawjson
2024-02-09 16:40:50 -08:00
598bc16e5d
don't print build details when progress is rawjson
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2024-02-09 13:28:44 +01:00