name: node
values:
- 'amd64-rootnode'
+ - 'el8-amd64-rootnode'
- 'i386-rootnode'
+ - 'sles15sp4-amd64-rootnode'
- axis:
<<: *lttng-tools_matrix_axis_platform
type: user-defined
- axis: *lttng-tools_matrix_axis_liburcu_version
- axis: *lttng-tools_matrix_axis_babeltrace_version
-
## Builders Anchors
- _lttng-tools_builders_defaults: <tng-tools_builders_defaults
name: 'lttng-tools_builders_defaults'
ust_conf=std
;;
esac
- # Run java tests only on 'linuxbuild' jobs
- if [ "{buildtype}" = "linuxbuild" ]; then
+ # Run java tests only on 'linuxbuild' and 'slesbuild' jobs
+ if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then
echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties
else
echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties
fi
+ if [ "{buildtype}" = "slesbuild" ] ; then
+ echo "TAP_AUTOTIME=0" >> env.properties
+ echo "LTTNG_TESTS_TAP_AUTOTIME=0" >> env.properties
+ # On SLES, force log4j to 2.17.1
+ echo "LTTNG_TOOLS_UST_JAVA_TESTS_LOG4J_API_VERSION=2.17.1" >> env.properties
+ fi
echo "liburcu_conf=$liburcu_conf" >> env.properties
echo "babeltrace_conf=$babeltrace_conf" >> env.properties
echo "ust_conf=$ust_conf" >> env.properties
- conditional-step:
condition-kind: regex-match
label: '$JOB_NAME'
- regex: '.*_rootbuild.*'
+ regex: '.*_root(?:_[a-z]+)?build.*'
steps:
- shell: |
#!/bin/bash
- _lttng-tools_builders_review: <tng-tools_builders_review
name: 'lttng-tools_builders_review'
builders:
+ - shell: |
+ #!/bin/bash
+ set -exu
+ # Run java tests only on 'linuxbuild' and 'slesbuild' jobs
+ if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then
+ echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties
+ else
+ echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties
+ fi
+ if [ "{buildtype}" = "slesbuild" ] ; then
+ echo "TAP_AUTOTIME=0" >> env.properties
+ echo "LTTNG_TESTS_TAP_AUTOTIME=0" >> env.properties
+ fi
+ - inject:
+ properties-file: env.properties
- shell:
!include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh
include-comment-diagnostics: true
output-tap-to-console: false
todo-is-failure: false
+ remove-yaml-if-corrupted: true
- raw: <tng-tools_publisher_warnings-ng_defaults
xml: |
jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}'
result: 'success'
+- job-template:
+ name: '{job_prefix}lttng-tools_{version}_root_{buildtype}'
+ defaults: lttng-tools
+
+ scm:
+ - git: *lttng-tools_scm_git_default
+
+ wrappers:
+ - ansicolor: *lttng-tools_wrapper_ansicolor_defaults
+ - timeout:
+ <<: *lttng-tools_wrapper_timeout_defaults
+ timeout: 10
+ - timestamps
+
+ <<: *lttng-tools_matrix_axes_rootbuild
+ <<: *lttng-tools_builders_defaults
+ <<: *lttng-tools_publishers_rootbuild
+
+ triggers:
+ - pollscm: *lttng-tools_trigger_pollscm_default
+ - reverse:
+ jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}'
+ result: 'success'
+
- job-template:
name: '{job_prefix}lttng-tools_{version}_macosbuild'
defaults: lttng-tools
- archive: *lttng-tools_publisher_archive_defaults
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+- job-template:
+ name: 'dev_review_lttng-tools_{version}_root_{buildtype}'
+ defaults: lttng-tools
+ concurrent: true
+
+ scm:
+ - git: *lttng-tools_scm_git_review
+
+ triggers:
+ - gerrit: *lttng-tools_trigger_gerrit_default
+
+ properties:
+ - inject: *lttng-tools_property_inject_defaults
+ - build-discarder:
+ days-to-keep: 1
+ - throttle:
+ option: 'category'
+ categories:
+ - 'gerrit-{buildtype}'
+
+ <<: *lttng-tools_matrix_axes_rootbuild
+ <<: *lttng-tools_builders_review
+
+ publishers:
+ - tap: *lttng-tools_publisher_tap_defaults
+ - raw: *lttng-tools_publisher_warnings-ng_defaults
+ - archive: *lttng-tools_publisher_archive_defaults
+ - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+
- job-template:
name: 'dev_review_lttng-tools_{version}_check-format'
defaults: lttng-tools
- copyartifact:
<<: *lttng-tools_steps_copyartifact_defaults
project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std'
+ - copyartifact:
+ <<: *lttng-tools_steps_copyartifact_defaults
+ project: 'babeltrace_{babelversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std'
- copyartifact:
<<: *lttng-tools_steps_copyartifact_defaults
project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=std,build=std'
buildtype: slesbuild
version: master
ustversion: master
- platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
urcuversions: !!python/tuple [master]
buildtype: yoctobuild
version: master
ustversion: master
- platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+ platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
urcuversions: !!python/tuple [master]
babelversions: !!python/tuple [stable-2.0]
filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")'
touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: slesbuild
+ version: master
+ ustversion: master
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [master]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: elbuild
+ version: master
+ ustversion: master
+ platforms: !!python/tuple [el8-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ urcuversions: !!python/tuple [master]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")'
+ touchstone: ''
- '{job_prefix}lttng-tools_{version}_rootbuild_i386':
buildtype: portbuild
version: master
version: master
urcuversion: master
ustversion: master
+ babelversion: master
# stable-2.13
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: slesbuild
version: stable-2.13
ustversion: stable-2.13
- platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
urcuversions: !!python/tuple [stable-0.13]
buildtype: yoctobuild
version: stable-2.13
ustversion: stable-2.13
- platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+ platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")'
touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: slesbuild
+ version: stable-2.13
+ ustversion: stable-2.13
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: elbuild
+ version: stable-2.13
+ ustversion: stable-2.13
+ platforms: !!python/tuple [el8-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")'
+ touchstone: ''
- 'lttng-tools_{version}_release':
version: v2.13
ustversion: stable-2.13
buildtype: slesbuild
version: stable-2.12
ustversion: stable-2.12
- platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
urcuversions: !!python/tuple [stable-0.13]
buildtype: yoctobuild
version: stable-2.12
ustversion: stable-2.12
- platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+ platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")'
touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: slesbuild
+ version: stable-2.12
+ ustversion: stable-2.12
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: elbuild
+ version: stable-2.12
+ ustversion: stable-2.12
+ platforms: !!python/tuple [el8-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")'
+ touchstone: ''
- 'lttng-tools_{version}_release':
version: v2.12
ustversion: stable-2.12
babelversions: !!python/tuple [stable-2.0]
filter: ''
touchstone: ''
+ - 'dev_review_lttng-tools_{version}_{buildtype}':
+ version: master
+ buildtype: slesbuild
+ ustversion: master
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [master]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: ''
+ touchstone: ''
- 'dev_review_lttng-tools_{version}_rootbuild':
version: master
buildtype: linuxbuild
babelversions: !!python/tuple [stable-2.0]
filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")'
touchstone: ''
+ - 'dev_review_lttng-tools_{version}_root_{buildtype}':
+ version: master
+ buildtype: slesbuild
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [stable-0.14]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
- 'dev_review_lttng-tools_{version}_smokebuild':
version: master
buildtype: linuxbuild
babelversions: !!python/tuple [stable-2.0]
filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")'
touchstone: ''
+ - 'dev_review_lttng-tools_{version}_root_{buildtype}':
+ version: stable-2.13
+ buildtype: slesbuild
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
## Stable 2.12 ##
- 'dev_review_lttng-tools_{version}_{buildtype}':
babelversions: !!python/tuple [stable-2.0]
filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")'
touchstone: ''
+ - 'dev_review_lttng-tools_{version}_root_{buildtype}':
+ version: stable-2.12
+ buildtype: slesbuild
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
- project: