projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ansible: libvirt: fix ISO images urls
[lttng-ci.git]
/
jobs
/
barectf.yaml
diff --git
a/jobs/barectf.yaml
b/jobs/barectf.yaml
index 0135e388966b8bcab0b22eaad5fcbb1c1f599f70..160bf3814bdaec111cfc8a44d6e1d8414c80a419 100644
(file)
--- a/
jobs/barectf.yaml
+++ b/
jobs/barectf.yaml
@@
-1,3
+1,5
@@
+---
+## Defaults ##
- defaults:
name: barectf
description: |
- defaults:
name: barectf
description: |
@@
-10,19
+12,18
@@
project-type: freestyle
wrappers:
project-type: freestyle
wrappers:
- - workspace-cleanup
- - timestamps
- - ansicolor:
+ - ansicolor: &barectf_wrapper_ansicolor_defaults
colormap: xterm
colormap: xterm
- # - credentials-binding:
- # - username-password-separated:
- # credential-id: barectf_codecov_token
- # username: CODECOV_PROJECT_NAME
- # password: CODECOV_TOKEN
+ - timeout: &barectf_wrapper_timeout_defaults
+ timeout: 20
+ fail: true
+ type: no-activity
+ - timestamps
+ - workspace-cleanup
scm:
- git:
scm:
- git:
- url:
git
://github.com/{github_user}/{github_name}.git
+ url:
https
://github.com/{github_user}/{github_name}.git
browser: githubweb
browser-url: https://github.com/{github_user}/{github_name}
branches:
browser: githubweb
browser-url: https://github.com/{github_user}/{github_name}
branches:
@@
-37,14
+38,24
@@
properties:
- build-discarder:
properties:
- build-discarder:
- num-to-keep: 2
+ num-to-keep: 10
+ artifact-num-to-keep: 2
- github:
url: https://github.com/{github_user}/{github_name}
- github:
url: https://github.com/{github_user}/{github_name}
+ publishers:
+ - workspace-cleanup: &barectf_publisher_workspace_cleanup_defaults
+ clean-if:
+ - failure: false
+ - ircbot: &barectf_publisher_ircbot_defaults
+ strategy: statechange-only
+ message-type: summary
+ matrix-notifier: only-parent
+
-## Templates
+## Templates
##
- job-template:
- job-template:
- name: barectf_{version}_
build
+ name: barectf_{version}_
{buildtype}
defaults: barectf
project-type: matrix
defaults: barectf
project-type: matrix
@@
-52,17
+63,16
@@
axes:
- axis:
type: slave
axes:
- axis:
type: slave
- name:
arch
- values: '{obj:
arch
}'
+ name:
platform
+ values: '{obj:
platforms
}'
builders:
- shell:
!include-raw-escape: scripts/barectf/build.sh
publishers:
builders:
- shell:
!include-raw-escape: scripts/barectf/build.sh
publishers:
-# - archive:
-# artifacts: 'build/**'
-# allow-empty: false
+ - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults
+ - ircbot: *barectf_publisher_ircbot_defaults
- email-ext:
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
- email-ext:
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
@@
-87,56
+97,64
@@
- recipients
- job-template:
- recipients
- job-template:
- name:
barectf_{version}_pylint
+ name:
dev_review_barectf_{version}_{buildtype}
defaults: barectf
defaults: barectf
- node: 'x86-64'
+ concurrent: true
+
+ project-type: matrix
+ node: 'master' # Applies only to matrix flyweight task
+ axes:
+ - axis:
+ type: slave
+ name: platform
+ values: '{obj:platforms}'
+
+ scm:
+ - git:
+ url: https://review.lttng.org/barectf
+ refspec: 'refs/changes/*:refs/changes/*'
+ branches:
+ - '$GERRIT_REFSPEC'
+ basedir: src/barectf
+ skip-tag: true
triggers:
triggers:
- - pollscm:
- cron: "@daily"
+ - gerrit:
+ trigger-on:
+ - comment-added-event:
+ approval-category: 'CI-Build'
+ approval-value: 1
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'barectf'
+ branches:
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '{version}'
+
+ properties:
+ - build-discarder:
+ days-to-keep: 1
+ - throttle:
+ option: 'category'
+ categories:
+ - 'gerrit-{buildtype}'
builders:
builders:
-
- shell:
-
!include-raw-escape: scripts/barectf/pylint
.sh
+ - shell:
+
!include-raw-escape: scripts/barectf/build
.sh
publishers:
publishers:
- - archive:
- artifacts: 'pep8.out,pylint.out'
- - violations:
- pep8:
- pattern: pep8.out
- min: 10
- max: 999
- unstable: 999
- pylint:
- pattern: pylint.out
- min: 10
- max: 999
- unstable: 999
- - email-ext:
- recipients: '{obj:email_to}'
- reply-to: ci-notification@lists.lttng.org
- always: false
- unstable: false
- first-failure: true
- first-unstable: true
- not-built: false
- aborted: false
- regression: false
- failure: false
- second-failure: false
- improvement: false
- still-failing: false
- success: false
- fixed: false
- fixed-unhealthy: true
- still-unstable: false
- pre-build: false
- matrix-trigger: only-parent
- send-to:
- - recipients
+ - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults
+
-## Project
+## Views ##
+- view-template:
+ name: 'Barectf'
+ view-type: list
+ regex: 'barectf[-_].*'
+
+
+## Projects ##
- project:
name: barectf
github_user: efficios
- project:
name: barectf
github_user: efficios
@@
-144,8
+162,27
@@
email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
version:
- master
email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
version:
- master
+ - stable-3.0
+ - stable-3.1
+ jobs:
+ - 'barectf_{version}_{buildtype}':
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
+
+- project:
+ name: review-barectf
+ github_user: efficios
+ github_name: barectf
+ version:
+ - master
+ - stable-3.0
+ - stable-3.1
jobs:
jobs:
- - '
barectf_{version}_build
':
- arch: !!python/tuple [x86-32, x86-64]
- - 'barectf_{version}_pylint'
+ - '
dev_review_barectf_{version}_{buildtype}
':
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
+- project:
+ name: barectf-views
+ views:
+ - Barectf
This page took
0.024431 seconds
and
4
git commands to generate.