1
0
mirror of https://github.com/containers/youki synced 2024-11-26 14:13:49 +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]] [[package]]
name = "libcgroups" name = "libcgroups"
version = "0.2.0" version = "0.3.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1933,7 +1933,7 @@ dependencies = [
[[package]] [[package]]
name = "libcontainer" name = "libcontainer"
version = "0.2.0" version = "0.3.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bitflags 2.4.0", "bitflags 2.4.0",
@ -1974,7 +1974,7 @@ dependencies = [
[[package]] [[package]]
name = "liboci-cli" name = "liboci-cli"
version = "0.2.0" version = "0.3.0"
dependencies = [ dependencies = [
"clap", "clap",
] ]
@ -5728,7 +5728,7 @@ dependencies = [
[[package]] [[package]]
name = "youki" name = "youki"
version = "0.2.0" version = "0.3.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"caps", "caps",

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

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

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

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

@ -47,11 +47,11 @@ Install from the GitHub release.
Note that this way also requires the aforementioned installation. Note that this way also requires the aforementioned installation.
```console ```console
$ wget https://github.com/containers/youki/releases/download/v0.2.0/youki_0_2_0_linux.tar.gz $ wget https://github.com/containers/youki/releases/download/v0.3.0/youki_0_3_0_linux.tar.gz
$ tar -zxvf youki_0_2_0_linux.tar.gz youki_0_2_0_linux/youki-0.2.0/youki $ tar -zxvf youki_0_3_0_linux.tar.gz youki_0_3_0_linux/youki-0.3.0/youki
# Maybe you need root privileges. # Maybe you need root privileges.
$ mv youki_0_2_0_linux/youki-0.2.0/youki /usr/local/bin/youki $ mv youki_0_3_0_linux/youki-0.3.0/youki /usr/local/bin/youki
$ rm -rf youki_0_2_0_linux.tar.gz youki_0_2_0_linux $ rm -rf youki_0_3_0_linux.tar.gz youki_0_3_0_linux
``` ```
## Getting the source ## 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!" echo "Unknown system. The CI is only configured for Ubuntu. You will need to forge your own path. Good luck!"
exit 1 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