Skip to content

libcontainer: Make the workloads injectable#1403

Merged
Furisto merged 6 commits intoyouki-dev:mainfrom
utam0k:exec-manager
Mar 13, 2023
Merged

libcontainer: Make the workloads injectable#1403
Furisto merged 6 commits intoyouki-dev:mainfrom
utam0k:exec-manager

Conversation

@utam0k
Copy link
Copy Markdown
Member

@utam0k utam0k commented Dec 11, 2022

It allows flexibility by allowing libcontainer users to create and inject workloads.
For example, users of libcontainer can add their favorite wasm runtime and not use the normal workloads.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 11, 2022

Codecov Report

Merging #1403 (cf382cf) into main (ef5daba) will decrease coverage by 0.08%.
The diff coverage is 9.52%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1403      +/-   ##
==========================================
- Coverage   68.95%   68.88%   -0.08%     
==========================================
  Files         120      121       +1     
  Lines       13156    13177      +21     
==========================================
+ Hits         9072     9077       +5     
- Misses       4084     4100      +16     

@utam0k utam0k force-pushed the exec-manager branch 4 times, most recently from 22ff520 to af830cb Compare December 15, 2022 12:32
@utam0k utam0k marked this pull request as ready for review December 15, 2022 21:18
@utam0k utam0k requested a review from Furisto December 15, 2022 21:18
@utam0k utam0k requested review from a team and Furisto and removed request for Furisto January 15, 2023 07:08
@utam0k utam0k force-pushed the exec-manager branch 3 times, most recently from e4aa804 to 5105b01 Compare February 25, 2023 11:09
@utam0k
Copy link
Copy Markdown
Member Author

utam0k commented Feb 25, 2023

@Furisto May I ask you to review this PR?

if proc.args().is_some() {
ExecutorManager::exec(spec)
args.executor_manager.exec(spec)?;
unreachable!("process image should have been replaced after exec");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image will not have been replaced if you are using wasm to execute the workload and youki will crash in that case.

dependabot bot and others added 5 commits March 11, 2023 10:32
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.1.1...clap_complete-v4.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.1.4...v4.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.1.2...clap_complete-v4.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: utam0k <k0ma@utam0k.jp>
Signed-off-by: utam0k <k0ma@utam0k.jp>
Signed-off-by: utam0k <k0ma@utam0k.jp>
@utam0k
Copy link
Copy Markdown
Member Author

utam0k commented Mar 11, 2023

@Furisto PTAL

@Furisto Furisto merged commit 4e029b0 into youki-dev:main Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants