X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbabeltrace.yaml;h=48fe5f2d8a3ea510e2fc27463a1b7361228a75c5;hb=858e2403eb8035573a1011361aea5f285f83037c;hp=5d9e7d6e3ba62e6726dab6e4ab889ac69d8b3eaf;hpb=05939e86cfef05d0919cfc49fdb8de27641557a6;p=lttng-ci.git
diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml
index 5d9e7d6..48fe5f2 100644
--- a/jobs/babeltrace.yaml
+++ b/jobs/babeltrace.yaml
@@ -216,14 +216,15 @@
- archive: &babeltrace_publisher_archive_defaults
artifacts: 'build/**,tap/**,log/**'
+ follow-symlinks: true
allow-empty: false
- workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults
clean-if:
- failure: false
- ircbot: &babeltrace_publisher_ircbot_defaults
strategy: statechange-only
- message-type: summary-scm
- matrix-notifier: only-configurations
+ message-type: summary
+ matrix-notifier: only-parent
- email-ext: &babeltrace_publisher_email-ext_defaults
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
@@ -286,7 +287,7 @@
1
TOTAL
- FAILED
+ {warnings_status}
AGGREGATION_TOOLS
@@ -380,6 +381,80 @@
- build-discarder:
days-to-keep: 1
+ publishers:
+ - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
+
+- job-template:
+ name: 'dev_review_babeltrace_{version}_smokebuild'
+ defaults: babeltrace
+ concurrent: true
+
+ scm:
+ - git: *babeltrace_scm_git_review
+
+ triggers:
+ - gerrit: &babeltrace_trigger_gerrit_smoke
+ trigger-on:
+ - comment-added-event:
+ approval-category: 'Smoke-Build'
+ approval-value: 1
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'babeltrace'
+ branches:
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '{version}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+ aborted: true
+
+ properties:
+ - inject:
+ properties-content: |
+ PROJECT_NAME=babeltrace
+ BABELTRACE_RUN_TESTS=no
+ - build-discarder:
+ days-to-keep: 1
+
+ <<: *babeltrace_matrix_axes_defaults
+ <<: *babeltrace_builders_defaults
+
+ publishers:
+ - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
+
+- job-template:
+ name: 'dev_review_babeltrace_{version}_check-format'
+ defaults: babeltrace
+ concurrent: true
+
+ scm:
+ - git: *babeltrace_scm_git_review
+
+ triggers:
+ - gerrit: *babeltrace_trigger_gerrit_smoke
+
+ node: 'jammy-amd64'
+
+ builders:
+ - shell:
+ !include-raw-escape: scripts/common/check-format.sh
+
+ properties:
+ - inject:
+ properties-content: |
+ PROJECT_NAME=babeltrace
+ - build-discarder:
+ days-to-keep: 1
+
+ publishers:
+ - archive:
+ artifacts: 'clang-format-fixes.diff'
+ allow-empty: true
+ - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
+
- job-template:
name: babeltrace_{version}_release
defaults: babeltrace
@@ -540,7 +615,7 @@
touchstone: ''
- '{job_prefix}babeltrace_{version}_{buildtype}':
buildtype: elbuild
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
+ platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std, prod]
filter: ''
@@ -599,34 +674,90 @@
- stable-2.0
- master
jobs:
+ ## Master ##
+ - 'dev_review_babeltrace_{version}_{buildtype}':
+ version: master
+ buildtype: build
+ platforms: !!python/tuple [bionic-amd64]
+ builds: !!python/tuple [std, oot, dist, oot-dist]
+ confs: !!python/tuple [std, static, prod, min]
+ filter: ''
+ touchstone: ''
+ warnings_status: FAILED
+ - 'dev_review_babeltrace_{version}_{buildtype}':
+ version: master
+ buildtype: portbuild
+ platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ filter: ''
+ touchstone: ''
+ warnings_status: FAILED
+ - 'dev_review_babeltrace_{version}_{buildtype}':
+ version: master
+ buildtype: macosbuild
+ platforms: !!python/tuple [macos-amd64, macos-arm64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std, prod]
+ filter: ''
+ touchstone: ''
+ warnings_status: FAILED
+ - 'dev_review_babeltrace_{version}_{buildtype}':
+ version: master
+ buildtype: winbuild
+ platforms: !!python/tuple [cygwin64, msys2-mingw64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ filter: ''
+ touchstone: ''
+ warnings_status: FAILED
+
+ ## Stable 2.0 ##
- 'dev_review_babeltrace_{version}_{buildtype}':
+ version: stable-2.0
buildtype: build
platforms: !!python/tuple [bionic-amd64]
builds: !!python/tuple [std, oot, dist, oot-dist]
confs: !!python/tuple [std, static, prod, min]
filter: ''
touchstone: ''
+ warnings_status: WARNING
- 'dev_review_babeltrace_{version}_{buildtype}':
+ version: stable-2.0
buildtype: portbuild
platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
filter: ''
touchstone: ''
+ warnings_status: WARNING
- 'dev_review_babeltrace_{version}_{buildtype}':
+ version: stable-2.0
buildtype: macosbuild
platforms: !!python/tuple [macos-amd64, macos-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std, prod]
filter: ''
touchstone: ''
+ warnings_status: WARNING
- 'dev_review_babeltrace_{version}_{buildtype}':
+ version: stable-2.0
buildtype: winbuild
platforms: !!python/tuple [cygwin64, msys2-mingw64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
filter: ''
touchstone: ''
+ warnings_status: WARNING
+
+ ## ALL ##
+ - 'dev_review_babeltrace_{version}_smokebuild':
+ platforms: !!python/tuple [jammy-amd64]
+ builds: !!python/tuple [oot-dist]
+ confs: !!python/tuple [std]
+ filter: ''
+ touchstone: ''
+ - 'dev_review_babeltrace_{version}_check-format'
- 'dev_review_babeltrace_{version}_pylint'