bin/ci/ci_run_n_monitor: use venv wrapper
authorEric Engestrom <eric@igalia.com>
Wed, 3 May 2023 16:52:57 +0000 (17:52 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Aug 2023 23:21:31 +0000 (23:21 +0000)
Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24367>

bin/ci/ci_run_n_monitor.sh [new file with mode: 0755]

diff --git a/bin/ci/ci_run_n_monitor.sh b/bin/ci/ci_run_n_monitor.sh
new file mode 100755 (executable)
index 0000000..ba6a7e3
--- /dev/null
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+set -eu
+
+this_dir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")
+readonly this_dir
+
+exec \
+  "$this_dir/../python-venv.sh" \
+  "$this_dir/requirements.txt" \
+  "$this_dir/ci_run_n_monitor.py" "$@"