From 33b3de03def751ac8d7d4ad47ba8e34b6e7ce617 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 23 Nov 2020 17:15:32 -0500 Subject: [PATCH] jjb: liburcu: Add gerrit job Signed-off-by: Michael Jeanson --- jobs/liburcu.yaml | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index db1f544..7a7541e 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -212,6 +212,52 @@ send-to: - recipients +- job-template: + name: dev_gerrit_liburcu_{buildtype} + defaults: liburcu + concurrent: true + + scm: + - git: + url: https://review.lttng.org/userspace-rcu + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: src/liburcu + skip-tag: true + + triggers: + - gerrit: + trigger-on: + - comment-added-event: + approval-category: 'CI-Build' + approval-value: 1 + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'userspace-rcu' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**' + + <<: *liburcu_build_axes_defaults + <<: *liburcu_build_builders_defaults + + publishers: + - tap: + results: 'tap/**/*.log' + fail-if-no-results: true + failed-tests-mark-build-as-failure: true + todo-is-failure: false + - warnings: + console-log-parsers: + - 'GNU Make + GNU C Compiler (gcc)' + total-thresholds: + unstable: + total-all: 0 + total-high: 0 + total-normal: 0 + total-low: 0 + - job-template: name: liburcu_{version}_scan-build defaults: liburcu @@ -334,6 +380,23 @@ - 'liburcu_{version}_coverity': version: master +- project: + name: gerrit-liburcu + github_user: urcu + github_name: userspace-rcu + jobs: + - 'dev_gerrit_liburcu_{buildtype}': + buildtype: build + arch: !!python/tuple [amd64] + build: !!python/tuple [std, oot, dist] + conf: !!python/tuple [std, static, tls_fallback, debug-rcu] + buildtype: build + - 'dev_gerrit_liburcu_{buildtype}': + buildtype: portbuild + arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + build: !!python/tuple [std] + conf: !!python/tuple [std] + - project: name: liburcu-views views: -- 2.34.1