X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-analyses.yaml;h=910ff4b189ed5f085c995211d54cd0c2bc3c8226;hb=61afb3c349be6d2ed9c4280cd9fbbadd7d88d3fa;hp=bf9511bf5d1940bafd385e6e31911980fab70484;hpb=ead62c96a4d0ecd27c8573eb7ca7e06b9f66e533;p=lttng-ci.git diff --git a/jobs/lttng-analyses.yaml b/jobs/lttng-analyses.yaml index bf9511b..910ff4b 100644 --- a/jobs/lttng-analyses.yaml +++ b/jobs/lttng-analyses.yaml @@ -7,36 +7,76 @@ project-type: freestyle - logrotate: - daysToKeep: -1 - numToKeep: 2 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - wrappers: - workspace-cleanup - timestamps - ansicolor: colormap: xterm + - credentials-binding: + - username-password-separated: + credential-id: lttng-analyses_codecov_token + username: CODECOV_PROJECT_NAME + password: CODECOV_TOKEN scm: - git: - url: git://github.com/lttng/lttng-analyses.git + url: git://github.com/{github_user}/{github_name}.git browser: githubweb - browser-url: https://github.com/lttng/lttng-analyses + browser-url: https://github.com/{github_user}/{github_name} branches: - origin/{version} + basedir: src/lttng-analyses + skip-tag: true triggers: - pollscm: cron: "@hourly" properties: + - build-discarder: + num-to-keep: 2 - github: - url: https://github.com/lttng/lttng-analyses + url: https://github.com/{github_user}/{github_name} ## Templates +- job-template: + name: lttng-analyses_{version}_build + defaults: lttng-analyses + + project-type: matrix + node: 'master' # Applies only to matrix flyweight task + axes: + - axis: + type: slave + name: arch + values: '{obj:arch}' + - axis: + type: user-defined + name: babeltrace_version + values: '{obj:babeltrace_version}' + + builders: + - copyartifact: + project: babeltrace_${{babeltrace_version}}_build/arch=${{arch}},build=std,conf=python-bindings + which-build: last-successful + stable: false + filter: 'build/**' + target: 'deps/babeltrace' + - shell: + !include-raw-escape: scripts/lttng-analyses/build.sh + + publishers: +# - archive: +# artifacts: 'build/**' +# allow-empty: false + - ircbot: + strategy: new-failure-and-fixed + matrix-notifier: only-parent + channels: + - name: '#lttng' + + - job-template: name: lttng-analyses_{version}_pylint defaults: lttng-analyses @@ -48,13 +88,13 @@ builders: - copyartifact: - project: babeltrace-master/arch=x86-64,build=std,conf=python_bindings + project: babeltrace_{babeltrace_version}_build/arch=x86-64,build=std,conf=python-bindings which-build: last-successful - stable: true + stable: false filter: 'build/**' target: 'deps/babeltrace' - shell: - !include-raw-escape scripts/lttng-analyses/pylint.sh + !include-raw-escape: scripts/lttng-analyses/pylint.sh publishers: - archive: @@ -79,8 +119,14 @@ ## Project - project: name: lttng-analyses + github_user: lttng + github_name: lttng-analyses version: - master jobs: - - 'lttng-analyses_{version}_pylint' + - 'lttng-analyses_{version}_build': + arch: !!python/tuple [x86-32, x86-64] + babeltrace_version: !!python/tuple [stable-1.4, stable-1.5, master] + - 'lttng-analyses_{version}_pylint': + babeltrace_version: stable-1.5