X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=scripts%2Fsystem-tests%2Frun-baremetal-tests.sh;h=b1819c4a0b81afbb0bf732d81b92822991344d3e;hb=46e62ae0432d3eac15d2040762eb2c2820c7703a;hp=62dcd51c1ea70bdc4648350ac3eda213de0643bf;hpb=b33f21f4806f3fbabd3f8d3837d627d5edb16bac;p=lttng-ci.git diff --git a/scripts/system-tests/run-baremetal-tests.sh b/scripts/system-tests/run-baremetal-tests.sh index 62dcd51..b1819c4 100644 --- a/scripts/system-tests/run-baremetal-tests.sh +++ b/scripts/system-tests/run-baremetal-tests.sh @@ -16,11 +16,31 @@ 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 \ + -lv "$LTTNG_VERSION" \ -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" \ + -tu "$LTTNG_TOOLS_REPO" \ + -uu "$LTTNG_UST_REPO" \ -tc "$LTTNG_TOOLS_COMMIT_ID" \ - -uc "$LTTNG_UST_COMMIT_ID" + -uc "$LTTNG_UST_COMMIT_ID" \ + -id "$BUILD_TAG" \ + -r "$ROOTFS_URL" \ + --ci-repo "$LTTNG_CI_REPO" \ + --ci-branch "$LTTNG_CI_BRANCH" + +set +eu +deactivate +set -eu +rm -rf "$venv"