1
0
mirror of https://github.com/containers/youki synced 2024-11-22 17:02:00 +01:00
youki/scripts
Yashodhan 601df9ecd3
Fix cgroups determination in exec implementation (#2720)
* Set cgroups path for tenant containers from main container

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Ignore new_user_ns for creating cgroups path

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Remove user_ns param completely

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add tests in podman rootless for exec

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix add_task implementation for cgroups v2 and systemd

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* minor refactor in tenant builder

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add unit test for systemd add_task function

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix task addition to properly add tasks via dbus api

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix cross cotainers for tests running

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-04-27 21:49:58 +09:00
..
.gitignore Add scripts to build binaries, run rust integration tests and clean up 2022-02-06 16:01:13 +05:30
build.sh Name the test tools contest (#2486) 2024-01-12 14:28:47 +05:30
cargo.sh Fix cgroups determination in exec implementation (#2720) 2024-04-27 21:49:58 +09:00
clean.sh (feat) add support for musl using cross-rs (#2536) 2023-12-21 11:50:03 +00:00
contest.sh Re enable skipped e2e tests (#2647) 2024-01-23 20:36:04 +09:00
features_test.sh Add test-threads=1 to coverage CI and feature-test 2024-02-20 21:35:01 +05:30
oci_integration_tests.sh Using typos-cli to catch typos + fixes for existing typos (#2018) 2023-06-08 10:19:17 +05:30
README.md Update the docs for the directory structure changes (#813) 2022-04-13 20:59:52 +02:00
release_tag.sh Update doc with cross-rs and musl builds (#2621) 2024-01-11 20:39:29 +09:00

Scripts

This stores various scripts that do various things. These can be intended to be used directly, or can be for using from some other scripts or Makefiles.

Note

Please use set -e at the start of every script. This will ensure that the operation fails if any single command fails in that script. Without it, the script will continue after the failing command and might create a knock-on effect of incorrect results. In case you expect some step to fail, handle the failure directly rather than checking some condition to see if the command is successful in the rest of the script.