init commit #20

Merged
Ghost merged 8 commits from feature/test into rc 2025-01-13 16:59:26 +03:00
3 changed files with 10 additions and 7 deletions

View File

@ -9,6 +9,9 @@ RUN apt update && apt install -y \
pkg-config \
libudev-dev \
procps \
gcc-riscv64-unknown-elf \
gcc-riscv64-linux-gnu \
binutils-riscv64-linux-gnu \
&& rm -rf /var/lib/apt/lists/*
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

10
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
pipeline {
agent any
stages {
stage('Tests and compiling binaries1') {
stage('Tests and compiling binaries') {
when {
expression { env.CHANGE_BRANCH?.startsWith('feature/') }
}
@ -9,14 +9,14 @@ pipeline {
script {
echo "Building and running tests in Docker for feature branch..."
try {
def targetDirAmd = "${env.WORKSPACE}/${env.CHANGE_BRANCH}/x86"
def targetDirRisc = "${env.WORKSPACE}/${env.CHANGE_BRANCH}/riscv"
def targetDirAmd = "${env.WORKSPACE}/${env.CHANGE_BRANCH}/x86/"
def targetDirRisc = "${env.WORKSPACE}/${env.CHANGE_BRANCH}/riscv/"
sh "mkdir -p ${targetDir}"
sh "mkdir -p ${targetDirAmd}"
sh "mkdir -p ${targetDirRisc}"
sh """
docker build --network=host -t e-monitor .
docker run --name e-monitor --dns 8.8.8.8 --network=host e-monitor:latest
"""

View File

@ -10,7 +10,7 @@ const SOCKET_PATH: &str = "/var/run/enode/hostagent.sock";
/// ## for setting up metrics mode as preboot param from command prompt
///
/// examples:
/// ```
/// ``` bash
/// noxis-rs ... --metrics full
/// noxis-rs ... --metrics system
/// noxis-rs ... --metrics processes