X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbarectf.yaml;h=920fa90ca3f956fe9225075d44d383a988cb2ff7;hb=20714413141bd336a45c3501918ebcc127442b23;hp=497c167bfbbb5eda8362e10f2478be8cc18df834;hpb=f78f03ce765eb65c3598722d5481d4b80f2f3f61;p=lttng-ci.git diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index 497c167..920fa90 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -1,3 +1,5 @@ +--- +## Defaults ## - defaults: name: barectf description: | @@ -14,15 +16,10 @@ - timestamps - ansicolor: colormap: xterm - # - credentials-binding: - # - username-password-separated: - # credential-id: barectf_codecov_token - # username: CODECOV_PROJECT_NAME - # password: CODECOV_TOKEN 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: @@ -42,7 +39,7 @@ url: https://github.com/{github_user}/{github_name} -## Templates +## Templates ## - job-template: name: barectf_{version}_build defaults: barectf @@ -60,54 +57,106 @@ !include-raw-escape: scripts/barectf/build.sh publishers: -# - archive: -# artifacts: 'build/**' -# allow-empty: false - - ircbot: - strategy: new-failure-and-fixed - matrix-notifier: only-parent - channels: - - name: '#lttng' - + - 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 - job-template: - name: barectf_{version}_pylint + name: dev_gerrit_barectf_{buildtype} defaults: barectf - node: 'x86-64' + concurrent: true + + project-type: matrix + node: 'master' # Applies only to matrix flyweight task + axes: + - axis: + type: slave + name: arch + values: '{obj:arch}' + + scm: + - git: + url: https://review.lttng.org/barectf + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: src/barectf + skip-tag: true 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: 'ANT' + branch-pattern: '**' + properties: + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' builders: - - shell: - !include-raw-escape: scripts/barectf/pylint.sh + - shell: + !include-raw-escape: scripts/barectf/build.sh - 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 - - -## Project + +## Views ## +- view-template: + name: 'Barectf' + view-type: list + regex: 'barectf[-_].*' + + +## Projects ## - project: name: barectf github_user: efficios github_name: barectf + email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com' version: - master + - stable-3.0 jobs: - 'barectf_{version}_build': - arch: !!python/tuple [x86-32, x86-64] - - 'barectf_{version}_pylint' + arch: !!python/tuple [amd64] +- project: + name: gerrit-barectf + github_user: efficios + github_name: barectf + jobs: + - 'dev_gerrit_barectf_{buildtype}': + buildtype: build + arch: !!python/tuple [amd64] + +- project: + name: barectf-views + views: + - Barectf