jjb: Use LTTNG_CI_PATH variable in Lava jobs
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Mon, 13 Mar 2017 16:26:08 +0000 (12:26 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 14 Mar 2017 13:20:19 +0000 (09:20 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
scripts/lttng-baremetal-tests/run-baremetal-tests.sh
scripts/lttng-baremetal-tests/run-kvm-tests.sh
scripts/lttng-baremetal-tests/summarize-results.sh

index 663582f88bdc5780fee41f3e99645e3b2e1d3416..ecc164cb29768908d4d9f257680156132f10d7e9 100644 (file)
 
 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" \
index 1ddac2c66c359fd4a9cf527ecd594229349142f5..2f9eee84840009bcb72591bc7cb3766d56e03ad2 100644 (file)
@@ -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" \
index 217c92d94b9027f67bb1839bd7f7810964352f72..05eb6933708b71fd7e96e8bf3fcbb837cf0d994c 100644 (file)
@@ -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" \
index b9ae903c4319757d3019f37ac96f0d33503a19fd..fdd26d4e9d30bd2d25a05b4eed388fd7c3e3b965 100644 (file)
@@ -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/
This page took 0.024529 seconds and 4 git commands to generate.