venv=$(mktemp -d)
virtualenv -p python3 "$venv"
+set +eu
source "${venv}/bin/activate"
-pip install pyyaml
-
-python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava-submit.py \
- -t baremetal-benchmarks \
- -j "$JOB_NAME" \
- -k "$STORAGE_KERNEL_IMAGE" \
- -km "$STORAGE_LINUX_MODULES" \
- -lm "$STORAGE_LTTNG_MODULES" \
- -tc "$LTTNG_TOOLS_COMMIT_ID"
+set -eu
+pip install pyyaml Jinja2
python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \
-t baremetal-benchmarks \
-j "$JOB_NAME" \
-k "$S3_URL_KERNEL_IMAGE" \
- -km "$S3_URL_LINUX_MODULES" \
-lm "$S3_URL_LTTNG_MODULES" \
- -tc "$LTTNG_TOOLS_COMMIT_ID"
+ -tu "$LTTNG_TOOLS_REPO" \
+ -tc "$LTTNG_TOOLS_COMMIT_ID" \
+ -id "$BUILD_TAG"
+set +eu
deactivate
+set -eu
rm -rf "$venv"
# Create a results folder for this job