Commit Graph

506 Commits

Author SHA1 Message Date
Andrew Baxter 9ac1f26516 `Runc::state()` returns wrong type with async feature
It's a very small change so I figured it's simpler to open a PR than an issue first.

The sync `state` method returns `Container` but for async returns `Vec<usize>`, and I couldn't locate an explanation for why these might be different so I assume it's a mistake.  From a user perspective too I want Container rather than a usize vec.

Signed-off-by: Andrew Baxter <i@isandrew.com>
2023-12-25 17:56:09 +00:00
dependabot[bot] 0b6ffc3b35 build(deps): bump actions/labeler from 4 to 5
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-16 09:18:55 +00:00
dependabot[bot] d29d91b888 build(deps): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-16 09:18:34 +00:00
dependabot[bot] 26e4cd56de build(deps): bump actions/github-script from 6 to 7
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:02:51 +00:00
dependabot[bot] c43b1e4a41 build(deps): update windows-sys requirement from 0.48.0 to 0.52.0
Updates the requirements on [windows-sys](https://github.com/microsoft/windows-rs) to permit the latest version.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/compare/0.48.0...0.52.0)

---
updated-dependencies:
- dependency-name: windows-sys
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:02:09 +00:00
dependabot[bot] db720f3608 build(deps): bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:01:32 +00:00
James Sturtevant 9e1c40d634 Bump to recent go version
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-12-15 09:50:10 +00:00
Maksym Pavlenko a003dac568 Fix publisher
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-30 13:32:54 -07:00
James Sturtevant fca511e235 Create v0.6.0 release of containerd-shim and shim-protos
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-10-30 18:05:57 +00:00
James Sturtevant 74a67025ad use process thread group id for the process
in cgroupv2 we should use the cgroups.proc file when adding a process (https://www.man7.org/linux/man-pages/man7/cgroups.7.html).  The add_tasks function was writing to the cgroup.threads file which is only avaliable when in threaded mode.  In either case our intent is to add the process not the individual threads to we should use add_task_by_tgid. See https://github.com/kata-containers/cgroups-rs/pull/104 for when this was added

Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-10-25 02:13:26 +00:00
James Sturtevant 11a6559c39 Updates cgroup rs to latest version
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-10-25 02:13:26 +00:00
Maksym Pavlenko b9a1e14721
Merge pull request #213 from mxpv/ttrpc
Update TTRPC
2023-10-23 09:30:05 -07:00
Maksym Pavlenko 0701d3602a
Update TTRPC
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-19 12:44:58 -07:00
James Sturtevant e31b3c634f fix up windows
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-10-11 20:13:32 +00:00
James Sturtevant f446bdb64d Add support for structured logging
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-10-11 20:13:32 +00:00
Maksym Pavlenko 7e7a969e45
Merge pull request #211 from mxpv/nix
Update nix crate to 0.27
2023-10-06 15:57:23 -07:00
Maksym Pavlenko e8ad07d5fd
Update nix crate
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-05 11:37:27 -07:00
Maksym Pavlenko a0e042a46e
Merge pull request #208 from mxpv/docs
Simplify doc management and update READMEs
2023-10-04 11:24:21 -07:00
Maksym Pavlenko 7b69bd68c2
Enable docs feature on CI
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-04 10:11:42 -07:00
Maksym Pavlenko 85557745e0 Make examples compilable
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-03 20:41:38 -07:00
Maksym Pavlenko e9910f30b8 Simplify doc management
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-03 20:41:38 -07:00
James Sturtevant fd734b4e7a Use format similiar to containerd
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-10-04 03:40:46 +00:00
James Sturtevant 75d6deeac3 Retry when pipe is busy
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-10-04 03:36:08 +00:00
Maksym Pavlenko b86034092c
Merge pull request #209 from mxpv/ci
Temporarily disable a few more CI tests
2023-10-03 14:51:08 -07:00
Maksym Pavlenko 61f0db613e
Temporarily disable CI tests
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-10-03 09:56:34 -07:00
Maksym Pavlenko 1a181967b6
Merge pull request #181 from jsturtevant/remove-temp-ci-fix
Remove temporary work around and bump containerd versions
2023-09-27 12:21:34 -07:00
James Sturtevant ed4e5e1499 Remove temporary work around and bump containerd versions
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-09-26 22:08:06 +00:00
Bryant Biggs e559735b69 chore: Update `gh` pattern 2023-09-23 04:15:45 +00:00
Bryant Biggs bb6e6b9106 chore: Switch from action to use `gh` CLI 2023-09-23 04:15:45 +00:00
Bryant Biggs 0531ae54e4 ci: Download containerd binaries from GitHub release archives for integration tests 2023-09-23 04:15:45 +00:00
Maksym Pavlenko 38a67acc04
Merge pull request #200 from bryantbiggs/chore/standardize-cargo-files
chore: Standardize Cargo.toml files, enable more workspace dependencies
2023-09-21 16:49:21 -07:00
Bryant Biggs 5e1b7760a1 chore: Standardize Cargo.toml files, enable more workspace dependencies 2023-09-21 13:04:22 -04:00
Bryant Biggs d3088c42ee fix: Use `rfind` to slice string up to last `/` 2023-09-21 16:27:28 +00:00
Bryant Biggs 3489707748 feat: Replace use of regex crate 2023-09-21 16:27:28 +00:00
Bryant Biggs 2c98dae3f1 refactor: Simplify longest common prefix logic 2023-09-21 16:27:28 +00:00
Bryant Biggs 0a5bf7d816 deps: Replace `regex` with the lighter weight `regex-lite` 2023-09-21 16:27:28 +00:00
Bryant Biggs 7e35afe8b5 revert: Update CI versions of containerd since protos are being updated 2023-09-18 21:31:53 +00:00
Bryant Biggs cbc7aeed00 chore: Update CI versions of containerd since protos are being updated 2023-09-18 21:31:53 +00:00
Bryant Biggs 125ad82a43 fix: Remove runtime protos and add streaming and transfer services into build.rs 2023-09-18 21:31:53 +00:00
Bryant Biggs 273b527bd2 fix: Replace tabs with spaces to pass CI 2023-09-18 21:31:53 +00:00
Bryant Biggs 3143c26bd2 feat: Update proto files to latest and remove gogo use 2023-09-18 21:31:53 +00:00
Maksym Pavlenko 3ca32d8135
Merge pull request #199 from mxpv/protobuf
Use shell script to install protobuf
2023-09-18 10:04:56 -07:00
Maksym Pavlenko a664279065
Merge pull request #196 from mxpv/cov
Measure test coverage
2023-09-17 07:55:40 -07:00
Maksym Pavlenko ece06a08be
Use shell script to install protobuf
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-09-16 18:36:04 -07:00
Maksym Pavlenko bef92da237
Measure test coverage
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-09-14 17:52:19 -07:00
Maksym Pavlenko 9388ecf699
Merge pull request #194 from mxpv/prost
Update tonic and prost dependencies
2023-09-08 01:11:52 +00:00
Maksym Pavlenko 8d9e5357f2 Update tonic and prost dependencies 2023-09-07 11:13:03 -07:00
Maksym Pavlenko 14e2f4df66
Merge pull request #190 from mxpv/ci
Pin ttrpc crate to 0.8.0 (fix CI)
2023-09-05 18:36:49 -07:00
Maksym Pavlenko c3999253a1 Fix CI
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-09-05 10:39:25 -07:00
Maksym Pavlenko bc096787b1
Merge pull request #189 from containerd/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
2023-09-05 10:13:51 -07:00