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

Merge pull request #2437 from utam0k/version-v0.3.0

v0.3.0
This commit is contained in:
Toru Komatsu 2023-10-15 15:48:33 +09:00 committed by GitHub
commit e4d2b3972a
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 16 deletions

8
Cargo.lock generated

@ -1908,7 +1908,7 @@ checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b"
[[package]]
name = "libcgroups"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"anyhow",
"clap",
@ -1933,7 +1933,7 @@ dependencies = [
[[package]]
name = "libcontainer"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"anyhow",
"bitflags 2.4.0",
@ -1974,7 +1974,7 @@ dependencies = [
[[package]]
name = "liboci-cli"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"clap",
]
@ -5728,7 +5728,7 @@ dependencies = [
[[package]]
name = "youki"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"anyhow",
"caps",

@ -1,6 +1,6 @@
[package]
name = "libcgroups"
version = "0.2.0"
version = "0.3.0" # MARK: Version
description = "Library for cgroup"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"

@ -1,6 +1,6 @@
[package]
name = "libcontainer"
version = "0.2.0"
version = "0.3.0" # MARK: Version
description = "Library for container control"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
@ -43,7 +43,7 @@ oci-spec = { version = "~0.6.3", features = ["runtime"] }
once_cell = "1.18.0"
procfs = "0.15.1"
prctl = "1.0.0"
libcgroups = { version = "0.2.0", path = "../libcgroups", default-features = false }
libcgroups = { version = "0.3.0", path = "../libcgroups", default-features = false }
libseccomp = { version = "0.3.0", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

@ -1,6 +1,6 @@
[package]
name = "liboci-cli"
version = "0.2.0"
version = "0.3.0" # MARK: Version
description = "Parse command line arguments for OCI container runtimes"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"

@ -1,6 +1,6 @@
[package]
name = "youki"
version = "0.2.0"
version = "0.3.0" # MARK: Version
description = "A container runtime written in Rust"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
@ -29,9 +29,9 @@ features = ["std", "suggestions", "derive", "cargo", "help", "usage", "error-con
[dependencies]
anyhow = "1.0.75"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
libcgroups = { version = "0.2.0", path = "../libcgroups", default-features = false }
libcontainer = { version = "0.2.0", path = "../libcontainer", default-features = false }
liboci-cli = { version = "0.2.0", path = "../liboci-cli" }
libcgroups = { version = "0.3.0", path = "../libcgroups", default-features = false }
libcontainer = { version = "0.3.0", path = "../libcontainer", default-features = false }
liboci-cli = { version = "0.3.0", path = "../liboci-cli" }
nix = "0.27.1"
once_cell = "1.18.0"
pentacle = "1.0.0"

@ -47,11 +47,11 @@ Install from the GitHub release.
Note that this way also requires the aforementioned installation.
```console
$ wget https://github.com/containers/youki/releases/download/v0.2.0/youki_0_2_0_linux.tar.gz
$ tar -zxvf youki_0_2_0_linux.tar.gz youki_0_2_0_linux/youki-0.2.0/youki
$ wget https://github.com/containers/youki/releases/download/v0.3.0/youki_0_3_0_linux.tar.gz
$ tar -zxvf youki_0_3_0_linux.tar.gz youki_0_3_0_linux/youki-0.3.0/youki
# Maybe you need root privileges.
$ mv youki_0_2_0_linux/youki-0.2.0/youki /usr/local/bin/youki
$ rm -rf youki_0_2_0_linux.tar.gz youki_0_2_0_linux
$ mv youki_0_3_0_linux/youki-0.3.0/youki /usr/local/bin/youki
$ rm -rf youki_0_3_0_linux.tar.gz youki_0_3_0_linux
```
## Getting the source

@ -188,3 +188,8 @@ ci-musl-prepare: ci-prepare
echo "Unknown system. The CI is only configured for Ubuntu. You will need to forge your own path. Good luck!"
exit 1
version-up version:
git grep -l "^version = .* # MARK: Version" | xargs sed -i 's/version = "[0-9]\.[0-9]\.[0-9]" # MARK: Version/version = "{{version}}" # MARK: Version/g'
sed -i s/_[0-9]_[0-9]_[0-9]_/_{{ replace(version, '.', '_') }}_/g docs/src/user/basic_setup.md
sed -i 's/[0-9]\.[0-9]\.[0-9]/{{version}}/g' docs/src/user/basic_setup.md