Commit Graph

13325 Commits

Author SHA1 Message Date
Abel Feng
7dadd5f1bf sandbox: remove sandboxStore from podsandbox
Signed-off-by: Abel Feng <fshb1988@gmail.com>
2024-01-09 00:19:17 +08:00
Fu Wei
781d027ba8
Merge pull request #9476 from roman-kiselenko/label-images-on-import
add label flags to ctr import
2024-01-08 09:04:44 +00:00
Akihiro Suda
aa66354c23
Merge pull request #9608 from jsturtevant/update-windows-periodic
[Windows] Use latest VM image in CI to get Windows updates regularly
2024-01-07 20:56:03 +00:00
roman-kiselenko
a3c62e698d add label flags to ctr import, add integration tests
Signed-off-by: roman-kiselenko <roman.kiselenko.dev@gmail.com>
2024-01-06 11:11:10 +03:00
Aditya Ramani
d01056555a Handle failure when stopping a sandbox
Signed-off-by: Aditya Ramani <a_ramani@apple.com>
2024-01-05 13:23:03 -08:00
Phil Estes
0bb7fd36ce
Merge pull request #9603 from thaJeztah/no_execabs
integration: remove use of golang.org/x/sys/execabs
2024-01-05 16:56:43 +00:00
Paweł Gronowski
8235665e7e
content: Add InfoReaderProvider
The interface that combines both content.InfoProvider and
content.Provider was duplicated in multiple places - create one directly
in `content` package and use it instead.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-01-05 16:37:26 +01:00
Sebastiaan van Stijn
fa83bc8de5
integration: remove use of golang.org/x/sys/execabs
This dependency was removed in 2af6db672e, but
was re-introduced in commit 2fab240f21.

Now that golang.org/x/tools also stopped using this dependency, removing
this use will remove the package from our dependency tree.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-05 10:05:37 +01:00
Fu Wei
c7c6bb9d13
Merge pull request #9477 from lengrongfu/feat/add-cgroupParent-to-integration
add get cgroupdriver from RuntimeConfig to integration
2024-01-05 03:44:39 +00:00
lengrongfu
dffeea4717 add get cgroupdriver from RuntimeConfig to integration
Signed-off-by: lengrongfu <lenronfu@gmail.com>
2024-01-05 10:58:47 +08:00
James Sturtevant
46b2f1d162
Use latest VM image to get Windows updates regularly
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2024-01-04 21:22:04 +00:00
Fu Wei
287b4cec9b
Merge pull request #9601 from kiashok/cimfsInitFix
Fix CimFS plugin init error
2024-01-04 02:18:14 +00:00
Kirtana Ashok
a8d39666d4 Move cimfs OS build compat check
to the operation functions instead of init()

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
2024-01-03 16:05:08 -08:00
Maksym Pavlenko
d75bc05ef3
Merge pull request #9554 from vvoland/archive-sparse
import/export: Support references to missing content
2024-01-03 22:45:00 +00:00
Paweł Gronowski
0d3c3efe3b
integration/import-export: Add WithSkipMissing tests
Also refactor tests to use the t.Run and run each test concurrently in a
separate namespace.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-01-03 16:03:38 +01:00
Paweł Gronowski
b9af453f0c
export: Copy distribution source labels to manifest annotations
Persist manifest/indexes distribution source labels as annotations in
the index.json. This could allow the importer to fetch the missing blobs
from the external repository.

These can't really be persisted directly in blob descriptors because
that would alter the digests.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-01-03 16:03:36 +01:00
Paweł Gronowski
61a7c4999c
import/export: Support references to missing content
Allow importing/exporting archives which doesn't have all the referenced
blobs. This allows to export/import an image with only some of the
platforms available locally while still persisting the full index.

> The blobs directory MAY be missing referenced blobs, in which case the missing blobs SHOULD be fulfilled by an external blob store.

