mirror of
https://github.com/vacp2p/wakurtosis.git
synced 2026-01-09 14:58:02 -05:00
Move cproc venv to root
This commit is contained in:
4
build.sh
4
build.sh
@@ -29,8 +29,8 @@ docker build -t wls:0.0.1 .
|
||||
cd ..
|
||||
|
||||
# Prepare container proc monitoring venv
|
||||
python3 -m venv ./monitoring/container-proc/venv --without-pip
|
||||
source ./monitoring/container-proc/venv/bin/activate
|
||||
python3 -m venv ./cproc-venv --without-pip
|
||||
source ./cproc-venv/bin/activate
|
||||
curl https://bootstrap.pypa.io/get-pip.py | python
|
||||
pip3 install -r ./monitoring/container-proc/requirements.txt
|
||||
deactivate
|
||||
|
||||
2
run.sh
2
run.sh
@@ -144,7 +144,7 @@ if [ "$metrics_infra" = "container-proc" ];
|
||||
then
|
||||
echo "Starting monitoring with probes in the containers"
|
||||
# Start process level monitoring (in background, will wait to WSL to be created)
|
||||
. ./monitoring/container-proc/venv/bin/activate
|
||||
. ./cproc-venv/bin/activate
|
||||
sudo -E python3 ./monitoring/container-proc/monitor.py &
|
||||
monitor_pid=$!
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user