1
0
mirror of https://github.com/containers/youki synced 2024-11-26 06:08:07 +01:00
Commit Graph

195 Commits

Author SHA1 Message Date
jiaxiao zhou
5a2b42cc49
.github/workflows/basic: check unused deps on 'check' job
this adds a step bnjbvr/cargo-machete@main to check if there are
unused dependencies in the project.

Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
2024-10-01 02:32:33 +00:00
Yashodhan Joshi
3355d019fe ci: update action versions to fix deprecation warnings
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-09-18 18:18:13 +05:30
Yashodhan
1f90ff2510
Add issue templates (#2829)
* Add issue templates

This adds Bug report and Feature request issue templates.

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

* Change the templates to forms

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

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-07-12 13:05:08 +00:00
Jerry
a94a16cd28
Fix typos and bump version for typos ci (#2839)
* chore: fix typo for InvalidSocketName

Signed-off-by: Jerrypoi <jerry.poi.sz@gmail.com>

* chore: fix typos

Signed-off-by: Jerrypoi <jerry.poi.sz@gmail.com>

* chore: bump typos version to catch more typos

Signed-off-by: Jerrypoi <jerry.poi.sz@gmail.com>

---------

Signed-off-by: Jerrypoi <jerry.poi.sz@gmail.com>
2024-07-01 21:20:47 +05:30
Yashodhan
827f4e01de
Update go version in podman CI and vagrantfile (#2828)
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-06-25 15:26:02 -07:00
Toru Komatsu
88dc41b170
Update the release workflow (#2789)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-05-19 21:39:30 -07:00
Jorge Prendes
bdd4f5c674 Add rustfmt.toml to standardize formatting
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-05-15 14:59:06 +01:00
Toru Komatsu
13d791b8e1
Init a seccomp project (#2729)
* Init a seccomp project

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Make gen_validation a static method

Signed-off-by: utam0k <k0ma@utam0k.jp>

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-04-04 21:32:39 +09:00
Toru Komatsu
61ca476eb0 dependabot detects only a direct type
Signed-off-by: Toru Komatsu <k0ma@utam0k.jp>
2024-03-11 12:04:22 +00:00
Yashodhan
cfa2ea9472
Fix integration test validation CI, make io_priority test conditional (#2707)
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-02-27 11:27:41 +05:30
Yashodhan Joshi
9097a56b05 Add test-threads=1 to coverage CI and feature-test 2024-02-20 21:35:01 +05:30
Yashodhan Joshi
67ecda6045 Update workflow for new required deps, add vagrantfile 2024-02-19 15:29:18 +05:30
Jorge Prendes
3f08ae7167
add docker-in-docker e2e test (#2645)
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-01-20 10:16:08 +09:00
Yashodhan
abb339cb90
Fix the missed naming changes in integration test validation CI (#2629)
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-01-17 12:18:42 +05:30
Toru Komatsu
464344923f
Name the test tools contest (#2486)
* Name the test tools `contest`

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Address the feedbacks

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Fix a build error

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Fix a workflow

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Address the feedbacks

Signed-off-by: utam0k <k0ma@utam0k.jp>

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-01-12 14:28:47 +05:30
dependabot[bot]
50c48bf1f7
chore(deps): bump tj-actions/changed-files in /.github/workflows
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v36...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 16:50:56 +00:00
Toru Komatsu
b60889d5b2
Update to Containerd 1.7.11 for e2e integration tests (#2558)
* Containerd 1.7.10

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Update to containerd v1.7.11 and mirror steps from vagrantfile in CI

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-01-02 15:38:55 +05:30
Toru Komatsu
85ec6d0fc0
New Releases needs approval from the maintainer (#2583)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-12-21 20:44:41 +05:30
Jorge Prendes
ff79c54968
(feat) add support for musl using cross-rs (#2536)
* add cross configuration for musl

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* use cargo.sh wapper in build.sh

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* make tests build with musl

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* add targets to run musl tests

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* Use cargo.sh wrapper and cross in CI

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* Update scripts/cargo.sh

Co-Authored-By: adrianalin <pop.adrian61@gmail.com>
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* Use glibc as cross default target

---------

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
Co-authored-by: adrianalin <pop.adrian61@gmail.com>
2023-12-21 11:50:03 +00:00
cuisongliu
9b37c2a950
docs(main): auto release node using just (#2537)
Signed-off-by: cuisongliu <cuisongliu@qq.com>
2023-12-17 20:35:19 +09:00
Jorge Prendes
6bd1281bc4
Simplify release workflow (#2541)
* simplify release workflow

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

* Update doc-updating-script to reflect new tar structure

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>

---------

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2023-12-16 11:01:06 +09:00
Toru Komatsu
18bed8de19
Set up userns in a straightforward way (#2548)
* Set up userns in a straightforward way

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Fix lint

Signed-off-by: utam0k <k0ma@utam0k.jp>

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-12-04 11:48:20 +00:00
cuisongliu
ac20fc302e
docs(main): support arm64 release docs (#2510)
* docs(main): support arm64 release docs

Signed-off-by: cuisongliu <cuisongliu@qq.com>

* docs(main): support arm64 release docs

Signed-off-by: cuisongliu <cuisongliu@qq.com>

* docs(main): support arm64 release docs

Signed-off-by: cuisongliu <cuisongliu@qq.com>

---------

Signed-off-by: cuisongliu <cuisongliu@qq.com>
2023-11-26 12:58:09 +09:00
Jorge Prendes
3cdc7510b2
restore name of workflow steps
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2023-11-15 22:13:43 +00:00
cuisongliu
d0515ff231 fix(main): support arm64 release youki
Signed-off-by: cuisongliu <cuisongliu@qq.com>
2023-11-14 00:27:18 +08:00
utam0k
33c30263ae
Fix the config of the dependenda bot
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-11-05 15:29:39 +09:00
utam0k
1c043fa936
Grouping patch updates in dependabot.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-11-01 20:11:32 +09:00
Yashodhan
80f1f36ae9
Refactor test dir structure (#2421)
* Move individual rust-oci-tests components in the tests dir

We can use several things from test_framework and even integration_test
for additional tests such as podman rootless and wasm tests

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

* fix scripts and docs for the new dir structure

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

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2023-10-10 21:00:02 +09:00
Yashodhan
04dc59f679
Add initial tests for rootless podman (#2406) 2023-10-09 18:43:52 +09:00
Yashodhan
cc39179f9f
podman rootless with dbus native (#2370)
* Move dbus_native code to youki, add tests

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

* (incomplete) move individual systemd components to dbus_native

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

* (incomplete) Change tests to use dbus_native, move
systemdClientInterface into dbus_native

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

* (incomplete) Change variant to actual enum, Fix types for systemd

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

* Fix bug in vector ser/de

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

* Fix mut requirements, minor lints etc., add client id in dbus

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

* Add implementation for proxy methods

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

* Split dbus error from SystemdClientError

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

* implement system and session connection creation

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

* Fix typos and failing feature test build

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

* Completely remove dbus dependency and add docs regarding dbus-native

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

* Update migration guide, move documentation od dbus_native to cgroups

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

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2023-10-05 21:08:06 +09:00
Yashodhan Joshi
28586ed3f7 re-add ld_library_path for unit test, rename cleanup step
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2023-09-25 12:17:16 +05:30
yihuaf
196fcce500 refactor to follow the test-* recipe
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-08-30 10:04:19 -07:00
utam0k
d83c8d4f01
Extend wait time for auto-merge
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-08-19 01:51:59 +00:00
utam0k
8107ddefee
Include Breaking Changes section in the release note
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-08-14 12:54:53 +00:00
utam0k
0bb059c407
Named all GitHub Actions workflows
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-08-12 13:05:40 +00:00
Yashodhan
7c4cbd02cc
Fix podman tests to properly run (#2233) 2023-08-07 22:04:55 +09:00
Yashodhan
3130f5e1a8
Update CI go version to 1.20 (#2227) 2023-08-02 18:57:12 +09:00
Yashodhan
42708e469f
Merge pull request #2150 from yihuaf/yihuaf/optional-ci
Temporarily disable musl tests until https://github.com/containers/youki/issues/2144 is resolved
2023-07-11 11:07:10 +05:30
yihuaf
2828300991 comment out musl test
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-10 22:25:50 -07:00
Toru Komatsu
d7e4a04252
Merge pull request #2122 from utam0k/required-lable
Add one label to generate release notes
2023-07-10 19:58:55 +09:00
Yashodhan Joshi
f5a0dec4e6 Increate musl CI test timeout to 20 2023-07-06 12:25:04 +05:30
utam0k
505db5529e
Add one label to generate release notes
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-07-05 12:31:34 +00:00
Eric Fang
dfe6ee80bc
turn on musl test in CI (#2069)
* turn musl test in CI

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

* fix a version

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-22 20:35:23 +09:00
Toru Komatsu
d40c8ea2a0
Fix the release workflow. (#2070)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-20 20:11:11 +05:30
Eric Fang
f4e7e300e6
Fix the feature test and turn on in CI (#2060)
* reworked the justfile to be explicit with path

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

* fix the feature tests

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

* add the musl test

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

* moving all stub into a single dir

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-19 21:21:18 +09:00
Eric Fang
ebef6dba09
Introduce a log-level flag. (#2036)
* Implement `--log-level`

In short:

Propose the default log level for release to error
Keep the --debug flag and it sets the log level to debug
Introduce --log-level flag to set the log level
--debug flag will be ignored if --log-level flag is also set.
Keep the default log level for debug build to debug

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

* minor fix to CI

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

* move log-level to youki_extend

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

* remove the workflow_dispatch trigger

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-17 21:56:49 +09:00
Yashodhan Joshi
9bc5701401 update podman test workflow for new justfile setup 2023-06-12 11:27:41 +05:30
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
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
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