https://github.com/opencontainers/image-spec/blob/v1.0/image-layout.md#blobs

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-01-03 16:03:34 +01:00
Fu Wei
f8b07365d2
Merge pull request #9593 from yankay/runc-1.1.11
update runc binary to v1.1.11
2024-01-02 12:52:17 +00:00
Kay Yan
1ab4fac94b update runc binary to v1.1.11
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2024-01-02 13:36:03 +00:00
Akihiro Suda
c98cb4af22
Merge pull request #9583 from containerd/dependabot/go_modules/github.com/containerd/cgroups/v3-3.0.3
build(deps): bump github.com/containerd/cgroups/v3 from 3.0.2 to 3.0.3
2023-12-30 11:53:12 +00:00
dependabot[bot]
5387747e92
build(deps): bump github.com/containerd/cgroups/v3 from 3.0.2 to 3.0.3
Bumps [github.com/containerd/cgroups/v3](https://github.com/containerd/cgroups) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/containerd/cgroups/releases)
- [Commits](https://github.com/containerd/cgroups/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: github.com/containerd/cgroups/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 11:45:53 +00:00
Fu Wei
1f76ca4081
Merge pull request #9581 from bryantbiggs/chore/update-otelgrpc
deps: Update otelgrpc
2023-12-29 09:58:13 +00:00
Bryant Biggs
a1e0601e03 fix: Update go.opentelemetry.io/otel/sdk/trace to satisfy traceProvider interface
Signed-off-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-12-28 09:56:54 -05:00
Bryant Biggs
78421616e0 deps: Update otelgrpc
Signed-off-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-12-28 09:47:05 -05:00
Derek McGowan
ced9b18c23
Merge pull request #9565 from koct9i/fix-return-grpc-code-unavailable-if-not-initialized
fix: return gRPC code "unavailable" if server is not initialized yet
2023-12-28 04:30:43 +00:00
Akihiro Suda
b23a75b611
Merge pull request #9579 from containerd/dependabot/go_modules/github.com/fsnotify/fsnotify-1.7.0
build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0
2023-12-28 02:10:55 +00:00
Akihiro Suda
ee9638dbba
Merge pull request #9577 from containerd/dependabot/go_modules/github.com/intel/goresctrl-0.6.0
build(deps): bump github.com/intel/goresctrl from 0.5.0 to 0.6.0
2023-12-28 00:29:05 +00:00
dependabot[bot]
bd4c281c56
build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-28 00:05:31 +00:00
dependabot[bot]
62a824a4bd
build(deps): bump github.com/intel/goresctrl from 0.5.0 to 0.6.0
Bumps [github.com/intel/goresctrl](https://github.com/intel/goresctrl) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/intel/goresctrl/releases)
- [Commits](https://github.com/intel/goresctrl/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/intel/goresctrl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-27 22:45:39 +00:00
Derek McGowan
fdc187bfb4
Merge pull request #9578 from containerd/dependabot/go_modules/google.golang.org/protobuf-1.32.0
build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0
2023-12-27 22:09:14 +00:00
Derek McGowan
8ef7b51661
Merge pull request #9576 from containerd/dependabot/go_modules/github.com/google/uuid-1.5.0
build(deps): bump github.com/google/uuid from 1.3.1 to 1.5.0
2023-12-27 22:05:47 +00:00
dependabot[bot]
7fe038e4a5
build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0
Bumps google.golang.org/protobuf from 1.31.0 to 1.32.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 23:16:57 +00:00
dependabot[bot]
81bb669428
build(deps): bump github.com/google/uuid from 1.3.1 to 1.5.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.1 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.1...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 23:16:38 +00:00
Akihiro Suda
b7b808c36f
Merge pull request #9571 from Dzejrou/main
shim: Create pid-file with 0644 permissions
2023-12-25 09:49:27 +00:00
Jaroslav Jindrak
9d328410a5 shim: Create pid-file with 0644 permissions
Fixes ae7021300

In ae7021300 the WritePidFile and WriteAddress functions were
changed to use AtomicFile instead of os.CreateFile. However,
AtomicFile creates a temporary file and then changes its permissions
with os.Chmod which alters the previously observed behavior of
os.CreateFile which takes the system's umask into account.

This means that on Linux-based systems these files suddenly
became world writable (#9363). The address file has since been
removed, but pid-file was still created as world writable. This
commit explicitly requests 0644 permissions as even on systems
without default umask of 0022 there is no reason to have these
two files world writable.

Signed-off-by: Jaroslav Jindrak <dzejrou@gmail.com>
2023-12-23 21:42:51 +01:00
Kevin Parsons
124bc0dcbe
Merge pull request #8807 from ambarve/cimfs
Add support for cimfs snapshotter & differ
2023-12-22 21:09:51 +00:00
Amit Barve
daa1ea522b Add cimfs differ and snapshotter
Details about CimFs project are discussed in #8346

Signed-off-by: Amit Barve <ambarve@microsoft.com>
2023-12-20 09:29:08 -08:00
Fu Wei
643fa70a7d
Merge pull request #9561 from containerd/dependabot/go_modules/google.golang.org/grpc-1.60.1
build(deps): bump google.golang.org/grpc from 1.58.3 to 1.60.1
2023-12-20 15:45:21 +00:00
Fu Wei
83e09cc9e5
Merge pull request #9519 from containerd/dependabot/go_modules/github.com/google/uuid-1.5.0
build(deps): bump github.com/google/uuid from 1.3.1 to 1.5.0
2023-12-20 14:24:21 +00:00
Konstantin Khlebnikov
c191935747 fix: return gRPC code "unavailable" if server is not initialized yet
Correct error code helps client to decide when it should retry request.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
2023-12-20 11:07:18 +01:00
Samuel Karp
935b22dbb7
Merge pull request #9560 from containerd/dependabot/github_actions/google-github-actions/upload-cloud-storage-2.0.0
build(deps): bump google-github-actions/upload-cloud-storage from 1.0.3 to 2.0.0
2023-12-19 07:45:10 +00:00
Samuel Karp
5db60aa61a
Merge pull request #9559 from containerd/dependabot/github_actions/actions/download-artifact-4
build(deps): bump actions/download-artifact from 3 to 4
2023-12-19 07:42:10 +00:00
Fu Wei
4e8c413349
Merge pull request #9551 from akhilerm/fix-ci-badge
docs: fix CI badge in README
2023-12-19 03:48:19 +00:00
dependabot[bot]
1f9151af60
build(deps): bump google.golang.org/grpc from 1.58.3 to 1.60.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.3 to 1.60.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.3...v1.60.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 23:59:35 +00:00
dependabot[bot]
0b48b56598
build(deps): bump google-github-actions/upload-cloud-storage
Bumps [google-github-actions/upload-cloud-storage](https://github.com/google-github-actions/upload-cloud-storage) from 1.0.3 to 2.0.0.
- [Release notes](https://github.com/google-github-actions/upload-cloud-storage/releases)
- [Changelog](https://github.com/google-github-actions/upload-cloud-storage/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/upload-cloud-storage/compare/v1.0.3...v2.0.0)

---
updated-dependencies:
- dependency-name: google-github-actions/upload-cloud-storage
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 23:54:06 +00:00
dependabot[bot]
97ec26a5eb
build(deps): bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 23:53:36 +00:00
Derek McGowan
8f6892a8c6
Merge pull request #9488 from thaJeztah/plugin_context_cancel
tracing/plugin: newTracer: ignore context.Canceled errors on Close()
2023-12-18 19:41:21 +00:00
Sebastiaan van Stijn
22138541a2
tracing/plugin: newTracer: ignore context.Canceled errors on Close()
Before this, containerd would always print an error when shutting down;

    ERRO[2023-12-07T14:35:00.070333131Z] failed to close plugin                        error="context canceled" id=io.containerd.internal.v1.tracing

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-12-18 17:10:17 +01:00
Derek McGowan
2c8a996330
Merge pull request #9495 from jamesorlakin/chore/hosts-documentation-ns
Document `ns` query string added to mirror requests
2023-12-15 19:54:00 +00:00
Akhil Mohan
7c651e1837
docs: fix CI badge in README
Fix CI badge links to filter only merge_group events as main branch
now uses merge_group to push changes. This will give a more accurate
representation of the status of CI rather than showing the complete
status of CI workflow.

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2023-12-15 18:35:46 +05:30