1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-06-08 07:46:19 +02:00
Commit Graph

1992 Commits

Author SHA1 Message Date
Thomas Schubart bc566d84bb
Merge pull request #779 from utam0k/improvement/update-readme-makefile
update README.md for makefile.
2022-03-20 10:32:26 +01:00
utam0k b220ae26c6
update README.md for makefile.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-19 22:53:35 +09:00
YJDoc2 b4a7b3c697
Merge pull request #774 from utam0k/feature/Makefile
Introduce the root Makefile.
2022-03-18 17:48:09 +05:30
utam0k 3d44b4c0bd
fix conflicts.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-18 21:02:29 +09:00
utam0k 4dbdd6ca18
Merge pull request #778 from utam0k/fix/debug-mode
fix log control env val not passing properly.
2022-03-17 22:20:37 +09:00
utam0k 1b2d99e48b
fix log control env val not passing properly.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-17 22:05:38 +09:00
utam0k 47fd05f842
Merge pull request #777 from utam0k/improvement/gh-actions-to
introduce the timeout for github actions
2022-03-16 21:27:03 +09:00
utam0k a625a763f2
introduce the timeout for github actions. 2022-03-16 21:14:44 +09:00
utam0k 9b83fffef2
turn on release build once because of debug build is failed. 2022-03-14 22:08:37 +09:00
utam0k 0a7f5f9115
Merge pull request #775 from yihuaf/yihuaf/fix_comments
Fix a comment explaining that `seccom_rule_add` requires multiple args to be broken into multiple rules.
2022-03-14 11:18:18 +09:00
yihuaf 025e3d31fa Fix a comment.
Fix a comment explaining that seccom_rule_add requires args to be broken
into multiple rules.

