mirror of
https://github.com/vacp2p/status-benchmarks.git
synced 2026-01-09 15:37:54 -05:00
Add permissions to prepare_and_launch.sh
This commit is contained in:
1
deployment/codex/prepare_and_launch.sh
Normal file → Executable file
1
deployment/codex/prepare_and_launch.sh
Normal file → Executable file
@@ -27,6 +27,7 @@ kubectl cp ../../requirements.txt "$namespace/$controlbox_name:/home/code/"
|
||||
|
||||
# Create a Python venv (installs python3-venv if missing)
|
||||
kubectl exec -n "$namespace" "$controlbox_name" -- bash -c "
|
||||
apt-get update -qq && apt-get install -y -qq python3-venv &&
|
||||
python3 -m venv /home/venv &&
|
||||
source /home/venv/bin/activate &&
|
||||
pip install --upgrade pip &&
|
||||
|
||||
Reference in New Issue
Block a user