Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ya-runtime-vm adding optional -device param to vmrt #165

Merged
merged 25 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bce3871
add cuda to ya-runtime-vm 0.3.0
norbibi Jan 1, 2023
fb0a270
add capabilities cuda, gpu
norbibi Jan 28, 2023
2254228
Merge pull request #1 from norbibi/v0.3.0_golem_cuda
norbibi Jan 28, 2023
eff9daf
Merge remote-tracking branch 'golem/master'
pwalski Jun 16, 2023
9bb577e
Detection of PCI devices removed (self-test img will handle it)
pwalski Jun 16, 2023
57723ad
Optional --pci-device param
pwalski Jun 19, 2023
b401554
VFIO settigns removed from qemu
pwalski Jun 22, 2023
2dc249c
Support of env property PCI_DEVICE for --pci-device param
pwalski Jun 22, 2023
f9ee4b0
Self test eagerly parsing stdout as JSON. Self-test process timeout.
pwalski Jul 2, 2023
2d862f0
Self test test_cpu_cores and test_mem_gib cmdline params
pwalski Jul 3, 2023
4a111c0
Monitoring self-test output dir instead of stdout
pwalski Jul 5, 2023
c92f688
Rust toolchain 1.70.0 and rustfmt config. MacOS CI bugfix.
pwalski Jul 5, 2023
b902911
Logging self test stdout/err. Formatting.
pwalski Jul 5, 2023
c20d3fe
Monitoring of output file bugfix. Notification on Closing write access.
pwalski Jul 6, 2023
32ff18b
correct gpu path
kamirr Jul 9, 2023
e307361
validate self_test_results contents
kamirr Jul 9, 2023
b933f80
Merge pull request #1 from pwalski/pwalski/self_check_hanging_bugfix
pwalski Jul 9, 2023
cffb19d
Merge pull request #2 from kamirr/master
pwalski Jul 9, 2023
c3ef7d0
Offer template without empty self test result (#3)
pwalski Jul 10, 2023
e6e890d
Run command deadlock bugfix.
pwalski Jul 12, 2023
b2a1383
Env variables name update
pwalski Jul 19, 2023
bc55e7d
self-test-img_tag version update: v0.1.4
pwalski Jul 20, 2023
bc70616
Apply suggestions from code review
pwalski Jul 20, 2023
97c2bcb
Test default mem limit 0.5 GiB
pwalski Jul 20, 2023
f31c6a4
Test config struct
pwalski Jul 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
env:
RUSTFLAGS: "-D warnings -C opt-level=z -C target-cpu=x86-64 -C debuginfo=1"
X86_64_PC_WINDOWS_MSVC_OPENSSL_DIR: c:/vcpkg/installed/x64-windows
rust_stable: 1.70.0
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -26,10 +27,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v1

- name: Install Last Stable Rust
- name: Install Rust ${{ env.rust_stable }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ env.rust_stable }}

- name: Cache cargo registry
uses: actions/cache@v1
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
- pre-rel-*

env:
self-test-img_tag: pre-rel-v0.1.0
self-test-img_tag: pre-rel-v0.1.0_RC3_file_output
self-test-img_repository: golemfactory/ya-self-test-img
rust_stable: 1.70.0

jobs:
create-release:
Expand Down Expand Up @@ -112,9 +113,10 @@ jobs:
console.log(release.data.upload_url);
return release.data.upload_url

- uses: actions-rs/toolchain@v1
- name: Install Rust ${{ env.rust_stable }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ env.rust_stable }}
target: x86_64-unknown-linux-musl
override: true
- name: Build
Expand Down
178 changes: 175 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified qemu/Dockerfile
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions runtime/Cargo.toml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ bollard-stubs = "1.40.2"
crc = "1.8"
futures = "0.3"
log = "0.4.8"
# "crossbeam-channel" and "macos_fsevent" are default features.
# Remove `macos_fsevent` if `macos` build will get dropped.
notify = { version = "6.0", features = ["crossbeam-channel", "macos_fsevent"] }
rand = "0.8"
raw-cpuid = "10.7"
serde = { version = "^1.0", features = ["derive"] }
Expand Down
1 change: 0 additions & 1 deletion runtime/src/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ impl Deployment {
input.take(json_len as u64).read_to_string(&mut buf).await?;
buf
};

if crc32::checksum_ieee(json.as_bytes()) != crc {
return Err(anyhow::anyhow!("Invalid ContainerConfig crc32 sum"));
}
Expand Down
Loading
Loading