aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/rt-migrate-test
diff options
context:
space:
mode:
authorDaniel Wagner <dwagner@suse.de>2021-05-24 15:02:05 +0200
committerAnders Roxell <anders.roxell@gmail.com>2021-09-15 10:36:29 +0200
commit395be3356a4fa2d74da4892cc7d9d622390750f1 (patch)
tree55979eec6f40f8f4b278819aeb2a4edeaa4a6932 /automated/linux/rt-migrate-test
parentcd07727f68938b52bbf634d364dfe18fbb968d85 (diff)
rt-migrate-test: Upload JSON file to artifactorial
rt-migrate-test stores all results into a JSON file. Upload it to the artifactorial for post processing, e.g. long time trends of the performance numbers. Signed-off-by: Daniel Wagner <dwagner@suse.de>
Diffstat (limited to 'automated/linux/rt-migrate-test')
-rw-r--r--automated/linux/rt-migrate-test/rt-migrate-test.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/automated/linux/rt-migrate-test/rt-migrate-test.yaml b/automated/linux/rt-migrate-test/rt-migrate-test.yaml
index c651d67a..8646ef6d 100644
--- a/automated/linux/rt-migrate-test/rt-migrate-test.yaml
+++ b/automated/linux/rt-migrate-test/rt-migrate-test.yaml
@@ -31,9 +31,16 @@ params:
DURATION: "5m"
# Background workload to be run during the meassurement
BACKGROUND_CMD: ""
+ # Specify url and token for publishing artifacts.
+ # For safety reasons, please set 'ARTIFACTORIAL_TOKEN' variable in job definition with
+ # 'secrets' dictionary, and set job visibility to personal or group.
+ # Refer to https://validation.linaro.org/static/docs/v2/publishing-artifacts.html
+ ARTIFACTORIAL_URL: "https://archive.validation.linaro.org/artifacts/team/qa/"
+ ARTIFACTORIAL_TOKEN: ""
run:
steps:
- cd ./automated/linux/rt-migrate-test/
- ./rt-migrate-test.sh -p "${PRIORITY}" -D "${DURATION}" -w "${BACKGROUND_CMD}"
+ - ../../utils/upload-to-artifactorial.sh -a "output/rt-migrate-test.json" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"
- ../../utils/send-to-lava.sh ./output/result.txt