Compare commits

...

8 Commits

Author SHA1 Message Date
6050e99aa7 chore: release (#39)
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-09 11:47:58 +00:00
7cfdb27d23 chore(workflows): fix release asset assembly for alpine/debian packages (#40) 2024-04-09 04:45:36 -07:00
87c4d7b0c3 chore: release (#37)
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-09 11:06:22 +00:00
4f84dfa3c7 chore(workflows): fix release binary upload (#38) 2024-04-09 04:02:07 -07:00
dedc514944 chore: release (#33)
Signed-off-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
Co-authored-by: edera-cultivation[bot] <165992271+edera-cultivation[bot]@users.noreply.github.com>
2024-04-09 02:50:52 -07:00
9c0597157b fix: increase channel acquisition timeout to support lower performance hosts (#36) 2024-04-09 02:36:22 -07:00
3f8c9e7a7c chore(workflows): prefix all jobs with workflow name to help distinguish (#35) 2024-04-09 00:05:06 -07:00
6ed31bc436 build(deps): bump prost-build from 0.12.3 to 0.12.4 (#34)
Bumps [prost-build](https://github.com/tokio-rs/prost) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.3...v0.12.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 05:52:14 +00:00
18 changed files with 73 additions and 80 deletions

View File

@ -22,7 +22,7 @@ jobs:
TARGET_OS: "${{ matrix.platform.os }}"
TARGET_ARCH: "${{ matrix.platform.arch }}"
runs-on: "${{ matrix.platform.on }}"
name: build ${{ matrix.platform.os }}-${{ matrix.platform.arch }}
name: client build ${{ matrix.platform.os }}-${{ matrix.platform.arch }}
defaults:
run:
shell: bash

View File

@ -20,7 +20,7 @@ jobs:
- aarch64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: build ${{ matrix.arch }}
name: kernel build ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with:

View File

@ -14,7 +14,7 @@ jobs:
- aarch64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: server ${{ matrix.arch }}
name: nightly server ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with:
@ -70,7 +70,7 @@ jobs:
TARGET_OS: "${{ matrix.platform.os }}"
TARGET_ARCH: "${{ matrix.platform.arch }}"
runs-on: "${{ matrix.platform.on }}"
name: client ${{ matrix.platform.os }}-${{ matrix.platform.arch }}
name: nightly client ${{ matrix.platform.os }}-${{ matrix.platform.arch }}
defaults:
run:
shell: bash

View File

@ -21,7 +21,7 @@ jobs:
- aarch64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: build ${{ matrix.arch }}
name: os build ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with:

View File

@ -23,7 +23,7 @@ jobs:
- aarch64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: server ${{ matrix.arch }}
name: release-binaries server ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with:
@ -48,6 +48,9 @@ jobs:
env:
KRATA_KERNEL_BUILD_SKIP: "1"
- run: "./hack/ci/assemble-release-assets.sh os ${{ github.event.release.tag_name }} ${{ matrix.arch }} target/os/krata-${{ matrix.arch }}.qcow2"
- run: "./hack/ci/upload-release-assets.sh ${{ github.event.release.tag_name }}"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
client:
strategy:
fail-fast: false
@ -63,7 +66,7 @@ jobs:
TARGET_OS: "${{ matrix.platform.os }}"
TARGET_ARCH: "${{ matrix.platform.arch }}"
runs-on: "${{ matrix.platform.on }}"
name: client ${{ matrix.platform.os }}-${{ matrix.platform.arch }}
name: release-binaries client ${{ matrix.platform.os }}-${{ matrix.platform.arch }}
defaults:
run:
shell: bash

View File

@ -8,6 +8,7 @@ on:
- main
concurrency:
group: "${{ github.workflow }}"
cancel-in-progress: true
jobs:
release-plz:
name: release-plz

View File

@ -17,7 +17,7 @@ jobs:
- aarch64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: build ${{ matrix.arch }}
name: server build ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with:
@ -34,7 +34,7 @@ jobs:
- aarch64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: test ${{ matrix.arch }}
name: server test ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with:
@ -51,7 +51,7 @@ jobs:
- aarch64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: clippy ${{ matrix.arch }}
name: server clippy ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with:
@ -70,7 +70,7 @@ jobs:
- aarch64
env:
TARGET_ARCH: "${{ matrix.arch }}"
name: initrd ${{ matrix.arch }}
name: server initrd ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
with:

View File

@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.0.8](https://github.com/edera-dev/krata/compare/v0.0.7...v0.0.8) - 2024-04-09
### Other
- update Cargo.lock dependencies
## [0.0.7](https://github.com/edera-dev/krata/compare/v0.0.6...v0.0.7) - 2024-04-09
### Other
- update Cargo.toml dependencies
- update Cargo.lock dependencies
## [0.0.6](https://github.com/edera-dev/krata/compare/v0.0.5...v0.0.6) - 2024-04-09
### Fixed
- increase channel acquisition timeout to support lower performance hosts ([#36](https://github.com/edera-dev/krata/pull/36))
### Other
- update Cargo.toml dependencies
- update Cargo.lock dependencies
## [0.0.5](https://github.com/edera-dev/krata/compare/v0.0.4...v0.0.5) - 2024-04-09
### Added

71
Cargo.lock generated
View File

@ -240,7 +240,7 @@ dependencies = [
"bitflags 2.5.0",
"cexpr",
"clang-sys",
"itertools 0.12.1",
"itertools",
"lazy_static",
"lazycell",
"proc-macro2",
@ -973,15 +973,6 @@ version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "home"
version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "http"
version = "0.2.12"
@ -1199,15 +1190,6 @@ dependencies = [
"serde",
]
[[package]]
name = "itertools"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
dependencies = [
"either",
]
[[package]]
name = "itertools"
version = "0.12.1"
@ -1243,7 +1225,7 @@ dependencies = [
[[package]]
name = "krata"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"anyhow",
"bytes",
@ -1277,7 +1259,7 @@ dependencies = [
[[package]]
name = "krata-ctl"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"anyhow",
"async-stream",
@ -1299,7 +1281,7 @@ dependencies = [
[[package]]
name = "krata-daemon"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"anyhow",
"async-stream",
@ -1323,7 +1305,7 @@ dependencies = [
[[package]]
name = "krata-guest"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"anyhow",
"cgroups-rs",
@ -1347,7 +1329,7 @@ dependencies = [
[[package]]
name = "krata-network"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"anyhow",
"async-trait",
@ -1371,7 +1353,7 @@ dependencies = [
[[package]]
name = "krata-oci"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"anyhow",
"async-compression",
@ -1396,7 +1378,7 @@ dependencies = [
[[package]]
name = "krata-runtime"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"anyhow",
"backhand",
@ -1433,7 +1415,7 @@ dependencies = [
[[package]]
name = "krata-xencall"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"env_logger",
"libc",
@ -1446,7 +1428,7 @@ dependencies = [
[[package]]
name = "krata-xenclient"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"async-trait",
"elf",
@ -1467,7 +1449,7 @@ dependencies = [
[[package]]
name = "krata-xenevtchn"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"libc",
"log",
@ -1478,7 +1460,7 @@ dependencies = [
[[package]]
name = "krata-xengnt"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"libc",
"nix 0.28.0",
@ -1487,7 +1469,7 @@ dependencies = [
[[package]]
name = "krata-xenstore"
version = "0.0.5"
version = "0.0.8"
dependencies = [
"byteorder",
"env_logger",
@ -1970,13 +1952,13 @@ dependencies = [
[[package]]
name = "prost-build"
version = "0.12.3"
version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2"
checksum = "80b776a1b2dc779f5ee0641f8ade0125bc1298dd41a9a0c16d8bd57b42d222b1"
dependencies = [
"bytes",
"heck 0.4.1",
"itertools 0.11.0",
"heck 0.5.0",
"itertools",
"log",
"multimap",
"once_cell",
@ -1987,7 +1969,6 @@ dependencies = [
"regex",
"syn 2.0.57",
"tempfile",
"which",
]
[[package]]
@ -1997,7 +1978,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48"
dependencies = [
"anyhow",
"itertools 0.12.1",
"itertools",
"proc-macro2",
"quote",
"syn 2.0.57",
@ -2041,9 +2022,9 @@ dependencies = [
[[package]]
name = "prost-types"
version = "0.12.3"
version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e"
checksum = "3235c33eb02c1f1e212abdbe34c78b264b038fb58ca612664343271e36e55ffe"
dependencies = [
"prost",
]
@ -3059,18 +3040,6 @@ dependencies = [
"rustls-pki-types",
]
[[package]]
name = "which"
version = "4.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
dependencies = [
"either",
"home",
"once_cell",
"rustix",
]
[[package]]
name = "winapi"
version = "0.3.9"

View File

@ -16,7 +16,7 @@ members = [
resolver = "2"
[workspace.package]
version = "0.0.5"
version = "0.0.8"
homepage = "https://krata.dev"
license = "Apache-2.0"
repository = "https://github.com/edera-dev/krata"
@ -53,7 +53,7 @@ once_cell = "1.19.0"
path-absolutize = "3.1.1"
path-clean = "1.0.1"
prost = "0.12.4"
prost-build = "0.12.3"
prost-build = "0.12.4"
prost-reflect-build = "0.13.0"
rand = "0.8.5"
redb = "2.0.0"

View File

@ -16,7 +16,7 @@ comfy-table = { workspace = true }
crossterm = { workspace = true }
ctrlc = { workspace = true, features = ["termination"] }
env_logger = { workspace = true }
krata = { path = "../krata", version = "^0.0.5" }
krata = { path = "../krata", version = "^0.0.8" }
log = { workspace = true }
prost-reflect = { workspace = true, features = ["serde"] }
serde_json = { workspace = true }

View File

@ -17,8 +17,8 @@ circular-buffer = { workspace = true }
clap = { workspace = true }
env_logger = { workspace = true }
futures = { workspace = true }
krata = { path = "../krata", version = "^0.0.5" }
krata-runtime = { path = "../runtime", version = "^0.0.5" }
krata = { path = "../krata", version = "^0.0.8" }
krata-runtime = { path = "../runtime", version = "^0.0.8" }
log = { workspace = true }
prost = { workspace = true }
redb = { workspace = true }

View File

@ -14,8 +14,8 @@ cgroups-rs = { workspace = true }
env_logger = { workspace = true }
futures = { workspace = true }
ipnetwork = { workspace = true }
krata = { path = "../krata", version = "^0.0.5" }
krata-xenstore = { path = "../xen/xenstore", version = "^0.0.5" }
krata = { path = "../krata", version = "^0.0.8" }
krata-xenstore = { path = "../xen/xenstore", version = "^0.0.8" }
libc = { workspace = true }
log = { workspace = true }
nix = { workspace = true, features = ["ioctl", "process", "fs"] }

View File

@ -16,7 +16,7 @@ clap = { workspace = true }
env_logger = { workspace = true }
etherparse = { workspace = true }
futures = { workspace = true }
krata = { path = "../krata", version = "^0.0.5" }
krata = { path = "../krata", version = "^0.0.8" }
krata-advmac = { workspace = true }
libc = { workspace = true }
log = { workspace = true }

View File

@ -12,18 +12,18 @@ resolver = "2"
anyhow = { workspace = true }
backhand = { workspace = true }
ipnetwork = { workspace = true }
krata = { path = "../krata", version = "^0.0.5" }
krata = { path = "../krata", version = "^0.0.8" }
krata-advmac = { workspace = true }
krata-oci = { path = "../oci", version = "^0.0.5" }
krata-oci = { path = "../oci", version = "^0.0.8" }
log = { workspace = true }
loopdev-3 = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
uuid = { workspace = true }
krata-xenclient = { path = "../xen/xenclient", version = "^0.0.5" }
krata-xenevtchn = { path = "../xen/xenevtchn", version = "^0.0.5" }
krata-xengnt = { path = "../xen/xengnt", version = "^0.0.5" }
krata-xenstore = { path = "../xen/xenstore", version = "^0.0.5" }
krata-xenclient = { path = "../xen/xenclient", version = "^0.0.8" }
krata-xenevtchn = { path = "../xen/xenevtchn", version = "^0.0.8" }
krata-xengnt = { path = "../xen/xengnt", version = "^0.0.8" }
krata-xenstore = { path = "../xen/xenstore", version = "^0.0.8" }
[lib]
name = "kratart"

View File

@ -346,7 +346,7 @@ impl KrataChannelBackendProcessor {
.read_string(format!("{}/port", self.frontend))
.await?;
if (ring_ref.is_none() || port.is_none()) && tries < 10 {
if (ring_ref.is_none() || port.is_none()) && tries < 40 {
tries += 1;
self.store
.write_string(format!("{}/state", self.backend), "4")

View File

@ -14,8 +14,8 @@ elf = { workspace = true }
flate2 = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
krata-xencall = { path = "../xencall", version = "^0.0.5" }
krata-xenstore = { path = "../xenstore", version = "^0.0.5" }
krata-xencall = { path = "../xencall", version = "^0.0.8" }
krata-xenstore = { path = "../xenstore", version = "^0.0.8" }
memchr = { workspace = true }
nix = { workspace = true }
slice-copy = { workspace = true }

View File

@ -43,7 +43,7 @@ do
asset "${SOURCE_FILE_PATH}" "target/assets/krata_${TAG_NAME}_${PLATFORM}.deb"
elif [ "${FORM}" = "alpine" ]
then
asset "${SOURCE_FILE_PATH}" "target/assets/krata_${TAG_NAME}_${PLATFORM}.deb"
asset "${SOURCE_FILE_PATH}" "target/assets/krata_${TAG_NAME}_${PLATFORM}.apk"
elif [ "${FORM}" = "bundle-systemd" ]
then
asset "${SOURCE_FILE_PATH}" "target/assets/krata-systemd_${TAG_NAME}_${PLATFORM}.tgz"