1
0
mirror of https://github.com/containers/youki synced 2024-09-19 18:37:40 +02:00
Commit Graph

3961 Commits

Author SHA1 Message Date
utam0k
51ac26a0ca
Add the test with kind to github action
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-11 02:05:03 +00:00
Toru Komatsu
a49d14cca9
Merge pull request #2029 from yihuaf/yihuaf/seccomp
Bump the oci-spec-rs to 0.6.1 to resolve seccomp rule issue
2023-06-10 21:48:04 +09:00
yihuaf
c23edc02cc add some tracing
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 12:11:12 -07:00
yihuaf
545b13da86 bump oci-spec version to 0.6.1
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 11:24:57 -07:00
yihuaf
6475556272 minor fix to the basic_usage.md
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 10:34:39 -07:00
yihuaf
9dd047d674 minor fix to just
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 10:34:23 -07:00
github-actions[bot]
44d8a0f023
Merge pull request #2025 from containers/dependabot/cargo/webc-5.0.4 2023-06-09 01:33:50 +00:00
github-actions[bot]
4fc0bdc20a
Merge pull request #2024 from containers/dependabot/cargo/serde-1.0.164 2023-06-09 01:28:53 +00:00
github-actions[bot]
26e6d3dc4a
Merge pull request #2023 from containers/dependabot/cargo/proc-macro2-1.0.60 2023-06-09 01:25:00 +00:00
dependabot[bot]
86e12d9766
chore(deps): bump webc from 5.0.3 to 5.0.4
Bumps [webc](https://github.com/wasmerio/pirita) from 5.0.3 to 5.0.4.
- [Commits](https://github.com/wasmerio/pirita/commits)

---
updated-dependencies:
- dependency-name: webc
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 01:23:29 +00:00
dependabot[bot]
3be663fedf
chore(deps): bump serde from 1.0.163 to 1.0.164
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 01:18:34 +00:00
dependabot[bot]
329be7f8e0
chore(deps): bump proc-macro2 from 1.0.59 to 1.0.60
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.59...1.0.60)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 01:12:40 +00:00
Eric Fang
3a790dffe9
Using typos-cli to catch typos + fixes for existing typos (#2018)
* adds a typos configuration file

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix all the typos

Signed-off-by: yihuaf <yihuaf@unkies.org>

* add typos to justfile and CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-08 10:19:17 +05:30
github-actions[bot]
6b4ee6181a
Merge pull request #2021 from containers/dependabot/cargo/shared-buffer-0.1.3 2023-06-08 01:28:40 +00:00
dependabot[bot]
84783525ae
chore(deps): bump shared-buffer from 0.1.2 to 0.1.3
Bumps [shared-buffer](https://github.com/wasmerio/shared-buffer) from 0.1.2 to 0.1.3.
- [Changelog](https://github.com/wasmerio/shared-buffer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wasmerio/shared-buffer/compare/v0.1.2...v0.1.3)

---
updated-dependencies:
- dependency-name: shared-buffer
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 01:20:18 +00:00
github-actions[bot]
b29db71286
Merge pull request #2020 from containers/dependabot/cargo/iana-time-zone-0.1.57 2023-06-08 01:13:06 +00:00
dependabot[bot]
2decced17b
chore(deps): bump iana-time-zone from 0.1.56 to 0.1.57
Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.56 to 0.1.57.
- [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md)
- [Commits](https://github.com/strawlab/iana-time-zone/compare/v0.1.56...v0.1.57)

---
updated-dependencies:
- dependency-name: iana-time-zone
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 01:04:46 +00:00
dependabot[bot]
ef8fd59a42
chore(deps): bump tempfile from 3.5.0 to 3.6.0 (#2013)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.5.0 to 3.6.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 23:32:06 -07:00
adrianalin
67311c81f9
add rsymfollow recursive mount test (#1967)
Signed-off-by: Adrian Pop <pop.adrian61@gmail.com>
2023-06-06 22:43:35 -07:00
Eric Fang
93a0afdeb0
Refactor CI (#2012)
* refactored the CI

- standarized all CI to use Ubuntu 22
- refactored the justfile
- moved the rust integration test to e2e
- moved the oci validation go version to e2e
- change the file filter action to `tj-actions/changed-files`
- refactored the dependencies installation to `just prepare` recipe
- fix readme (make -> just)
- fix readme minor lint issuefix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-07 11:03:25 +05:30
Yashodhan
724bce3b9e
Merge pull request #2016 from containers/dependabot/cargo/libc-0.2.146
(auto merged) chore(deps): bump libc from 0.2.145 to 0.2.146
2023-06-07 10:41:40 +05:30
github-actions[bot]
17073e8afb
Merge pull request #2017 from containers/dependabot/cargo/object-0.30.4 2023-06-07 01:31:44 +00:00
dependabot[bot]
0e2719d5b2
chore(deps): bump libc from 0.2.145 to 0.2.146
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.145 to 0.2.146.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.145...0.2.146)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 01:30:21 +00:00
github-actions[bot]
602173fce8
Merge pull request #2015 from containers/dependabot/cargo/webc-5.0.3 2023-06-07 01:28:59 +00:00
dependabot[bot]
9e65fc3c9a
chore(deps): bump object from 0.30.3 to 0.30.4
Bumps [object](https://github.com/gimli-rs/object) from 0.30.3 to 0.30.4.
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gimli-rs/object/commits)

---
updated-dependencies:
- dependency-name: object
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 01:21:24 +00:00
dependabot[bot]
bfa0538f96
chore(deps): bump webc from 5.0.2 to 5.0.3
Bumps [webc](https://github.com/wasmerio/pirita) from 5.0.2 to 5.0.3.
- [Commits](https://github.com/wasmerio/pirita/commits)

---
updated-dependencies:
- dependency-name: webc
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 01:18:38 +00:00
github-actions[bot]
e55494b633
Merge pull request #2014 from containers/dependabot/cargo/getrandom-0.2.10 2023-06-07 01:13:20 +00:00
dependabot[bot]
07944a910b
chore(deps): bump getrandom from 0.2.9 to 0.2.10
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.9 to 0.2.10.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.9...v0.2.10)

---
updated-dependencies:
- dependency-name: getrandom
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 01:04:59 +00:00
Jorge Prendes
2ff8b97e67
Do not try to acquire capabilities we are not allowed to (#2000)
Currently reset_effective tries to acquire all know capabilities from a hardcoded list.
According to https://man7.org/linux/man-pages/man7/capabilities.7.html only capabilities in the permitted set can be acquired.
Trying to acquire a capability beyond those in the permitted set will result in EPERM (see https://man7.org/linux/man-pages/man2/capset.2.html).
This change modifies reset_effective so that it only acquires the capabilities in the permitted set.

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2023-06-06 01:26:33 -07:00
Yashodhan
242718111c
Merge pull request #2007 from containers/dependabot/cargo/regex-1.8.4
(auto merged) chore(deps): bump regex from 1.8.3 to 1.8.4
2023-06-06 11:05:27 +05:30
dependabot[bot]
e54ebe8984
chore(deps): bump regex from 1.8.3 to 1.8.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.8.3...1.8.4)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 05:17:28 +00:00
Yashodhan
0c95dcc48a
Merge pull request #2011 from containers/dependabot/cargo/url-2.4.0
chore(deps): bump url from 2.3.1 to 2.4.0
2023-06-06 10:45:06 +05:30
Yashodhan
7b2ca88cea
Merge pull request #2010 from containers/dependabot/cargo/percent-encoding-2.3.0
chore(deps): bump percent-encoding from 2.2.0 to 2.3.0
2023-06-06 10:44:31 +05:30
github-actions[bot]
5cbf85771f
Merge pull request #2009 from containers/dependabot/cargo/parking_lot_core-0.9.8 2023-06-06 01:23:56 +00:00
github-actions[bot]
613d626963
Merge pull request #2008 from containers/dependabot/cargo/lock_api-0.4.10 2023-06-06 01:23:05 +00:00
github-actions[bot]
b223e72745
Merge pull request #2006 from containers/dependabot/cargo/wasmtime-wasi-9.0.3 2023-06-06 01:21:16 +00:00
dependabot[bot]
dd315eaacd
chore(deps): bump url from 2.3.1 to 2.4.0
Bumps [url](https://github.com/servo/rust-url) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: url
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 01:17:34 +00:00
dependabot[bot]
7237eb2c7c
chore(deps): bump percent-encoding from 2.2.0 to 2.3.0
Bumps [percent-encoding](https://github.com/servo/rust-url) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: percent-encoding
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 01:16:23 +00:00
dependabot[bot]
40821f577e
chore(deps): bump parking_lot_core from 0.9.7 to 0.9.8
Bumps [parking_lot_core](https://github.com/Amanieu/parking_lot) from 0.9.7 to 0.9.8.
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/core-0.9.7...core-0.9.8)

---
updated-dependencies:
- dependency-name: parking_lot_core
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 01:13:36 +00:00
dependabot[bot]
29202ed5df
chore(deps): bump lock_api from 0.4.9 to 0.4.10
Bumps [lock_api](https://github.com/Amanieu/parking_lot) from 0.4.9 to 0.4.10.
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/lock_api-0.4.9...lock_api-0.4.10)

---
updated-dependencies:
- dependency-name: lock_api
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 01:12:41 +00:00
dependabot[bot]
8fca7d7fa0
chore(deps): bump wasmtime-wasi from 9.0.2 to 9.0.3
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 01:10:53 +00:00
Yashodhan
79b6450a86
Replace Makefiles with Just (#1823)
Refactored the build system using `justfile`.

* Use just in CI instead of makefiles

* Remove makefiles completely

* Increase timeout in rust validation
2023-06-05 09:24:33 -07:00
dependabot[bot]
510cc8a124
chore(deps): bump cranelift-control from 0.96.2 to 0.96.3 (#1995)
Bumps [cranelift-control](https://github.com/bytecodealliance/wasmtime) from 0.96.2 to 0.96.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/commits)

---
updated-dependencies:
- dependency-name: cranelift-control
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 23:36:42 -07:00
dependabot[bot]
9d5dafbdf1
chore(deps): bump wasmtime from 9.0.2 to 9.0.3 (#1993)
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 23:36:26 -07:00
dependabot[bot]
d1811c7867
chore(deps): bump once_cell from 1.17.2 to 1.18.0 (#2001)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 23:35:48 -07:00
Eric Fang
d09c984567
do not log error in the syscall crate (#1973)
* do not log error for mount in specific cases
* clean up the logs in the syscall module
* update toolchain to rust 1.70
---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-04 23:19:51 -07:00
github-actions[bot]
53ba8d41d3
Merge pull request #2003 from containers/dependabot/cargo/libc-0.2.145 2023-06-05 02:06:40 +00:00
github-actions[bot]
121a2b1138
Merge pull request #2002 from containers/dependabot/cargo/aho-corasick-1.0.2 2023-06-05 02:00:19 +00:00
dependabot[bot]
90946a1fbe
chore(deps): bump libc from 0.2.144 to 0.2.145
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.144 to 0.2.145.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.144...0.2.145)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 01:54:19 +00:00
dependabot[bot]
20e7f05182
chore(deps): bump aho-corasick from 1.0.1 to 1.0.2
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick) from 1.0.1 to 1.0.2.
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/1.0.1...1.0.2)

---
updated-dependencies:
- dependency-name: aho-corasick
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 01:47:59 +00:00