From ccd5159d11f75918e999739d651059cec0f2f4d2 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Mon, 13 Mar 2017 12:26:08 -0400 Subject: [PATCH] jjb: Use LTTNG_CI_PATH variable in Lava jobs Signed-off-by: Francis Deslauriers --- scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh | 5 +++-- scripts/lttng-baremetal-tests/run-baremetal-tests.sh | 4 ++-- scripts/lttng-baremetal-tests/run-kvm-tests.sh | 4 ++-- scripts/lttng-baremetal-tests/summarize-results.sh | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh b/scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh index 663582f..ecc164c 100644 --- a/scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh +++ b/scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh @@ -16,9 +16,10 @@ 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' -git clone https://github.com/lttng/lttng-ci -python3 -u lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ +git clone https://github.com/lttng/lttng-ci "$LTTNG_CI_PATH" + +python3 -u "$LTTNG_CI_PATH"/scripts/lttng-baremetal-tests/lava-submit.py \ -t baremetal-benchmarks \ -j "$JOB_NAME" \ -k "$STORAGE_KERNEL_IMAGE" \ diff --git a/scripts/lttng-baremetal-tests/run-baremetal-tests.sh b/scripts/lttng-baremetal-tests/run-baremetal-tests.sh index 1ddac2c..2f9eee8 100644 --- a/scripts/lttng-baremetal-tests/run-baremetal-tests.sh +++ b/scripts/lttng-baremetal-tests/run-baremetal-tests.sh @@ -16,9 +16,9 @@ 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' -git clone https://github.com/lttng/lttng-ci +git clone https://github.com/lttng/lttng-ci "$LTTNG_CI_PATH" -python3 -u lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ +python3 -u "$LTTNG_CI_PATH"/scripts/lttng-baremetal-tests/lava-submit.py \ -t baremetal-tests \ -j "$JOB_NAME" \ -k "$STORAGE_KERNEL_IMAGE" \ diff --git a/scripts/lttng-baremetal-tests/run-kvm-tests.sh b/scripts/lttng-baremetal-tests/run-kvm-tests.sh index 217c92d..05eb693 100644 --- a/scripts/lttng-baremetal-tests/run-kvm-tests.sh +++ b/scripts/lttng-baremetal-tests/run-kvm-tests.sh @@ -16,9 +16,9 @@ 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' -git clone https://github.com/lttng/lttng-ci +git clone https://github.com/lttng/lttng-ci "$LTTNG_CI_PATH" -python3 -u lttng-ci/scripts/lttng-baremetal-tests/lava-submit.py \ +python3 -u "$LTTNG_CI_PATH"/scripts/lttng-baremetal-tests/lava-submit.py \ -t kvm-tests \ -j "$JOB_NAME" \ -k "$STORAGE_KERNEL_IMAGE" \ diff --git a/scripts/lttng-baremetal-tests/summarize-results.sh b/scripts/lttng-baremetal-tests/summarize-results.sh index b9ae903..fdd26d4 100644 --- a/scripts/lttng-baremetal-tests/summarize-results.sh +++ b/scripts/lttng-baremetal-tests/summarize-results.sh @@ -35,4 +35,4 @@ set -ux pip install pandas pip install matplotlib -python3 lttng-ci/scripts/lttng-baremetal-tests/generate-plots.py ./plot-data/ +python3 "$LTTNG_CI_PATH"/scripts/lttng-baremetal-tests/generate-plots.py ./plot-data/ -- 2.34.1