X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-baremetal-tests.yaml;h=573a92714a15ce38556dd15bc8bdf8a11bf3f7c7;hb=6f9224363117aa4ed1d57ff3e690e72d921bd341;hp=581b6218361f588d15ce0ed938cf0d89e3add05a;hpb=e0fd33ddea67decee67c619e68fc2263d3f52754;p=lttng-ci.git diff --git a/jobs/lttng-baremetal-tests.yaml b/jobs/lttng-baremetal-tests.yaml index 581b621..573a927 100644 --- a/jobs/lttng-baremetal-tests.yaml +++ b/jobs/lttng-baremetal-tests.yaml @@ -25,6 +25,9 @@ - text: credential-id: jenkins_lava_key variable: LAVA_JENKINS_TOKEN + - file: + credential-id: system_tests_storage_key + variable: identity_file - inject: properties-content: | TOOLS_BRANCH={lttngversion} @@ -41,6 +44,7 @@ - gallery-type: archived-images-gallery title: Results includes: '*.png' + - workspace-cleanup scm: - git: url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git @@ -76,6 +80,7 @@ - inject: properties-file: properties.txt - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh + - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh - defaults: name: vm_tests @@ -141,6 +146,7 @@ strategy: new-failure-and-fixed channels: - name: '#lttng' + - workspace-cleanup builders: - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh @@ -215,6 +221,8 @@ strategy: new-failure-and-fixed channels: - name: '#lttng' + - workspace-cleanup + builders: - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh - trigger-builds: @@ -235,15 +243,24 @@ name: baremetal_tests_k{kversion}_l{lttngversion} defaults: baremetal_tests +# Canary jobs are made to confirm that the whole Lava pipeline is working. +# They are scheduled once a day always on the same (LTTng, Kernel) code. If any +# of those jobs fails, it means that there is an issue with the configuration - job-template: name: baremetal_tests_k{kversion}_l{lttngversion}_canary defaults: baremetal_tests + triggers: + - timed: "@daily" - job-template: name: vm_tests_k{kversion}_l{lttngversion}_canary defaults: vm_tests + triggers: + - timed: "@daily" - job-template: name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary defaults: baremetal_benchmarks + triggers: + - timed: "@daily" - job-template: name: vm_tests_kmainline_l{lttngversion} @@ -355,7 +372,7 @@ - ansicolor - credentials-binding: - file: - credential-id: lava_jenkins_storage_frdeso + credential-id: system_tests_storage_key variable: identity_file builders: - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh @@ -404,6 +421,8 @@ - string: name: 'BUILD_DEVICE' description: 'The target device. (kvm or baremetal)' + publishers: + - workspace-cleanup ## Project - project: