projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: Remove coverity hack, fixed upstream
[lttng-ci.git]
/
scripts
/
system-tests
/
run-baremetal-tests.sh
diff --git
a/scripts/system-tests/run-baremetal-tests.sh
b/scripts/system-tests/run-baremetal-tests.sh
index 62dcd51c1ea70bdc4648350ac3eda213de0643bf..6b62f6da8a2542e7379c329e1b388ecf3acd3194 100644
(file)
--- a/
scripts/system-tests/run-baremetal-tests.sh
+++ b/
scripts/system-tests/run-baremetal-tests.sh
@@
-16,11
+16,25
@@
echo 'At this point, we built the modules and kernel if we needed to.'
echo 'We can now launch the lava job using those artefacts'
echo 'At this point, we built the modules and kernel if we needed to.'
echo 'We can now launch the lava job using those artefacts'
-python3 -u "$LTTNG_CI_PATH"/scripts/lttng-baremetal-tests/lava-submit.py \
+
+venv=$(mktemp -d)
+virtualenv -p python3 "$venv"
+
+set +eu
+source "${venv}/bin/activate"
+set -eu
+pip install pyyaml Jinja2
+
+python -u "$LTTNG_CI_PATH"/scripts/system-tests/lava2-submit.py \
-t baremetal-tests \
-j "$JOB_NAME" \
-t baremetal-tests \
-j "$JOB_NAME" \
- -k "$STORAGE_KERNEL_IMAGE" \
- -km "$STORAGE_LINUX_MODULES" \
- -lm "$STORAGE_LTTNG_MODULES" \
+ -k "$S3_URL_KERNEL_IMAGE" \
+ -lm "$S3_URL_LTTNG_MODULES" \
-tc "$LTTNG_TOOLS_COMMIT_ID" \
-tc "$LTTNG_TOOLS_COMMIT_ID" \
- -uc "$LTTNG_UST_COMMIT_ID"
+ -uc "$LTTNG_UST_COMMIT_ID" \
+ -id "$BUILD_TAG"
+
+set +eu
+deactivate
+set -eu
+rm -rf "$venv"
This page took
0.024099 seconds
and
4
git commands to generate.