+ - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
+
+- job-template:
+ name: baremetal_benchmarks_k{kversion}_l{lttngversion}
+ defaults: baremetal_benchmarks
+- job-template:
+ name: vm_tests_k{kversion}_l{lttngversion}
+ defaults: vm_tests
+- job-template:
+ 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_t{toolsversion}_m{modulesversion}_u{ustversion}
+ defaults: vm_tests
+ triggers:
+ - pollscm:
+ cron: "@daily"
+ wrappers:
+ - workspace-cleanup
+ - timestamps
+ - ansicolor
+ - credentials-binding:
+ - text:
+ credential-id: jenkins_lava_key
+ variable: LAVA_JENKINS_TOKEN
+ - inject:
+ properties-content: |
+ TOOLS_BRANCH={toolsversion}
+ MODULES_BRANCH={modulesversion}
+ UST_BRANCH={ustversion}
+ BUILD_DEVICE=baremetal
+ scm:
+ - git:
+ url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
+ branches:
+ - "{toolsversion}"
+ shallow-clone: true
+ skip-tag: true
+ fastpoll: true
+ basedir: src/lttng-tools
+ - git:
+ url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
+ branches:
+ - "{modulesversion}"
+ shallow-clone: true
+ skip-tag: true
+ fastpoll: true
+ basedir: src/lttng-modules
+ - git:
+ url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
+ refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
+ branches:
+ - "master"
+ fastpoll: true
+ basedir: src/linux
+
+- job-template:
+ name: baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
+ defaults: baremetal_tests
+ triggers:
+ - pollscm:
+ cron: "@daily"
+ wrappers:
+ - workspace-cleanup
+ - timestamps
+ - ansicolor
+ - credentials-binding:
+ - text:
+ credential-id: jenkins_lava_key
+ variable: LAVA_JENKINS_TOKEN
+ - inject:
+ properties-content: |
+ TOOLS_BRANCH={toolsversion}
+ MODULES_BRANCH={modulesversion}
+ UST_BRANCH={ustversion}
+ BUILD_DEVICE=baremetal
+ scm:
+ - git:
+ url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
+ branches:
+ - "{toolsversion}"
+ shallow-clone: true
+ skip-tag: true
+ fastpoll: true
+ basedir: src/lttng-tools
+ - git:
+ url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
+ branches:
+ - "{modulesversion}"
+ shallow-clone: true
+ skip-tag: true
+ fastpoll: true
+ basedir: src/lttng-modules
+ - git:
+ url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
+ refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
+ branches:
+ - "master"
+ fastpoll: true
+ basedir: src/linux
+- job-template:
+ name: baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
+ defaults: baremetal_benchmarks
+ triggers:
+ - pollscm:
+ cron: "@daily"
+ wrappers:
+ - workspace-cleanup
+ - timestamps
+ - ansicolor
+ - credentials-binding:
+ - 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={toolsversion}
+ MODULES_BRANCH={modulesversion}
+ UST_BRANCH={ustversion}
+ BUILD_DEVICE=baremetal
+ scm:
+ - git:
+ url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
+ branches:
+ - "{toolsversion}"
+ shallow-clone: true
+ skip-tag: true
+ fastpoll: true
+ basedir: src/lttng-tools
+ - git:
+ url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
+ branches:
+ - "{modulesversion}"
+ shallow-clone: true
+ skip-tag: true
+ fastpoll: true
+ basedir: src/lttng-modules
+ - git:
+ url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
+ refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
+ branches:
+ - "master"
+ fastpoll: true
+ basedir: src/linux