Commit Graph

3471 Commits (17a0e3ed12b3ccf84becdc77c015a561e210b59d)

Author SHA1 Message Date
CrazyMax 55313cc41d
bump containerd from 1.5.4 to 1.5.5
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-01 15:08:33 +02:00
Cory Bennett b8255fbceb fix SecurityMode being dropped on gateway container Start
Signed-off-by: Cory Bennett <cbennett@netflix.com>
2021-07-30 19:33:44 +00:00
CrazyMax e37dccd138
Merge pull request #2284 from crazy-max/fix-protoc-link
Fix protoc link
2021-07-30 18:04:16 +02:00
Anders F Björklund 75d6fc2589 Set default socket permissions to 660
The systemd default is 666, it seems.

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2021-07-30 13:41:14 +02:00
CrazyMax a83721aa6a
Merge pull request #2285 from crazy-max/runc-update
Update to github.com/opencontainers/runc v1.0.1
2021-07-29 14:38:32 +02:00
CrazyMax 8c64153810
Merge pull request #2287 from crazy-max/cache-docs
Split cache options doc for each exporter
2021-07-29 14:37:44 +02:00
CrazyMax 10e6e6acb0
Split cache options doc for each exporter
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-29 08:12:43 +02:00
CrazyMax c9fa27d017
Update to github.com/opencontainers/runc v1.0.1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-29 00:42:51 +02:00
Aaron Lehmann 890c3f77b6 Allow ExitError type to be transmitted over GRPC
This will allow clients to retrieve exit error codes returned during a
solve without parsing the error messages.

Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
2021-07-28 15:01:05 -07:00
CrazyMax da34b88a9a
Fix protoc link
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-28 19:13:16 +02:00
CrazyMax 1ba8f965c1
Merge pull request #2280 from moby/dependabot/go_modules/github.com/containerd/containerd-1.5.4
build(deps): bump github.com/containerd/containerd from 1.5.3 to 1.5.4
2021-07-28 19:03:50 +02:00
Sebastiaan van Stijn dcb25c53b8
util/tracing: remove incorrect import enforcing comment
This import comment caused compilation of buildx to fail if `GO111MODULE` was
set to `off`:

Without `GO111MODULE` set (but with `-mod=vendor`:

    echo $GO111MODULE

    export PKG=github.com/docker/buildx
    export LDFLAGS="-X ${PKG}/version.Version=$(git describe --match 'v[0-9]*' --always --tags) -X ${PKG}/version.Revision=$(git rev-parse HEAD) -X ${PKG}/version.Package=${PKG}"
    GOFLAGS=-mod=vendor go build -o bin/docker-buildx -ldflags "${LDFLAGS}" ./cmd/buildx
    bin/docker-buildx version
    github.com/docker/buildx v0.6.0 d9ee3b134cbc2d09513fa7fee4176a3919e05887

When setting `GO111MODULE=off`, it fails on the incorrect import path in the
vendored file (looks like GO111MODULE=on ignores import-path comments?):

    export GO111MODULE=off
    root@5a55ec1c1eed:/go/src/github.com/docker/buildx# GOFLAGS=-mod=vendor go build -o bin/docker-buildx -ldflags "${LDFLAGS}" ./cmd/buildx
    vendor/github.com/moby/buildkit/client/client.go:20:2: code in directory /go/src/github.com/docker/buildx/vendor/github.com/moby/buildkit/util/tracing/otlptracegrpc expects import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
    vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/connection/connection.go:33:2: found import comments "go.opentelemetry.io/otel/exporters/otlp/internal/otlpconfig" (options.go) and "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig" (optiontypes.go) in /go/src/github.com/docker/buildx/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-28 13:09:49 +02:00
dependabot[bot] d5047b3d2a
build(deps): bump github.com/containerd/containerd from 1.5.3 to 1.5.4
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 21:37:20 +00:00
Sebastiaan van Stijn 54302c477b
Merge pull request #2278 from crazy-max/codecov
Bump to codecov/codecov-action v2
2021-07-26 09:50:12 +02:00
CrazyMax af15a8afe2
Bump to codecov/codecov-action v2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-25 14:01:58 +02:00
Tõnis Tiigi b2195cec75
Merge pull request #2244 from crazy-max/gha-cache-doc
GitHub Actions cache docs
2021-07-19 19:08:15 -07:00
Akihiro Suda 94c0e9d2b9
Merge pull request #2267 from tonistiigi/dockerfile-1.3-update
Update Dockerfile references to use 1.3
2021-07-20 11:06:20 +09:00
Akihiro Suda ed19fe92c2
Merge pull request #2268 from tonistiigi/images-readme-1.3
docs: update images-readme to v0.9
2021-07-20 11:05:47 +09:00
Tõnis Tiigi aa217249da
Merge pull request #2266 from tonistiigi/add-maintainers
add ktock and crazy-max to maintainers
2021-07-19 18:13:52 -07:00
Tonis Tiigi 53c79de828 docs: update images-readme to v0.9
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-19 13:57:17 -07:00
Tonis Tiigi a5b6c20c38 Update Dockerfile references to use 1.3
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-19 13:54:15 -07:00
Tonis Tiigi 5c0103d4ed add ktock and crazy-max to maintainers
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-19 12:20:51 -07:00
Akihiro Suda 1879325ec5
Merge pull request #2264 from tonistiigi/config-docs 2021-07-17 20:11:53 +09:00
Akihiro Suda 6c63764054
Merge pull request #2262 from tonistiigi/ci-0.9 2021-07-17 20:11:20 +09:00
Tonis Tiigi 454a9c3230 add docs for new config options
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-16 20:35:28 -07:00
Tonis Tiigi 7fefd8449a github: update CI buildkit to v0.9.0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-16 20:19:24 -07:00
Tõnis Tiigi c8bb937807
Merge pull request #2261 from tonistiigi/daemonless-wait
daemonless: wait for daemon to finish before exit
2021-07-15 20:11:23 -07:00
Tonis Tiigi 9f0236add1 daemonless: wait for daemon to finish before exit
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-15 19:38:01 -07:00
Tõnis Tiigi dc397eae4a
Merge pull request #2238 from tonistiigi/http-tracing
tracing: update to otelhttp roundtripper
2021-07-15 19:35:03 -07:00
Tõnis Tiigi 3790ea3f71
Merge pull request #2259 from tonistiigi/conn-limit2
new implementation for limiting tcp connections
2021-07-15 19:34:39 -07:00
Tõnis Tiigi 4b01f8cc94
Merge pull request #2260 from crazy-max/typo
Exporter config digest typo
2021-07-15 18:51:12 -07:00
CrazyMax f4a67d7e9c
Exporter config digest typo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-15 20:42:36 +02:00
Tonis Tiigi 30188347a3 contentutil: change offset to int64 to simplify
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-15 00:01:30 -07:00
Akihiro Suda 66d30551db
Merge pull request #2242 from tonistiigi/idle-conns
resolver: increase default idle conns reuse
2021-07-15 13:44:52 +09:00
Tonis Tiigi eaa3e100eb ensure wrappers support seeking to continue partial downloads
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-14 20:41:10 -07:00
Tonis Tiigi dc37a052b4 limited: allow extra high-priority connection for json requests
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-14 20:41:10 -07:00
Tonis Tiigi f269d00f28 new implementation for limiting tcp connections
The previous implementation had many issues. Eg. on fetch, even if
the data already existed and no remote connections were needed
the request would still be waiting in the queue. Or if two fetches
of same blob happened together they would take up two places in queue
although there was only one remote request.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-14 20:41:02 -07:00
Tõnis Tiigi a1818323d4
Merge pull request #2254 from coryb/issue-2248
fix dropped pull progress output due to canceled context
2021-07-14 19:19:04 -07:00
Tõnis Tiigi d2d18d5b5f
Merge pull request #2255 from aaronlehmann/export-layers-span
Add span for layer export
2021-07-14 15:11:08 -07:00
Aaron Lehmann 87dcc7bbe2 Add span for layer export
This can be a significant amount of time that isn't currently accounted
for in traces.

Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
2021-07-14 11:27:08 -07:00
coryb de0019bf35 fix dropped pull progress output due to canceled context
fixes #2248

Signed-off-by: coryb <cbennett@netflix.com>
2021-07-14 09:11:44 -07:00
Tõnis Tiigi 699121c00a
Merge pull request #2232 from crazy-max/ci-test-matrix
Enhance test matrix
2021-07-14 08:57:43 -07:00
CrazyMax 67c1cb09ed
Enhance test matrix
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-14 17:06:20 +02:00
Tonis Tiigi 5a318dd017 tracing: update to otelhttp roundtripper
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-13 23:29:03 -07:00
Akihiro Suda 2a4577efab
Merge pull request #2253 from tonistiigi/update-go-actions
vendor: update go-actions-cache with custom client support
2021-07-14 15:27:40 +09:00
Akihiro Suda 9269ec5c95
Merge pull request #2247 from tonistiigi/transfer-semaphore
add per domain semaphore to limit concurrent connections
2021-07-14 15:27:12 +09:00
Tõnis Tiigi 3ac0e10c0b
Merge pull request #2252 from coryb/containerd-v1.5.3
update to github.com/containerd/containerd v1.5.3
2021-07-13 21:18:47 -07:00
Tonis Tiigi b7f4e34ad8 vendor: update go-actions-cache with custom client support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-13 20:47:31 -07:00
coryb 34c43145fc update to github.com/containerd/containerd v1.5.3
Signed-off-by: coryb <cbennett@netflix.com>
2021-07-13 18:56:55 -07:00
Tonis Tiigi a558ac4cce add per domain semaphore to limit concurrent connections
This is a safer alternative until we figure out why
http.Transport based limiting fails.

Some connections like cache export/import do not have a
domain key atm and these connections use global pool.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-13 14:08:03 -07:00