Signed-off-by: yihuaf <yihuaf@unkies.org>
2022-03-13 19:52:37 +01:00
utam0k 17d7303c26
Make relase and debug optional in scripts/build.rs 2022-03-13 21:43:13 +09:00
utam0k 54bb830b4b
Introduce the root Makefile.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-11 22:14:34 +09:00
utam0k 01ba43b37b
Merge pull request #694 from YJDoc2/improvement/refactor-dir-structure
Refactor Directory structure
2022-03-09 21:22:46 +09:00
Yashodhan Joshi d4d0f9bb48 Merge branch 'main' of github.com:containers/youki into improvement/refactor-dir-structure 2022-03-09 11:46:06 +05:30
utam0k 8550d34395
Merge pull request #768 from containers/dependabot/cargo/libz-sys-1.1.5
chore(deps): bump libz-sys from 1.1.4 to 1.1.5
2022-03-09 12:15:44 +09:00
utam0k 492da5de3e
Merge pull request #769 from containers/dependabot/cargo/tracing-attributes-0.1.20
chore(deps): bump tracing-attributes from 0.1.19 to 0.1.20
2022-03-09 12:15:20 +09:00
utam0k f1c929b8c9
Merge pull request #770 from containers/dependabot/cargo/regex-1.5.5
chore(deps): bump regex from 1.5.4 to 1.5.5
2022-03-09 12:14:51 +09:00
dependabot[bot] 033155dc5e
chore(deps): bump regex from 1.5.4 to 1.5.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.5.
- [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.5.4...1.5.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 00:25:30 +00:00
dependabot[bot] d5bd8ea964
chore(deps): bump tracing-attributes from 0.1.19 to 0.1.20
Bumps [tracing-attributes](https://github.com/tokio-rs/tracing) from 0.1.19 to 0.1.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-attributes-0.1.19...tracing-attributes-0.1.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 00:25:19 +00:00
dependabot[bot] a1b92cc4e5
chore(deps): bump libz-sys from 1.1.4 to 1.1.5
Bumps [libz-sys](https://github.com/rust-lang/libz-sys) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/rust-lang/libz-sys/releases)
- [Commits](https://github.com/rust-lang/libz-sys/compare/1.1.4...1.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 00:24:47 +00:00
utam0k 4dcd223c39
Merge pull request #767 from Furisto/update-anyhow
Bump anyhow from 1.0.55 to 1.0.56 and fix warnings
2022-03-09 08:13:07 +09:00
Furisto 1b984540b4
Fix warnings caused by anyhow update
Signed-off-by: Furisto <24721048+Furisto@users.noreply.github.com>
2022-03-08 20:36:44 +01:00
utam0k 6d6a7c0e5a
Merge pull request #744 from saschagrunert/oci-spec-update
Update oci-spec-rs to v0.5.5
2022-03-07 21:38:48 +09:00
utam0k da36c62ca4
Merge pull request #758 from Furisto/close-range
Use close_range where possible
2022-03-07 21:38:08 +09:00
utam0k 800d4f589e
Merge pull request #711 from cr0ax/devices_tests_2
Adds more mocked tests
2022-03-07 21:19:38 +09:00
Sascha Grunert c28747128d
Merge pull request #765 from containers/dependabot/cargo/libz-sys-1.1.4
chore(deps): bump libz-sys from 1.1.3 to 1.1.4
2022-03-07 09:33:24 +01:00
Sascha Grunert 48ce2229fd
Merge pull request #764 from containers/dependabot/cargo/wasmer-wasi-2.2.0
chore(deps): bump wasmer-wasi from 2.1.1 to 2.2.0
2022-03-07 09:32:45 +01:00
Sascha Grunert 330a715197
Update oci-spec-rs to v0.5.5
This means we can now use the filter types to enforce tighter type
checks.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-03-07 09:28:17 +01:00
dependabot[bot] 4c0dbf5ff2
chore(deps): bump libz-sys from 1.1.3 to 1.1.4
Bumps [libz-sys](https://github.com/rust-lang/libz-sys) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/rust-lang/libz-sys/releases)
- [Commits](https://github.com/rust-lang/libz-sys/compare/1.1.3...1.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:07:37 +00:00
dependabot[bot] 93613d54b7
chore(deps): bump wasmer-wasi from 2.1.1 to 2.2.0
Bumps [wasmer-wasi](https://github.com/wasmerio/wasmer) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/wasmerio/wasmer/releases)
- [Changelog](https://github.com/wasmerio/wasmer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wasmerio/wasmer/compare/2.1.1...2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:07:26 +00:00
Furisto 8b6c80e4f1
Merge branch 'main' into close-range 2022-03-06 23:37:59 +01:00
Christian Burke c3fcd02229 More granular use of `serial` in devices/bpf.rs
Also move extraneous `use` statement.

Signed-off-by: Christian Burke <cr0ax64@gmail.com>
2022-03-06 10:15:40 -08:00
Christian Burke 3e95c84df5 Add more mocked unit tests for libcgroups in v2/devices/bpf.rs
This commit builds on previous work using the mockall library.
We add a mock module with signatures of functions we want to mock from
`libc` and `libbpf`, and then those mocks are used from the `bpf` module.

Tests for the `bpf_query` function required things like setting errors and
manipulating the content of c-arrays in the `returning` callback.

Signed-off-by: Christian Burke <cr0ax64@gmail.com>
2022-03-06 10:00:02 -08:00
utam0k ba9215cd8e
Merge pull request #741 from utam0k/feature/remove-original-libseccomp
Use the libseccomp-rs/libseccomp-rs crate instead of youki original libseccomp-rs.
2022-03-05 22:10:30 +09:00
utam0k 5916ff31dc
Make the code more understandable.
Co-authored-by: Manabu Sugimoto <66765615+ManaSugi@users.noreply.github.com>
2022-03-05 22:01:38 +09:00
utam0k 57c3543be3
Remove crates/libseccomp from github actions.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-05 22:01:38 +09:00
utam0k baa8c21772
Use the libseccomp-rs/libseccomp-rs crate instead of youki original libseccomp-rs.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-05 22:01:37 +09:00
utam0k cb3e4879d7
Merge pull request #754 from containers/dependabot/cargo/wasmer-2.2.0
chore(deps): bump wasmer from 2.1.1 to 2.2.0
2022-03-05 21:56:58 +09:00
Yashodhan Joshi 7315978034 Update tutorial in Readme and docs to incorporate scripts 2022-03-05 17:02:33 +05:30
dependabot[bot] 74f6814f76
chore(deps): bump wasmer from 2.1.1 to 2.2.0
Bumps [wasmer](https://github.com/wasmerio/wasmer) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/wasmerio/wasmer/releases)
- [Changelog](https://github.com/wasmerio/wasmer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wasmerio/wasmer/compare/2.1.1...2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-05 11:24:21 +00:00
utam0k 86acc4d560
Merge pull request #762 from utam0k/fix/not-found-pid-file
Create the pid file with integration test
2022-03-05 20:22:34 +09:00
utam0k d9d1efabdc
fix the warnings of cargo clippy.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-05 15:55:44 +09:00
utam0k f21deee59b
Create the pid file with integration test. 2022-03-05 15:49:13 +09:00
utam0k 6c24e3ca48
Merge pull request #760 from containers/dependabot/cargo/rkyv-0.7.35
chore(deps): bump rkyv from 0.7.33 to 0.7.35
2022-03-04 10:33:38 +09:00
utam0k f4d2619bc4
Merge pull request #761 from containers/dependabot/cargo/once_cell-1.10.0
chore(deps): bump once_cell from 1.9.0 to 1.10.0
2022-03-04 10:33:16 +09:00
dependabot[bot] 843cc8d94b
chore(deps): bump once_cell from 1.9.0 to 1.10.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.9.0...v1.10.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>
2022-03-04 00:27:53 +00:00
dependabot[bot] a2c8373fae
chore(deps): bump rkyv from 0.7.33 to 0.7.35
Bumps [rkyv](https://github.com/rkyv/rkyv) from 0.7.33 to 0.7.35.
- [Release notes](https://github.com/rkyv/rkyv/releases)
- [Changelog](https://github.com/rkyv/rkyv/blob/master/release_checklist.md)
- [Commits](https://github.com/rkyv/rkyv/compare/v0.7.33...v0.7.35)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-04 00:27:03 +00:00
utam0k a69548ae7a
Merge pull request #759 from containers/dependabot/cargo/termcolor-1.1.3
chore(deps): bump termcolor from 1.1.2 to 1.1.3
2022-03-03 13:42:23 +09:00
dependabot[bot] d14be64c8d
chore(deps): bump termcolor from 1.1.2 to 1.1.3
Bumps [termcolor](https://github.com/BurntSushi/termcolor) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/BurntSushi/termcolor/releases)
- [Commits](https://github.com/BurntSushi/termcolor/compare/1.1.2...1.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 00:25:20 +00:00