Compare commits

...

173 Commits

Author SHA1 Message Date
Akihiro Suda 8b4beab359
Merge pull request #138 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.1.1
Bump github.com/containerd/containerd/v2 from 2.1.0 to 2.1.1
2025-05-21 03:05:52 +09:00
dependabot[bot] aeca935788
Bump github.com/containerd/containerd/v2 from 2.1.0 to 2.1.1
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.1.0 to 2.1.1.
- [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/v2.1.0...v2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-20 18:02:52 +00:00
Akihiro Suda 4a728c1d39
Merge pull request #137 from containerd/dependabot/go_modules/google.golang.org/grpc-1.72.1
Bump google.golang.org/grpc from 1.72.0 to 1.72.1
2025-05-21 03:01:30 +09:00
dependabot[bot] 16f4b5d429
Bump google.golang.org/grpc from 1.72.0 to 1.72.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.72.0 to 1.72.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.72.0...v1.72.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-15 06:30:27 +00:00
Akihiro Suda 5bc9985cc7
Merge pull request #136 from takumin/fix-ci-release-workflow
CI: update subject-path in release workflow for correct artifact location
2025-05-08 14:29:45 +09:00
Takumi Takahashi c59a2eae0e
CI: update subject-path in release workflow for correct artifact location
Signed-off-by: Takumi Takahashi <takumiiinn@gmail.com>
2025-05-08 14:12:46 +09:00
Akihiro Suda 278e13f93f
Merge pull request #135 from AkihiroSuda/dev
CI: fix "Error: Could not find subject at path _output/*"
2025-05-08 14:01:11 +09:00
Akihiro Suda 7a777de679
CI: fix "Error: Could not find subject at path _output/*"
Fix issue 134

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-05-08 13:53:36 +09:00
Akihiro Suda 5de7c2b97d
Merge pull request #132 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.1.0
Bump github.com/containerd/containerd/v2 from 2.0.5 to 2.1.0
2025-05-08 13:42:37 +09:00
dependabot[bot] d4b0ee7557
Bump github.com/containerd/containerd/v2 from 2.0.5 to 2.1.0
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.5 to 2.1.0.
- [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/v2.0.5...v2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-08 02:28:52 +00:00
Akihiro Suda fa52cf9fa8
Merge pull request #131 from containerd/dependabot/github_actions/golangci/golangci-lint-action-8
Bump golangci/golangci-lint-action from 6 to 8
2025-05-07 12:59:11 +09:00
dependabot[bot] 96076944fb
Bump golangci/golangci-lint-action from 6 to 8
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 8.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v8)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-05-07 12:48:31 +09:00
Akihiro Suda e01252b4cf
.golangci.yml: migrate to v2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-05-07 12:47:58 +09:00
Akihiro Suda 0ae1accdc0
Merge pull request #127 from containerd/dependabot/go_modules/golang.org/x/net-0.38.0
Bump golang.org/x/net from 0.36.0 to 0.38.0
2025-05-01 11:08:01 +09:00
dependabot[bot] 75237fa3e5
Bump golang.org/x/net from 0.36.0 to 0.38.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 02:05:31 +00:00
Akihiro Suda 433397fcf5
Merge pull request #128 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.5
Bump github.com/containerd/containerd/v2 from 2.0.4 to 2.0.5
2025-05-01 11:04:29 +09:00
dependabot[bot] 691e75f335
Bump github.com/containerd/containerd/v2 from 2.0.4 to 2.0.5
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.4 to 2.0.5.
- [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/v2.0.4...v2.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 02:00:02 +00:00
Akihiro Suda 0c8805796a
Merge pull request #129 from containerd/dependabot/go_modules/google.golang.org/grpc-1.72.0
Bump google.golang.org/grpc from 1.71.0 to 1.72.0
2025-05-01 10:58:52 +09:00
Akihiro Suda a90f690aa5
Merge pull request #130 from takumin/ci-build-provenance-attestations
CI: Enable actions/attest-build-provenance@v2
2025-05-01 10:58:37 +09:00
Takumi Takahashi c0389c78f8
CI: Enable actions/attest-build-provenance@v2
https://github.com/actions/attest-build-provenance

https://github.blog/changelog/2024-06-25-artifact-attestations-is-generally-available/

Signed-off-by: Takumi Takahashi <takumiiinn@gmail.com>
2025-04-25 22:16:22 +09:00
dependabot[bot] fb3d32fce7
Bump google.golang.org/grpc from 1.71.0 to 1.72.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.71.0 to 1.72.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.0...v1.72.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 07:17:03 +00:00
Akihiro Suda d6076ad2d8
Merge pull request #123 from containerd/dependabot/go_modules/golang.org/x/net-0.36.0
Bump golang.org/x/net from 0.33.0 to 0.36.0
2025-03-19 19:43:46 +09:00
dependabot[bot] 5b49275120
Bump golang.org/x/net from 0.33.0 to 0.36.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-19 19:36:26 +09:00
Akihiro Suda 10dbf42a5e
Merge pull request #121 from containerd/dependabot/go_modules/google.golang.org/grpc-1.71.0
Bump google.golang.org/grpc from 1.69.4 to 1.71.0
2025-03-19 19:27:53 +09:00
dependabot[bot] b820a3a604
Bump google.golang.org/grpc from 1.69.4 to 1.71.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.69.4 to 1.71.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.69.4...v1.71.0)

---
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>
2025-03-18 03:57:41 +00:00
Akihiro Suda 8654e61b90
Merge pull request #122 from containerd/dependabot/github_actions/containerd/project-checks-1.2.2
Bump containerd/project-checks from 1.2.1 to 1.2.2
2025-03-18 12:56:52 +09:00
Akihiro Suda 8cf0c5364d
Merge pull request #124 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.4
Bump github.com/containerd/containerd/v2 from 2.0.2 to 2.0.4
2025-03-18 12:56:38 +09:00
dependabot[bot] 1a32d3378b
Bump github.com/containerd/containerd/v2 from 2.0.2 to 2.0.4
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.2 to 2.0.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/v2.0.2...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 00:18:25 +00:00
dependabot[bot] e11d8ce1bd
Bump containerd/project-checks from 1.2.1 to 1.2.2
Bumps [containerd/project-checks](https://github.com/containerd/project-checks) from 1.2.1 to 1.2.2.
- [Commits](https://github.com/containerd/project-checks/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: containerd/project-checks
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 07:02:02 +00:00
Akihiro Suda 8d660136e2
Merge pull request #120 from containerd/dependabot/github_actions/containerd/project-checks-1.2.0
Bump containerd/project-checks from 1.1.0 to 1.2.1
2025-03-04 17:58:12 +09:00
dependabot[bot] 03ad06d468
Bump containerd/project-checks from 1.1.0 to 1.2.1
Bumps [containerd/project-checks](https://github.com/containerd/project-checks) from 1.1.0 to 1.2.1.
- [Commits](https://github.com/containerd/project-checks/compare/v1.1.0...v1.2.1)

---
updated-dependencies:
- dependency-name: containerd/project-checks
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-04 17:23:08 +09:00
Akihiro Suda f989bbecb0
update Go to 1.24
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-04 17:11:47 +09:00
Akihiro Suda 8a6b752667
Merge pull request #45 from austinvazquez/remove-ioutil
Remove references to io/ioutil package
2025-01-17 01:40:33 +09:00
Austin Vazquez 7bbea67ab5
Add golangci-lint to CI and resolve warnings
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2025-01-15 15:38:59 +00:00
Austin Vazquez 7495438262
Remove references to io/ioutil package
Package io/ioutil has been marked deprecated in Go 1.16.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2025-01-15 15:04:34 +00:00
Akihiro Suda 4d71bc8239
Merge pull request #117 from thaJeztah/downgrade_deps
downgrade go-difflib and go-spew to tagged releases
2025-01-15 10:41:37 +09:00
Sebastiaan van Stijn 83af66951b
downgrade go-difflib and go-spew to tagged releases
commit ece9a3dbf8 updated the
containerd dependency to v2.0.2, which no longer requires
the untagged versions of these modules, but go modules
didn't automatically downgrade them to the minimum
required version.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-01-14 18:40:22 +01:00
Akihiro Suda 3d6cf8c2e9
Merge pull request #116 from containerd/dependabot/go_modules/golang.org/x/net-0.33.0
Bump golang.org/x/net from 0.30.0 to 0.33.0
2025-01-14 16:48:51 +09:00
Akihiro Suda ac4730a6e5
Merge pull request #115 from containerd/dependabot/go_modules/google.golang.org/grpc-1.69.4
Bump google.golang.org/grpc from 1.69.2 to 1.69.4
2025-01-14 16:48:01 +09:00
dependabot[bot] 8dc3853e1b
Bump google.golang.org/grpc from 1.69.2 to 1.69.4
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.69.2 to 1.69.4.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.69.2...v1.69.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 07:29:22 +00:00
dependabot[bot] 09ae342b2c
Bump golang.org/x/net from 0.30.0 to 0.33.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.30.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 07:29:04 +00:00
Akihiro Suda 06cea3f6a1
Merge pull request #114 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.2
Bump github.com/containerd/containerd/v2 from 2.0.1 to 2.0.2
2025-01-14 16:28:14 +09:00
dependabot[bot] ece9a3dbf8
Bump github.com/containerd/containerd/v2 from 2.0.1 to 2.0.2
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.1 to 2.0.2.
- [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/v2.0.1...v2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 06:20:28 +00:00
Fu Wei c937940158
Merge pull request #112 from containerd/dependabot/go_modules/google.golang.org/grpc-1.69.2
Bump google.golang.org/grpc from 1.68.1 to 1.69.2
2024-12-24 23:40:58 -05:00
dependabot[bot] 742837bf61
Bump google.golang.org/grpc from 1.68.1 to 1.69.2
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.68.1 to 1.69.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.68.1...v1.69.2)

---
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>
2024-12-20 06:19:20 +00:00
Fu Wei e0b4a46688
Merge pull request #111 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.1
Bump github.com/containerd/containerd/v2 from 2.0.0 to 2.0.1
2024-12-17 15:41:19 -05:00
dependabot[bot] 44b018f2c5
Bump github.com/containerd/containerd/v2 from 2.0.0 to 2.0.1
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.0 to 2.0.1.
- [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/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 07:00:38 +00:00
Akihiro Suda 4698247b0a
Merge pull request #108 from containerd/dependabot/go_modules/google.golang.org/grpc-1.68.1
Bump google.golang.org/grpc from 1.67.1 to 1.68.1
2024-12-10 17:35:49 +09:00
Akihiro Suda 563baf1220
Merge pull request #109 from henry118/idmap
Added conversion logic for multiple id mapping snasphotter labels
2024-12-10 17:35:13 +09:00
Henry Wang 0542bd50d8 Added convertion logic for multiple id mapping snasphotter labels
Signed-off-by: Henry Wang <henwang@amazon.com>
2024-12-06 22:07:10 +00:00
dependabot[bot] 49bd5e5b61
Bump google.golang.org/grpc from 1.67.1 to 1.68.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.1 to 1.68.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.67.1...v1.68.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>
2024-12-05 06:18:13 +00:00
Akihiro Suda 84788daec1
Merge pull request #107 from containerd/dependabot/go_modules/github.com/containerd/continuity-0.4.5
Bump github.com/containerd/continuity from 0.4.4 to 0.4.5
2024-11-19 14:01:15 +09:00
dependabot[bot] 7d72cae895
Bump github.com/containerd/continuity from 0.4.4 to 0.4.5
Bumps [github.com/containerd/continuity](https://github.com/containerd/continuity) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/containerd/continuity/releases)
- [Commits](https://github.com/containerd/continuity/compare/v0.4.4...v0.4.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 06:52:21 +00:00
Akihiro Suda 89b60836b7
Merge pull request #105 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.0
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.6 to 2.0.0
2024-11-06 06:04:03 +09:00
dependabot[bot] 95dcfbc599
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.6 to 2.0.0
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.0-rc.6 to 2.0.0.
- [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/v2.0.0-rc.6...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 20:43:31 +00:00
Akihiro Suda 926fa4d913
Merge pull request #101 from containerd/dependabot/go_modules/github.com/containerd/plugin-1.0.0
Bump github.com/containerd/plugin from 0.1.0 to 1.0.0
2024-10-28 09:49:19 +09:00
dependabot[bot] f33c7e90df
Bump github.com/containerd/plugin from 0.1.0 to 1.0.0
Bumps [github.com/containerd/plugin](https://github.com/containerd/plugin) from 0.1.0 to 1.0.0.
- [Release notes](https://github.com/containerd/plugin/releases)
- [Commits](https://github.com/containerd/plugin/compare/v0.1.0...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/containerd/plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 06:20:03 +00:00
Akihiro Suda cde39b053b
Merge pull request #100 from AkihiroSuda/dev
go.mod: module github.com/containerd/fuse-overlayfs-snapshotter/v2
2024-10-24 22:35:34 +09:00
Akihiro Suda dca913c32a
go.mod: module github.com/containerd/fuse-overlayfs-snapshotter/v2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-10-24 22:30:45 +09:00
Akihiro Suda 1a420aa0b1
Dockerfile: test go build for all the packages
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-10-24 22:28:13 +09:00
Akihiro Suda ace11ac289
plugin: fix compilation errors
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-10-24 22:26:23 +09:00
Akihiro Suda fb6d1a2a5b
Merge pull request #98 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.0-rc.6
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.4 to 2.0.0-rc.6
2024-10-24 12:51:07 +09:00
dependabot[bot] f8e01b41c4
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.4 to 2.0.0-rc.6
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.0-rc.4 to 2.0.0-rc.6.
- [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/v2.0.0-rc.4...v2.0.0-rc.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-24 03:23:13 +00:00
Akihiro Suda b2e0183d97
Merge pull request #93 from containerd/dependabot/go_modules/google.golang.org/grpc-1.66.1
Bump google.golang.org/grpc from 1.66.0 to 1.66.1
2024-09-10 16:05:26 +09:00
dependabot[bot] 506b294020
Bump google.golang.org/grpc from 1.66.0 to 1.66.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.66.0 to 1.66.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.66.0...v1.66.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-10 06:54:42 +00:00
Akihiro Suda f230d50bef
Merge pull request #91 from containerd/dependabot/go_modules/google.golang.org/grpc-1.66.0
Bump google.golang.org/grpc from 1.65.0 to 1.66.0
2024-09-01 15:52:10 +09:00
dependabot[bot] fa23a4d398
Bump google.golang.org/grpc from 1.65.0 to 1.66.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.65.0 to 1.66.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.65.0...v1.66.0)

---
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>
2024-08-30 12:34:15 +00:00
Akihiro Suda 14d360cc75
Merge pull request #92 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.0-rc.4
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.3 to 2.0.0-rc.4
2024-08-30 21:33:32 +09:00
dependabot[bot] 9993657044
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.3 to 2.0.0-rc.4
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.0-rc.3 to 2.0.0-rc.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/v2.0.0-rc.3...v2.0.0-rc.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 06:11:58 +00:00
Akihiro Suda 2bf0e223fa
Merge pull request #90 from containerd/dependabot/go_modules/github.com/containerd/containerd/api-1.8.0-rc.3
Bump github.com/containerd/containerd/api from 1.8.0-rc.2 to 1.8.0-rc.3
2024-08-23 23:20:54 +09:00
dependabot[bot] 3390142da4
Bump github.com/containerd/containerd/api from 1.8.0-rc.2 to 1.8.0-rc.3
Bumps [github.com/containerd/containerd/api](https://github.com/containerd/containerd) from 1.8.0-rc.2 to 1.8.0-rc.3.
- [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/api/v1.8.0-rc.2...api/v1.8.0-rc.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 06:58:41 +00:00
Akihiro Suda d84f80a79d
Merge pull request #88 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.0-rc.3
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.1 to 2.0.0-rc.3
2024-08-16 02:41:42 +09:00
dependabot[bot] 1021bbbd02
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.1 to 2.0.0-rc.3
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.0-rc.1 to 2.0.0-rc.3.
- [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/v2.0.0-rc.1...v2.0.0-rc.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-07-04 18:47:02 +09:00
Akihiro Suda 56492bea37
Merge pull request #89 from containerd/dependabot/go_modules/google.golang.org/grpc-1.65.0
Bump google.golang.org/grpc from 1.64.0 to 1.65.0
2024-07-03 16:20:56 +09:00
dependabot[bot] 25eb18c2a3
Bump google.golang.org/grpc from 1.64.0 to 1.65.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

---
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>
2024-07-03 06:07:15 +00:00
Akihiro Suda 4689f25638
Merge pull request #86 from containerd/dependabot/go_modules/github.com/containerd/platforms-0.2.1
Bump github.com/containerd/platforms from 0.2.0 to 0.2.1
2024-06-19 11:59:29 +09:00
dependabot[bot] a6aec3671e
Bump github.com/containerd/platforms from 0.2.0 to 0.2.1
Bumps [github.com/containerd/platforms](https://github.com/containerd/platforms) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/containerd/platforms/releases)
- [Commits](https://github.com/containerd/platforms/compare/v0.2.0...v0.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 06:07:31 +00:00
Akihiro Suda 3f80b57fd7
Merge pull request #83 from containerd/dependabot/go_modules/google.golang.org/grpc-1.64.0
Bump google.golang.org/grpc from 1.63.2 to 1.64.0
2024-05-20 10:07:46 +09:00
dependabot[bot] b90a89b3bd
Bump google.golang.org/grpc from 1.63.2 to 1.64.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.63.2 to 1.64.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.63.2...v1.64.0)

---
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>
2024-05-15 06:53:33 +00:00
Akihiro Suda 7eb69ff744
Merge pull request #81 from containerd/dependabot/go_modules/github.com/containerd/containerd/v2-2.0.0-rc.1
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.0 to 2.0.0-rc.1
2024-05-11 05:26:31 +09:00
dependabot[bot] beb8734b7d
Bump github.com/containerd/containerd/v2 from 2.0.0-rc.0 to 2.0.0-rc.1
Bumps [github.com/containerd/containerd/v2](https://github.com/containerd/containerd) from 2.0.0-rc.0 to 2.0.0-rc.1.
- [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/v2.0.0-rc.0...v2.0.0-rc.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 20:19:59 +00:00
Akihiro Suda 13f7b97f27
Merge pull request #82 from containerd/dependabot/go_modules/github.com/containerd/platforms-0.2.0
Bump github.com/containerd/platforms from 0.1.1 to 0.2.0
2024-05-11 05:19:39 +09:00
dependabot[bot] 7ffc389c42
Bump github.com/containerd/platforms from 0.1.1 to 0.2.0
Bumps [github.com/containerd/platforms](https://github.com/containerd/platforms) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/containerd/platforms/releases)
- [Commits](https://github.com/containerd/platforms/compare/v0.1.1...v0.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 20:19:32 +00:00
Akihiro Suda 2a9884bd12
Merge pull request #80 from containerd/dependabot/go_modules/golang.org/x/net-0.23.0
Bump golang.org/x/net from 0.21.0 to 0.23.0
2024-05-11 05:19:04 +09:00
Akihiro Suda c7b8e8dcf5
Merge pull request #79 from containerd/dependabot/go_modules/google.golang.org/grpc-1.63.2
Bump google.golang.org/grpc from 1.62.1 to 1.63.2
2024-05-11 05:18:50 +09:00
dependabot[bot] 6ae354582b
Bump golang.org/x/net from 0.21.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 13:15:49 +00:00
dependabot[bot] fa14d7a4ff
Bump google.golang.org/grpc from 1.62.1 to 1.63.2
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.1 to 1.63.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.1...v1.63.2)

---
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>
2024-04-09 06:05:28 +00:00
Akihiro Suda 4d411e961e
Merge pull request #72 from dmcgowan/update-containerd-2.0
Update containerd to v2.0.0 release candidate
2024-03-25 15:05:22 +09:00
Derek McGowan 18874cb3b8 Update containerd to v2.0.0 rc
Update containerd to use v2 package

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-03-24 22:48:26 -07:00
Akihiro Suda f6b68ec691
Merge pull request #75 from containerd/dependabot/go_modules/google.golang.org/grpc-1.62.1
Bump google.golang.org/grpc from 1.62.0 to 1.62.1
2024-03-06 15:00:16 +09:00
dependabot[bot] 10d3863d9d
Bump google.golang.org/grpc from 1.62.0 to 1.62.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.0...v1.62.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 21:57:44 +00:00
Akihiro Suda db63eaafe5
Merge pull request #74 from containerd/dependabot/go_modules/google.golang.org/grpc-1.62.0
Bump google.golang.org/grpc from 1.61.1 to 1.62.0
2024-03-06 06:54:55 +09:00
dependabot[bot] 03c2a87246
Bump google.golang.org/grpc from 1.61.1 to 1.62.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
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>
2024-02-22 06:15:26 +00:00
Akihiro Suda 785b2eea99
Merge pull request #73 from containerd/dependabot/go_modules/google.golang.org/grpc-1.61.1
Bump google.golang.org/grpc from 1.61.0 to 1.61.1
2024-02-16 02:06:03 +09:00
Akihiro Suda 41a02739fb
Merge pull request #71 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.7.13
Bump github.com/containerd/containerd from 1.7.12 to 1.7.13
2024-02-16 02:05:46 +09:00
dependabot[bot] c3150fcd98
Bump google.golang.org/grpc from 1.61.0 to 1.61.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.0 to 1.61.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.0...v1.61.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 06:35:21 +00:00
dependabot[bot] 1f7cfb128c
Bump github.com/containerd/containerd from 1.7.12 to 1.7.13
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.12 to 1.7.13.
- [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.7.12...v1.7.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 06:24:09 +00:00
Akihiro Suda e5eaa2e2bd
Merge pull request #65 from containerd/dependabot/github_actions/actions/setup-go-5
Bump actions/setup-go from 4 to 5
2024-01-24 17:49:50 +09:00
Akihiro Suda 8ffb93771a
Merge pull request #69 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.7.12
Bump github.com/containerd/containerd from 1.7.9 to 1.7.12
2024-01-24 17:49:34 +09:00
Akihiro Suda c3a0e65798
Merge pull request #70 from containerd/dependabot/go_modules/google.golang.org/grpc-1.61.0
Bump google.golang.org/grpc from 1.59.0 to 1.61.0
2024-01-24 17:49:18 +09:00
dependabot[bot] 0fc7415fc6
Bump google.golang.org/grpc from 1.59.0 to 1.61.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.59.0 to 1.61.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.59.0...v1.61.0)

---
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>
2024-01-24 06:30:17 +00:00
dependabot[bot] c5467aa5ae
Bump github.com/containerd/containerd from 1.7.9 to 1.7.12
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.9 to 1.7.12.
- [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.7.9...v1.7.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 06:53:39 +00:00
dependabot[bot] 271a4a233c
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-07 06:55:40 +00:00
Akihiro Suda 0953284ed5
Merge pull request #63 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.7.9
Bump github.com/containerd/containerd from 1.7.8 to 1.7.9
2023-11-21 09:16:43 +09:00
dependabot[bot] e5b837d80f
Bump github.com/containerd/containerd from 1.7.8 to 1.7.9
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.8 to 1.7.9.
- [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.7.8...v1.7.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 06:35:39 +00:00
Akihiro Suda c54d1c1d71
Merge pull request #60 from containerd/dependabot/go_modules/github.com/containerd/continuity-0.4.3
Bump github.com/containerd/continuity from 0.4.2 to 0.4.3
2023-11-02 02:15:26 +09:00
dependabot[bot] 0ea4ff253f
Bump github.com/containerd/continuity from 0.4.2 to 0.4.3
Bumps [github.com/containerd/continuity](https://github.com/containerd/continuity) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/containerd/continuity/releases)
- [Commits](https://github.com/containerd/continuity/compare/v0.4.2...v0.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 16:58:20 +00:00
Akihiro Suda b4c624e216
Merge pull request #61 from containerd/dependabot/go_modules/google.golang.org/grpc-1.59.0
Bump google.golang.org/grpc from 1.58.3 to 1.59.0
2023-11-02 01:57:34 +09:00
Akihiro Suda de6d679fd3
Merge pull request #62 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.7.8
Bump github.com/containerd/containerd from 1.7.6 to 1.7.8
2023-11-02 01:57:17 +09:00
dependabot[bot] 6caabb19c4
Bump github.com/containerd/containerd from 1.7.6 to 1.7.8
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.6 to 1.7.8.
- [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.7.6...v1.7.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 14:06:29 +00:00
dependabot[bot] ff2bc133c1
Bump google.golang.org/grpc from 1.58.3 to 1.59.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.3 to 1.59.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.3...v1.59.0)

---
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-11-01 14:06:15 +00:00
Akihiro Suda 45e9a1930c
Merge pull request #59 from AkihiroSuda/dev
Add .github/dependabot.yml
2023-11-01 23:00:55 +09:00
Akihiro Suda fcba4c1134
Add .github/dependabot.yml
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-11-01 22:47:37 +09:00
Akihiro Suda 93ad3f136b
Merge pull request #58 from containerd/dependabot/go_modules/google.golang.org/grpc-1.58.3
Bump google.golang.org/grpc from 1.58.2 to 1.58.3
2023-11-01 22:37:51 +09:00
Akihiro Suda 0a50a0c18a
Merge pull request #57 from alrs/dropped-err
fix dropped snapshotter.Mounts() error
2023-11-01 22:37:00 +09:00
dependabot[bot] ece010d907
Bump google.golang.org/grpc from 1.58.2 to 1.58.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.2 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.2...v1.58.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 21:37:03 +00:00
Lars Lehtonen 1d861920d2
fix dropped snapshotter.Mounts() error
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-10-25 09:39:42 -07:00
Akihiro Suda 2347109973
Merge pull request #56 from containerd/dependabot/go_modules/golang.org/x/net-0.17.0
Bump golang.org/x/net from 0.16.0 to 0.17.0
2023-10-12 11:13:51 +09:00
dependabot[bot] 9c4e20ec2e
Bump golang.org/x/net from 0.16.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 23:19:25 +00:00
Fu Wei 04efe648d0
Merge pull request #54 from AkihiroSuda/hub-to-gh 2023-10-09 10:09:36 +08:00
Akihiro Suda 5c80c36855
Merge pull request #55 from AkihiroSuda/dev
Update dependencies
2023-10-09 10:31:26 +09:00
Akihiro Suda a9af713c4f
release.yaml: migrate from `hub` to `gh`
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-10-09 07:50:50 +09:00
Akihiro Suda 04b906c904
Update dependencies
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-10-09 07:43:49 +09:00
Akihiro Suda a705ae6f22
Merge pull request #53 from AkihiroSuda/dev
Update dependencies
2023-05-11 17:22:07 +09:00
Akihiro Suda a48f65bcd0
Update dependencies
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-11 17:01:44 +09:00
Akihiro Suda 94a33a10f6
Merge pull request #51 from containerd/dependabot/go_modules/golang.org/x/net-0.7.0
Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0
2023-04-03 13:40:27 +09:00
dependabot[bot] c4fb0fff54
Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 04:35:13 +00:00
Akihiro Suda 13557a6a5d
Merge pull request #50 from containerd/dependabot/go_modules/golang.org/x/text-0.3.8
Bump golang.org/x/text from 0.3.7 to 0.3.8
2023-04-03 13:34:36 +09:00
Akihiro Suda 2f13885ddf
Merge pull request #49 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.6.18
Bump github.com/containerd/containerd from 1.6.12 to 1.6.18
2023-04-03 13:34:22 +09:00
dependabot[bot] 8b0399a9a3
Bump golang.org/x/text from 0.3.7 to 0.3.8
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 09:00:06 +00:00
dependabot[bot] 8a2e440c6d
Bump github.com/containerd/containerd from 1.6.12 to 1.6.18
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.12 to 1.6.18.
- [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.6.12...v1.6.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 14:19:33 +00:00
Akihiro Suda 942202ac7e
Merge pull request #48 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.6.12
Bump github.com/containerd/containerd from 1.6.9 to 1.6.12
2022-12-08 09:53:14 +09:00
dependabot[bot] c3269a052f
Bump github.com/containerd/containerd from 1.6.9 to 1.6.12
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.9 to 1.6.12.
- [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.6.9...v1.6.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 23:44:07 +00:00
Akihiro Suda b0d30c5899
Merge pull request #46 from austinvazquez/update-github-actions-packages
Update GitHub actions packages
2022-11-11 08:42:50 +09:00
Austin Vazquez 3f25d15eae Update containerd project checks package
* Updated containerd/project-checks to v1.1.0.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2022-11-10 06:07:43 +00:00
Austin Vazquez 9744f8dcf4 Update GitHub actions packages
* Updated actions/setup-go from v2 to v3.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2022-11-10 05:43:25 +00:00
Akihiro Suda 11c45f4d24
Merge pull request #44 from AkihiroSuda/dev
update deps; fix Makefile
2022-11-09 16:03:48 +09:00
Akihiro Suda 2167485c8e
Makefile: add riscv64
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-09 15:34:32 +09:00
Akihiro Suda 329e079092
Merge pull request #43 from sshedi/make-fix
Makefile fixes
2022-11-09 15:20:54 +09:00
Akihiro Suda 39ace12fb0
Makefile: fix artifacts
All the binaries were accidentally built for amd64

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-09 15:01:38 +09:00
Akihiro Suda 186fe29325
update deps
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-09 14:57:06 +09:00
Shreenidhi Shedi 719056ec67 Makefile: store lengthy strings in variables
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-04 13:02:19 +05:30
Shreenidhi Shedi e417b69cec Makefile: clear _output directory in clean target
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-04 13:02:19 +05:30
Shreenidhi Shedi b8a1db14aa Makefile: store tools used in a global variable
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-04 13:02:19 +05:30
Shreenidhi Shedi eadf1d2496 Makefile: add a default all target
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-04 13:02:19 +05:30
Shreenidhi Shedi 454cc2c4ca Makefile: add help target
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-04 13:02:19 +05:30
Shreenidhi Shedi 4ef45bc6ee Makefile: declare each phony target in new line
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-04 13:02:19 +05:30
Shreenidhi Shedi 36cdc746d0 Makefile: prefix bin with $(CURDIR)
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-04 13:02:19 +05:30
Shreenidhi Shedi ac9c63010c Makefile: tweak destdir to be more flexible
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-04 13:02:18 +05:30
Shreenidhi Shedi 4ba2268443 Makefile: Set VERSION & REVISION only if unset
This is useful while building the package from git tag.
For example, while building rpm from a tagged source tarball.

Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
2022-11-03 18:02:10 +05:30
Akihiro Suda bf32365da8
Merge pull request #42 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.6.6
Bump github.com/containerd/containerd from 1.6.1 to 1.6.6
2022-07-06 12:46:43 +09:00
dependabot[bot] f0f092f68e
Bump github.com/containerd/containerd from 1.6.1 to 1.6.6
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.1 to 1.6.6.
- [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.6.1...v1.6.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 22:08:13 +00:00
Akihiro Suda 4a996579c0
Merge pull request #41 from AkihiroSuda/dev
CI: fix handling push events
2022-03-19 10:48:32 +09:00
Akihiro Suda 404320ab18
CI: fix handling push events
CI was not triggered on pushing to the master

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-03-18 19:18:52 +09:00
Akihiro Suda 01d17e1875
Merge pull request #40 from AkihiroSuda/dev
update dependencies
2022-03-18 14:55:03 +09:00
Akihiro Suda 5613ddb2ff
update dependencies
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-03-18 14:32:29 +09:00
Akihiro Suda 2747b3addd
Merge pull request #39 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.5.10
Bump github.com/containerd/containerd from 1.5.9 to 1.5.10
2022-03-04 13:13:57 +09:00
dependabot[bot] 8df9183347
Bump github.com/containerd/containerd from 1.5.9 to 1.5.10
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.9 to 1.5.10.
- [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.9...v1.5.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 13:34:22 +00:00
Akihiro Suda 920f92e384
Merge pull request #38 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.5.9
Bump github.com/containerd/containerd from 1.5.8 to 1.5.9
2022-01-07 14:52:19 +09:00
dependabot[bot] a590deac77
Bump github.com/containerd/containerd from 1.5.8 to 1.5.9
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.8 to 1.5.9.
- [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.8...v1.5.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 17:50:12 +00:00
Akihiro Suda d33e0a2799
Merge pull request #37 from AkihiroSuda/dev
CI: update fuse-overlayfs to 1.8
2022-01-06 20:16:16 +09:00
Akihiro Suda 7a5920d33d
Dockerfile: update Alpine to 3.15
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-01-04 14:01:44 +09:00
Akihiro Suda 19f6ff606d
CI: update fuse-overlayfs to 1.8
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-01-04 13:52:38 +09:00
Akihiro Suda db90194f0c
Merge pull request #36 from AkihiroSuda/remove-unneeded-replace
go.mod: Remove unneeded `replace()`, `github.com/pkg/errors`, ...
2021-11-19 16:42:01 +09:00
Akihiro Suda fabc5cea24
Dockerfile, GHA: update deps (such as Go 1.17)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-11-19 16:24:02 +09:00
Akihiro Suda f77071bc10
README.md: avoid mentioning Debian 10 kernel patch
Debian 10's kernel patch seems to have stability issues

See moby/moby issue 42302

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-11-19 16:12:30 +09:00
Akihiro Suda d1b0d885c6
Remove github.com/pkg/errors
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-11-19 16:11:00 +09:00
Akihiro Suda 8275985201
Apply gofmt (v1.17)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-11-19 16:10:55 +09:00
Akihiro Suda 6cd2094bc7
go.mod: Remove unneeded `replace()`
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-11-19 16:10:46 +09:00
Akihiro Suda 0d6553d8e9
Merge pull request #35 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.5.8
Bump github.com/containerd/containerd from 1.5.4 to 1.5.8
2021-11-19 14:17:57 +09:00
dependabot[bot] 1d833bb4e0
Bump github.com/containerd/containerd from 1.5.4 to 1.5.8
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.4 to 1.5.8.
- [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.4...v1.5.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 16:45:48 +00:00
Akihiro Suda 0503859d76
Merge pull request #33 from containerd/dependabot/go_modules/github.com/containerd/containerd-1.5.4
Bump github.com/containerd/containerd from 1.5.2 to 1.5.4
2021-07-29 12:36:36 +09:00
dependabot[bot] 39df3fcc61
Bump github.com/containerd/containerd from 1.5.2 to 1.5.4
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.2 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.2...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:19 +00:00
14 changed files with 389 additions and 948 deletions

11
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

View File

@ -2,40 +2,63 @@ name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
project:
name: Project Checks
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 20
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: 1.16.x
- uses: actions/checkout@v2
go-version: 1.24.x
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/fuse-overlayfs-snapshotter
fetch-depth: 25
- uses: containerd/project-checks@v1
- uses: containerd/project-checks@v1.2.2
with:
working-directory: src/github.com/containerd/fuse-overlayfs-snapshotter
linters:
name: Linters
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/fuse-overlayfs-snapshotter
- uses: actions/setup-go@v5
with:
go-version: 1.24.x
- uses: golangci/golangci-lint-action@v8
with:
working-directory: src/github.com/containerd/fuse-overlayfs-snapshotter
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
fuse-overlayfs: [v1.0.0, v1.6, main]
fuse-overlayfs: [v1.0.0, v1.13, main]
env:
FUSEOVERLAYFS_COMMIT: "${{ matrix.fuse-overlayfs }}"
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- run: make test
cross:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v5
with:
go-version: 1.24.x
- uses: actions/checkout@v4
- run: make artifacts

View File

@ -8,13 +8,19 @@ env:
GO111MODULE: on
jobs:
release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 20
# The maximum access is "read" for PRs from public forked repos
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
contents: write # for releases
id-token: write # for provenances
attestations: write # for provenances
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: 1.16.x
- uses: actions/checkout@v2
go-version: 1.24.x
- uses: actions/checkout@v4
with:
path: go/src/github.com/containerd/fuse-overlayfs-snapshotter
- name: "Compile binaries"
@ -31,11 +37,8 @@ jobs:
- name: "Prepare the release note"
working-directory: go/src/github.com/containerd/fuse-overlayfs-snapshotter
run: |
tag="${GITHUB_REF##*/}"
shasha=$(sha256sum _output/SHA256SUMS | awk '{print $1}')
cat <<-EOF | tee /tmp/release-note.txt
${tag}
(To be documented)
- - -
The binaries were built automatically on GitHub Actions.
@ -43,12 +46,13 @@ jobs:
The sha256sum of the SHA256SUMS file itself is \`${shasha}\` .
EOF
- uses: actions/attest-build-provenance@v2
with:
subject-path: go/src/github.com/containerd/fuse-overlayfs-snapshotter/_output/*
- name: "Create release"
working-directory: go/src/github.com/containerd/fuse-overlayfs-snapshotter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF##*/}"
asset_flags=()
for f in _output/*; do asset_flags+=("-a" "$f"); done
hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}"
gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" _output/*

39
.golangci.yml Normal file
View File

@ -0,0 +1,39 @@
version: "2"
linters:
enable:
- copyloopvar
- depguard
- gosec
- misspell
- nolintlint
- unconvert
disable:
- errcheck
- revive
settings:
depguard:
rules:
main:
deny:
- pkg: io/ioutil
desc: use "io" or "os" instead
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$

View File

@ -12,19 +12,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.
ARG FUSEOVERLAYFS_COMMIT=master
ARG ROOTLESSKIT_COMMIT=v0.14.0
ARG SHADOW_COMMIT=4.8.1
ARG FUSEOVERLAYFS_COMMIT=main
ARG ROOTLESSKIT_COMMIT=v1.1.0
ARG GO_VERSION=1.16
ARG DEBIAN_VERSION=10
ARG ALPINE_VERSION=3.13
ARG GO_VERSION=1.24
ARG DEBIAN_VERSION=11
ARG ALPINE_VERSION=3.18
FROM golang:${GO_VERSION}-alpine AS containerd-fuse-overlayfs-test
COPY . /go/src/github.com/containerd/fuse-overlayfs-snapshotter
WORKDIR /go/src/github.com/containerd/fuse-overlayfs-snapshotter
ENV CGO_ENABLED=0
ENV GO111MODULE=on
RUN go build ./...
RUN mkdir /out && go test -c -o /out/containerd-fuse-overlayfs.test
# from https://github.com/containers/fuse-overlayfs/blob/53c17dab78b43de1cd121bf9260b20b76371bbaf/Dockerfile.static.ubuntu
@ -49,22 +49,11 @@ RUN git pull && git checkout ${ROOTLESSKIT_COMMIT}
ENV CGO_ENABLED=0
RUN mkdir /out && go build -o /out/rootlesskit github.com/rootless-containers/rootlesskit/cmd/rootlesskit
FROM alpine:${ALPINE_VERSION} AS idmap
RUN apk add --no-cache autoconf automake build-base byacc gettext gettext-dev gcc git libcap-dev libtool libxslt
RUN git clone https://github.com/shadow-maint/shadow.git
WORKDIR shadow
ARG SHADOW_COMMIT
RUN git pull && git checkout ${SHADOW_COMMIT}
RUN ./autogen.sh --disable-nls --disable-man --without-audit --without-selinux --without-acl --without-attr --without-tcb --without-nscd && \
make && mkdir -p /out && cp src/newuidmap src/newgidmap /out
FROM alpine:${ALPINE_VERSION}
COPY --from=containerd-fuse-overlayfs-test /out/containerd-fuse-overlayfs.test /usr/local/bin
COPY --from=rootlesskit /out/rootlesskit /usr/local/bin
COPY --from=fuse-overlayfs /out/fuse-overlayfs /usr/local/bin
COPY --from=idmap /out/newuidmap /usr/bin/newuidmap
COPY --from=idmap /out/newgidmap /usr/bin/newgidmap
RUN apk add --no-cache fuse3 libcap && \
RUN apk add --no-cache fuse3 libcap shadow-uidmap && \
setcap CAP_SETUID=ep /usr/bin/newuidmap && \
setcap CAP_SETGID=ep /usr/bin/newgidmap && \
adduser -D -u 1000 testuser && \

103
Makefile
View File

@ -12,52 +12,97 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Deliverables path
DESTDIR ?= /usr/local
BINDIR ?= $(DESTDIR)/bin
VERSION=$(shell git describe --match 'v[0-9]*' --dirty='.m' --always --tags)
VERSION_TRIMMED := $(VERSION:v%=%)
REVISION=$(shell git rev-parse HEAD)$(shell if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi)
PKG_MAIN := github.com/containerd/fuse-overlayfs-snapshotter/cmd/containerd-fuse-overlayfs-grpc
PKG_VERSION := github.com/containerd/fuse-overlayfs-snapshotter/cmd/containerd-fuse-overlayfs-grpc/version
# Tools path
ECHO ?= echo
DOCKER ?= docker
GO ?= go
MKDIR ?= mkdir
TAR ?= tar
INSTALL ?= install
GIT ?= git
TARGET_BIN=containerd-fuse-overlayfs-grpc
VERSION ?= $(shell $(GIT) describe --match 'v[0-9]*' --dirty='.m' --always --tags)
VERSION_TRIMMED := $(VERSION:v%=%)
REVISION ?= $(shell $(GIT) rev-parse HEAD)$(shell if ! $(GIT) diff --no-ext-diff --quiet --exit-code; then $(ECHO) .m; fi)
PKG_MAIN := github.com/containerd/fuse-overlayfs-snapshotter/v2/cmd/$(TARGET_BIN)
PKG_VERSION := github.com/containerd/fuse-overlayfs-snapshotter/v2/cmd/$(TARGET_BIN)/version
export GO_BUILD=GO111MODULE=on CGO_ENABLED=0 $(GO) build -ldflags "-s -w -X $(PKG_VERSION).Version=$(VERSION) -X $(PKG_VERSION).Revision=$(REVISION)"
bin/containerd-fuse-overlayfs-grpc:
bin/$(TARGET_BIN):
$(GO_BUILD) -o $@ $(PKG_MAIN)
all: binaries
help:
@$(ECHO) "Usage: make <target>"
@$(ECHO)
@$(ECHO) " * 'install' - Install binaries to system locations."
@$(ECHO) " * 'uninstall' - Uninstall binaries from system."
@$(ECHO) " * 'binaries' - Build $(TARGET_BIN)."
@$(ECHO) " * 'test' - Run tests."
@$(ECHO) " * 'clean' - Clean artifacts."
@$(ECHO) " * 'help' - Show this help message."
binaries: bin/$(TARGET_BIN)
$(TARGET_BIN):
$(GO_BUILD) -o $(CURDIR)/bin/$@ $(PKG_MAIN)
binaries: $(TARGET_BIN)
install:
install bin/containerd-fuse-overlayfs-grpc $(DESTDIR)/bin
$(INSTALL) -D -m 755 $(CURDIR)/bin/$(TARGET_BIN) $(BINDIR)/$(TARGET_BIN)
uninstall:
rm -f $(DESTDIR)/bin/containerd-fuse-overlayfs-grpc
$(RM) $(BINDIR)/$(TARGET_BIN)
clean:
rm -rf bin
$(RM) -r $(CURDIR)/bin $(CURDIR)/_output
TEST_DOCKER_IMG_TAG=containerd-fuse-overlayfs-test
test:
DOCKER_BUILDKIT=1 docker build -t containerd-fuse-overlayfs-test --build-arg FUSEOVERLAYFS_COMMIT=${FUSEOVERLAYFS_COMMIT} .
docker run --rm containerd-fuse-overlayfs-test fuse-overlayfs -V
docker run --rm --security-opt seccomp=unconfined --security-opt apparmor=unconfined --device /dev/fuse containerd-fuse-overlayfs-test
docker rmi containerd-fuse-overlayfs-test
DOCKER_BUILDKIT=1 $(DOCKER) build -t $(TEST_DOCKER_IMG_TAG) --build-arg FUSEOVERLAYFS_COMMIT=${FUSEOVERLAYFS_COMMIT} .
$(DOCKER) run --rm $(TEST_DOCKER_IMG_TAG) fuse-overlayfs -V
$(DOCKER) run --rm --security-opt seccomp=unconfined --security-opt apparmor=unconfined --device /dev/fuse $(TEST_DOCKER_IMG_TAG)
$(DOCKER) rmi $(TEST_DOCKER_IMG_TAG)
_test:
go test -exec rootlesskit -test.v -test.root
$(GO) test -exec rootlesskit -test.v -test.root
TAR_FLAGS=--transform 's/.*\///g' --owner=0 --group=0
artifacts: clean
mkdir -p _output
GOOS=linux GOARCH=amd64 make
tar $(TAR_FLAGS) -czvf _output/containerd-fuse-overlayfs-$(VERSION_TRIMMED)-linux-amd64.tar.gz bin/*
GOOS=linux GOARCH=arm64 make
tar $(TAR_FLAGS) -czvf _output/containerd-fuse-overlayfs-$(VERSION_TRIMMED)-linux-arm64.tar.gz bin/*
GOOS=linux GOARCH=arm GOARM=7 make
tar $(TAR_FLAGS) -czvf _output/containerd-fuse-overlayfs-$(VERSION_TRIMMED)-linux-arm-v7.tar.gz bin/*
GOOS=linux GOARCH=ppc64le make
tar $(TAR_FLAGS) -czvf _output/containerd-fuse-overlayfs-$(VERSION_TRIMMED)-linux-ppc64le.tar.gz bin/*
GOOS=linux GOARCH=s390x make
tar $(TAR_FLAGS) -czvf _output/containerd-fuse-overlayfs-$(VERSION_TRIMMED)-linux-s390x.tar.gz bin/*
ARTIFACT_NAME=containerd-fuse-overlayfs-$(VERSION_TRIMMED)
.PHONY: bin/containerd-fuse-overlayfs-grpc install uninstall clean test _test artifacts
artifacts: clean
$(MKDIR) -p _output
GOOS=linux GOARCH=amd64 make -B
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-amd64.tar.gz $(CURDIR)/bin/*
GOOS=linux GOARCH=arm64 make -B
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-arm64.tar.gz $(CURDIR)/bin/*
GOOS=linux GOARCH=arm GOARM=7 make -B
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-arm-v7.tar.gz $(CURDIR)/bin/*
GOOS=linux GOARCH=ppc64le make -B
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-ppc64le.tar.gz $(CURDIR)/bin/*
GOOS=linux GOARCH=s390x make -B
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-s390x.tar.gz $(CURDIR)/bin/*
GOOS=linux GOARCH=riscv64 make -B
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-riscv64.tar.gz $(CURDIR)/bin/*
.PHONY: \
$(TARGET_BIN) \
install \
uninstall \
clean \
test \
_test \
artifacts \
help

View File

@ -5,8 +5,6 @@ Unlike `overlayfs`, `fuse-overlayfs` can be used as a non-root user on almost al
You do NOT need this `fuse-overlayfs` plugin on the following environments, because they support the real `overlayfs` for non-root users:
- [kernel >= 5.11](https://github.com/torvalds/linux/commit/459c7c565ac36ba09ffbf24231147f408fde4203)
- [Ubuntu kernel, since circa 2015](https://kernel.ubuntu.com/git/ubuntu/ubuntu-bionic.git/commit/fs/overlayfs?id=3b7da90f28fe1ed4b79ef2d994c81efbc58f1144)
- [Debian 10 kernel](https://salsa.debian.org/kernel-team/linux/blob/283390e7feb21b47779b48e0c8eb0cc409d2c815/debian/patches/debian/overlayfs-permit-mounts-in-userns.patch)
- Debian 10 needs `sudo modprobe overlay permit_mounts_in_userns=1`. Future release of Debian with kernel >= 5.11 will not need this `modprobe` hack.
fuse-overlayfs-snapshotter is a **non-core** sub-project of containerd.
@ -25,7 +23,7 @@ Choose 1 if you don't mind recompiling containerd, otherwise choose 2.
### Option 1: Embed `fuse-overlayfs` plugin into the containerd binary
Create `builtins_fuseoverlayfs_linux.go` under [`$GOPATH/src/github.com/containerd/containerd/cmd/containerd`](https://github.com/containerd/containerd/tree/master/cmd/containerd)
Create `builtins_fuseoverlayfs_linux.go` under [`$GOPATH/src/github.com/containerd/containerd/cmd/containerd/builtins`](https://github.com/containerd/containerd/tree/master/cmd/containerd/builtins)
with the following content, and recompile the containerd binary:
```go
@ -47,7 +45,7 @@ with the following content, and recompile the containerd binary:
package main
import _ "github.com/containerd/fuse-overlayfs-snapshotter/plugin"
import _ "github.com/containerd/fuse-overlayfs-snapshotter/v2/plugin"
```
No extra configuration is needed.

View File

@ -1,3 +1,4 @@
//go:build linux
// +build linux
/*
@ -20,20 +21,18 @@ package fuseoverlayfs
import (
"fmt"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"github.com/containerd/containerd/log"
"github.com/containerd/containerd/mount"
"github.com/pkg/errors"
"github.com/containerd/containerd/v2/core/mount"
"github.com/containerd/log"
)
// supportsReadonlyMultipleLowerDir checks if read-only multiple lowerdirs can be mounted with fuse-overlayfs.
// https://github.com/containers/fuse-overlayfs/pull/133
func supportsReadonlyMultipleLowerDir(d string) error {
td, err := ioutil.TempDir(d, "fuseoverlayfs-check")
td, err := os.MkdirTemp(d, "fuseoverlayfs-check")
if err != nil {
return err
}
@ -57,7 +56,7 @@ func supportsReadonlyMultipleLowerDir(d string) error {
}
dest := filepath.Join(td, "merged")
if err := m.Mount(dest); err != nil {
return errors.Wrapf(err, "failed to mount fuse-overlayfs (%+v) on %s", m, dest)
return fmt.Errorf("failed to mount fuse-overlayfs (%+v) on %s: %w", m, dest, err)
}
if err := mount.UnmountAll(dest, 0); err != nil {
log.L.WithError(err).Warnf("Failed to unmount check directory %v", dest)
@ -70,13 +69,13 @@ func supportsReadonlyMultipleLowerDir(d string) error {
// this snapshotter as a library.
func Supported(root string) error {
if _, err := exec.LookPath(fuseoverlayfsBinary); err != nil {
return errors.Wrapf(err, "%s not installed", fuseoverlayfsBinary)
return fmt.Errorf("%s not installed: %w", fuseoverlayfsBinary, err)
}
if err := os.MkdirAll(root, 0700); err != nil {
return err
}
if err := supportsReadonlyMultipleLowerDir(root); err != nil {
return errors.Wrap(err, "fuse-overlayfs not functional, make sure running with kernel >= 4.18")
return fmt.Errorf("fuse-overlayfs not functional, make sure running with kernel >= 4.18: %w", err)
}
return nil
}

View File

@ -22,20 +22,18 @@ import (
"os"
"path/filepath"
sddaemon "github.com/coreos/go-systemd/v22/daemon"
"github.com/sirupsen/logrus"
"google.golang.org/grpc"
snapshotsapi "github.com/containerd/containerd/api/services/snapshots/v1"
"github.com/containerd/containerd/contrib/snapshotservice"
fuseoverlayfs "github.com/containerd/fuse-overlayfs-snapshotter"
"github.com/containerd/fuse-overlayfs-snapshotter/cmd/containerd-fuse-overlayfs-grpc/version"
"github.com/containerd/containerd/v2/contrib/snapshotservice"
fuseoverlayfs "github.com/containerd/fuse-overlayfs-snapshotter/v2"
"github.com/containerd/fuse-overlayfs-snapshotter/v2/cmd/containerd-fuse-overlayfs-grpc/version"
"github.com/containerd/log"
sddaemon "github.com/coreos/go-systemd/v22/daemon"
"google.golang.org/grpc"
)
// main is from https://github.com/containerd/containerd/blob/b9fad5e310fafb453def5f1e7094f4c36a9806d2/PLUGINS.md
func main() {
logrus.Infof("containerd-fuse-overlayfs-grpc Version=%q Revision=%q", version.Version, version.Revision)
log.L.Infof("containerd-fuse-overlayfs-grpc Version=%q Revision=%q", version.Version, version.Revision)
// Provide a unix address to listen to, this will be the `address`
// in the `proxy_plugin` configuration.
// The root will be used to store the snapshots.

View File

@ -1,3 +1,4 @@
//go:build linux
// +build linux
/*
@ -21,18 +22,16 @@ package fuseoverlayfs
import (
"context"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
"syscall"
"github.com/containerd/containerd/log"
"github.com/containerd/containerd/mount"
"github.com/containerd/containerd/snapshots"
"github.com/containerd/containerd/snapshots/storage"
"github.com/containerd/containerd/v2/core/mount"
"github.com/containerd/containerd/v2/core/snapshots"
"github.com/containerd/containerd/v2/core/snapshots/storage"
"github.com/containerd/continuity/fs"
"github.com/pkg/errors"
"github.com/containerd/log"
)
const (
@ -183,10 +182,13 @@ func (o *snapshotter) Mounts(ctx context.Context, key string) ([]mount.Mount, er
return nil, err
}
s, err := storage.GetSnapshot(ctx, key)
if err != nil {
return nil, err
}
_, info, _, err := storage.GetInfo(ctx, key)
t.Rollback()
if err != nil {
return nil, errors.Wrap(err, "failed to get active mount")
return nil, fmt.Errorf("failed to get active mount: %w", err)
}
return o.mounts(s, info), nil
}
@ -217,7 +219,7 @@ func (o *snapshotter) Commit(ctx context.Context, name, key string, opts ...snap
}
if _, err = storage.CommitActive(ctx, key, name, snapshots.Usage(usage), opts...); err != nil {
return errors.Wrap(err, "failed to commit snapshot")
return fmt.Errorf("failed to commit snapshot: %w", err)
}
return t.Commit()
}
@ -240,14 +242,14 @@ func (o *snapshotter) Remove(ctx context.Context, key string) (err error) {
_, _, err = storage.Remove(ctx, key)
if err != nil {
return errors.Wrap(err, "failed to remove")
return fmt.Errorf("failed to remove: %w", err)
}
if !o.asyncRemove {
var removals []string
removals, err = o.getCleanupDirectories(ctx, t)
if err != nil {
return errors.Wrap(err, "unable to get directories for removal")
return fmt.Errorf("unable to get directories for removal: %w", err)
}
// Remove directories after the transaction is closed, failures must not
@ -353,7 +355,7 @@ func (o *snapshotter) createSnapshot(ctx context.Context, kind snapshots.Kind, k
if path != "" {
if err1 := os.RemoveAll(path); err1 != nil {
log.G(ctx).WithError(err1).WithField("path", path).Error("failed to reclaim snapshot directory, directory may need removal")
err = errors.Wrapf(err, "failed to remove path: %v", err1)
err = fmt.Errorf("failed to remove path: %v: %w", err1, err)
}
}
}
@ -365,7 +367,7 @@ func (o *snapshotter) createSnapshot(ctx context.Context, kind snapshots.Kind, k
if rerr := t.Rollback(); rerr != nil {
log.G(ctx).WithError(rerr).Warn("failed to rollback transaction")
}
return nil, errors.Wrap(err, "failed to create prepare snapshot dir")
return nil, fmt.Errorf("failed to create prepare snapshot dir: %w", err)
}
rollback := true
defer func() {
@ -378,13 +380,13 @@ func (o *snapshotter) createSnapshot(ctx context.Context, kind snapshots.Kind, k
s, err := storage.CreateSnapshot(ctx, kind, key, parent, opts...)
if err != nil {
return nil, errors.Wrap(err, "failed to create snapshot")
return nil, fmt.Errorf("failed to create snapshot: %w", err)
}
if len(s.ParentIDs) > 0 {
st, err := os.Stat(o.upperPath(s.ParentIDs[0]))
if err != nil {
return nil, errors.Wrap(err, "failed to stat parent")
return nil, fmt.Errorf("failed to stat parent: %w", err)
}
stat := st.Sys().(*syscall.Stat_t)
@ -393,13 +395,13 @@ func (o *snapshotter) createSnapshot(ctx context.Context, kind snapshots.Kind, k
if rerr := t.Rollback(); rerr != nil {
log.G(ctx).WithError(rerr).Warn("failed to rollback transaction")
}
return nil, errors.Wrap(err, "failed to chown")
return nil, fmt.Errorf("failed to chown: %w", err)
}
}
path = filepath.Join(snapshotDir, s.ID)
if err = os.Rename(td, path); err != nil {
return nil, errors.Wrap(err, "failed to rename")
return nil, fmt.Errorf("failed to rename: %w", err)
}
td = ""
@ -407,16 +409,16 @@ func (o *snapshotter) createSnapshot(ctx context.Context, kind snapshots.Kind, k
rollback = false
if err = t.Commit(); err != nil {
return nil, errors.Wrap(err, "commit failed")
return nil, fmt.Errorf("commit failed: %w", err)
}
return o.mounts(s, info), nil
}
func (o *snapshotter) prepareDirectory(ctx context.Context, snapshotDir string, kind snapshots.Kind) (string, error) {
td, err := ioutil.TempDir(snapshotDir, "new-")
td, err := os.MkdirTemp(snapshotDir, "new-")
if err != nil {
return "", errors.Wrap(err, "failed to create temp dir")
return "", fmt.Errorf("failed to create temp dir: %w", err)
}
if err := os.Mkdir(filepath.Join(td, "fs"), 0755); err != nil {
@ -479,10 +481,10 @@ func (o *snapshotter) mounts(s storage.Snapshot, info snapshots.Info) []mount.Mo
options = append(options, fmt.Sprintf("lowerdir=%s", strings.Join(parentPaths, ":")))
if mapping, ok := info.Labels["containerd.io/snapshot/uidmapping"]; ok {
options = append(options, fmt.Sprintf("uidmapping=%s", mapping))
options = append(options, fmt.Sprintf("uidmapping=%s", convertIDMappingOption(mapping)))
}
if mapping, ok := info.Labels["containerd.io/snapshot/gidmapping"]; ok {
options = append(options, fmt.Sprintf("gidmapping=%s", mapping))
options = append(options, fmt.Sprintf("gidmapping=%s", convertIDMappingOption(mapping)))
}
return []mount.Mount{
{
@ -506,3 +508,10 @@ func (o *snapshotter) workPath(id string) string {
func (o *snapshotter) Close() error {
return o.ms.Close()
}
// fuseIDMappingOption converts mapping entries joined with ',' to ':'
// This is expected by the fuse-overlayfs program:
// https://github.com/containers/fuse-overlayfs/blob/main/fuse-overlayfs.1.md
func convertIDMappingOption(label string) string {
return strings.ReplaceAll(label, ",", ":")
}

View File

@ -1,3 +1,4 @@
//go:build linux
// +build linux
/*
@ -21,13 +22,11 @@ package fuseoverlayfs
import (
"context"
_ "crypto/sha256"
"io/ioutil"
"os"
"testing"
"github.com/containerd/containerd/pkg/testutil"
"github.com/containerd/containerd/snapshots"
"github.com/containerd/containerd/snapshots/testsuite"
"github.com/containerd/containerd/v2/core/snapshots"
"github.com/containerd/containerd/v2/core/snapshots/testsuite"
"github.com/containerd/containerd/v2/pkg/testutil"
)
func newSnapshotter(ctx context.Context, root string) (snapshots.Snapshotter, func() error, error) {
@ -41,11 +40,7 @@ func newSnapshotter(ctx context.Context, root string) (snapshots.Snapshotter, fu
func TestFUSEOverlayFS(t *testing.T) {
testutil.RequiresRoot(t)
td, err := ioutil.TempDir("", "fuseoverlayfs-test")
if err != nil {
t.Fatal(err)
}
defer os.RemoveAll(td)
td := t.TempDir()
if err := Supported(td); err != nil {
t.Skipf("fuse-overlayfs not supported: %v", err)
}

50
go.mod
View File

@ -1,15 +1,45 @@
module github.com/containerd/fuse-overlayfs-snapshotter
module github.com/containerd/fuse-overlayfs-snapshotter/v2
go 1.16
go 1.23.0
require (
github.com/containerd/containerd v1.5.2
github.com/containerd/continuity v0.1.0
github.com/coreos/go-systemd/v22 v22.1.0
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.7.0
google.golang.org/grpc v1.33.2
github.com/containerd/containerd/api v1.9.0
github.com/containerd/containerd/v2 v2.1.1
github.com/containerd/continuity v0.4.5
github.com/containerd/log v0.1.0
github.com/containerd/platforms v1.0.0-rc.1
github.com/containerd/plugin v1.0.0
github.com/coreos/go-systemd/v22 v22.5.0
google.golang.org/grpc v1.72.1
)
// replace grpc to match https://github.com/containerd/containerd/blob/v1.5.2/go.mod
replace google.golang.org/grpc => google.golang.org/grpc v1.27.1
require (
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/Microsoft/hcsshim v0.13.0 // indirect
github.com/containerd/cgroups/v3 v3.0.5 // indirect
github.com/containerd/errdefs v1.0.0 // indirect
github.com/containerd/errdefs/pkg v0.3.0 // indirect
github.com/containerd/ttrpc v1.2.7 // indirect
github.com/containerd/typeurl/v2 v2.2.3 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/moby/sys/mountinfo v0.7.2 // indirect
github.com/moby/sys/userns v0.1.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/stretchr/testify v1.10.0 // indirect
go.etcd.io/bbolt v1.4.0 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/net v0.38.0 // indirect
golang.org/x/sync v0.14.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/text v0.23.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a // indirect
google.golang.org/protobuf v1.36.6 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

924
go.sum

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,4 @@
//go:build linux
// +build linux
/*
@ -21,9 +22,11 @@ package fuseoverlayfs
import (
"errors"
"github.com/containerd/containerd/platforms"
"github.com/containerd/containerd/plugin"
fuseoverlayfs "github.com/containerd/fuse-overlayfs-snapshotter"
"github.com/containerd/containerd/v2/plugins"
fuseoverlayfs "github.com/containerd/fuse-overlayfs-snapshotter/v2"
"github.com/containerd/platforms"
"github.com/containerd/plugin"
"github.com/containerd/plugin/registry"
)
// Config represents configuration for the fuse-overlayfs plugin.
@ -33,8 +36,8 @@ type Config struct {
}
func init() {
plugin.Register(&plugin.Registration{
Type: plugin.SnapshotPlugin,
registry.Register(&plugin.Registration{
Type: plugins.SnapshotPlugin,
ID: "fuse-overlayfs",
Config: &Config{},
InitFn: func(ic *plugin.InitContext) (interface{}, error) {
@ -45,7 +48,7 @@ func init() {
return nil, errors.New("invalid fuse-overlayfs configuration")
}
root := ic.Root
root := ic.Properties[plugins.PropertyRootDir]
if config.RootPath != "" {
root = config.RootPath
}