X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flibrseq.yaml;h=ff7f4c285e030f21bd99cad4f2854b6272ebec84;hb=f449a603e2820d11f2512ce63ae436e4d92905d2;hp=12353519cbcdf8f07935780e1915e0cea0bcf5b7;hpb=5745cfaa42f5411641537717f8f13dea0bc21e6b;p=lttng-ci.git
diff --git a/jobs/librseq.yaml b/jobs/librseq.yaml
index 1235351..ff7f4c2 100644
--- a/jobs/librseq.yaml
+++ b/jobs/librseq.yaml
@@ -4,7 +4,6 @@
# jobtypes:
# - build
# - portbuild
-# - cppcheck
# - coverity
# - scan-build
# - pylint
@@ -46,13 +45,14 @@
properties-content: |
PROJECT_NAME=librseq
- build-discarder:
- num-to-keep: 2
+ num-to-keep: 10
+ artifact-num-to-keep: 2
- github:
url: https://github.com/{github_user}/{github_name}
## Anchors
-- librseq_matrix_axes_defaults: &librseq_matrix_axes_defaults
+- _librseq_matrix_axes_defaults: &librseq_matrix_axes_defaults
name: 'librseq_matrix_axes_defaults'
project-type: matrix
node: 'master' # Applies only to matrix flyweight task
@@ -74,7 +74,7 @@
name: build
values: '{obj:builds}'
-- librseq_matrix_axes_cc: &librseq_matrix_axes_cc
+- _librseq_matrix_axes_cc: &librseq_matrix_axes_cc
name: 'librseq_matrix_axes_cc'
project-type: matrix
node: 'master' # Applies only to matrix flyweight task
@@ -91,7 +91,7 @@
name: cc
values: '{obj:ccs}'
-- librseq_builders_defaults: &librseq_builders_defaults
+- _librseq_builders_defaults: &librseq_builders_defaults
name: 'librseq_builders_defaults'
builders:
- shell:
@@ -99,13 +99,15 @@
- scripts/common/print.sh
- scripts/librseq/build.sh
-- librseq_publishers_defaults: &librseq_publishers_defaults
+- _librseq_publishers_defaults: &librseq_publishers_defaults
name: 'librseq_publishers_defaults'
publishers:
- tap: &librseq_publisher_tap_defaults
results: 'tap/**/*.log'
fail-if-no-results: true
failed-tests-mark-build-as-failure: true
+ include-comment-diagnostics: true
+ output-tap-to-console: false
todo-is-failure: false
- raw: &librseq_publisher_warnings-ng_defaults
xml: |
@@ -119,14 +121,6 @@
false
-
-
-
-
-
-
- false
-
@@ -156,11 +150,16 @@
- archive: &librseq_publisher_archive_defaults
- artifacts: 'build/**,tap/**'
+ artifacts: 'build/**,tap/**,log/**'
+ follow-symlinks: true
allow-empty: false
- workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
clean-if:
- failure: false
+ - ircbot: &librseq_publisher_ircbot_defaults
+ strategy: statechange-only
+ message-type: summary
+ matrix-notifier: only-parent
- email-ext: &librseq_publisher_email-ext_defaults
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
@@ -184,8 +183,8 @@
send-to:
- recipients
-- librseq_publishers_gerrit: &librseq_publishers_gerrit
- name: 'librseq_publishers_gerrit'
+- _librseq_publishers_review: &librseq_publishers_review
+ name: 'librseq_publishers_review'
publishers:
- tap: *librseq_publisher_tap_defaults
- raw: *librseq_publisher_warnings-ng_defaults
@@ -211,29 +210,7 @@
<<: *librseq_publishers_defaults
- job-template:
- name: librseq_{version}_cppcheck
- defaults: librseq
-
- triggers:
- - pollscm:
- cron: "@daily"
-
- builders:
- - shell: |
- rm -f cppcheck-result.xml
- cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/librseq 2> cppcheck-result.xml
-
- publishers:
- - archive:
- artifacts: 'cppcheck-result.xml'
- allow-empty: false
- - cppcheck:
- pattern: 'cppcheck-result.xml'
- - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
- - email-ext: *librseq_publisher_email-ext_defaults
-
-- job-template:
- name: dev_gerrit_librseq_{buildtype}
+ name: dev_review_librseq_{version}_{buildtype}
defaults: librseq
concurrent: true
@@ -256,12 +233,12 @@
- project-compare-type: 'PLAIN'
project-pattern: 'librseq'
branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**'
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '{version}'
<<: *librseq_matrix_axes_defaults
<<: *librseq_builders_defaults
- <<: *librseq_publishers_gerrit
+ <<: *librseq_publishers_review
properties:
- inject:
@@ -277,7 +254,7 @@
- job-template:
name: librseq_{version}_scan-build
defaults: librseq
- node: 'amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
@@ -297,7 +274,7 @@
- job-template:
name: librseq_{version}_coverity
defaults: librseq
- node: 'amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
@@ -343,42 +320,43 @@
jobs:
- 'librseq_{version}_{buildtype}':
buildtype: linuxbuild
- platforms: !!python/tuple [jammy-amd64]
+ platforms: !!python/tuple [deb12-amd64]
builds: !!python/tuple [std, oot, dist, oot-dist]
confs: !!python/tuple [std, static]
- touchstone: '(build == "std") && (conf == "std")'
- - 'librseq_{version}_{cctype}':
- cctype: gccbuild
- platforms: !!python/tuple [jammy-amd64]
- builds: !!python/tuple [std]
- confs: !!python/tuple [std, static]
- ccs: !!python/tuple [gcc-9, gcc-10, gcc-11, gcc-12]
- touchstone: '(build == "std") && (conf == "std") && (cc == "gcc-11")'
+ touchstone: ''
- 'librseq_{version}_{cctype}':
cctype: clangbuild
- platforms: !!python/tuple [jammy-amd64]
+ platforms: !!python/tuple [deb12-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [std, static]
- ccs: !!python/tuple [clang-11, clang-12, clang-13, clang-14]
- touchstone: '(build == "std") && (conf == "std") && (cc == "clang-14")'
+ ccs: !!python/tuple [clang-13, clang-14, clang-15]
+ touchstone: ''
- 'librseq_{version}_{buildtype}':
buildtype: portbuild
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, static]
- touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
+ touchstone: ''
- project:
- name: gerrit-librseq
+ name: review-librseq
github_user: compudj
github_name: librseq
+ version:
+ - master
jobs:
- - 'dev_gerrit_librseq_{buildtype}':
+ - 'dev_review_librseq_{version}_{buildtype}':
buildtype: linuxbuild
- platforms: !!python/tuple [jammy-amd64]
+ platforms: !!python/tuple [deb12-amd64]
builds: !!python/tuple [std, oot, dist, oot-dist]
confs: !!python/tuple [std, static]
- touchstone: '(build == "std") && (conf == "std")'
+ touchstone: ''
+ - 'dev_review_librseq_{version}_{buildtype}':
+ buildtype: portbuild
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ touchstone: ''
- project:
name: librseq-views