From 925d6d3bdadf9d03a19c66a1bb557ac7a87925ff Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 24 May 2022 18:38:41 +0200 Subject: Publish cntt gate jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia99614fff4354519d84f563911354acfad7d949b Signed-off-by: Cédric Ollivier --- jjb/cntt/cntt.yaml | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 jjb/cntt/cntt.yaml (limited to 'jjb/cntt') diff --git a/jjb/cntt/cntt.yaml b/jjb/cntt/cntt.yaml new file mode 100644 index 000000000..01edfc2b8 --- /dev/null +++ b/jjb/cntt/cntt.yaml @@ -0,0 +1,82 @@ +--- +- builder: + name: cntt-tox + builders: + - shell: | + set +x + if [ -d {dir} ] && [ -f {dir}/tox.ini ]; then + (cd {dir} && tox + wget -q -N https://dl.min.io/client/mc/release/linux-amd64/mc && chmod a+x mc + ./mc cp -r -q build/ opnfv/artifacts.opnfv.org/$BUILD_TAG/{stream} + echo "\nhttps://artifacts.opnfv.org/$BUILD_TAG/{stream}/index.html\n") + fi + if [ -d {dir}/build ] && [ -f {dir}/build/Makefile ]; then + (cd {dir}/build && make + for i in {dir}/build/*.pdf; do + ./mc cp -r -q $i opnfv/artifacts.opnfv.org/$BUILD_TAG/{stream} + echo "\nhttps://artifacts.opnfv.org/$BUILD_TAG/{stream}/$i\n" + done) + fi + +- scm: + name: cntt-scm + scm: + - git: + url: https://github.com/cntt-n/CNTT + refspec: '+refs/heads/*:refs/remotes/origin/* +refs/pull/*/head:refs/remotes/origin/pr/*' + +- parameter: + name: cntt-parameter + parameters: + - label: + name: node + default: 'lf-virtual1' + +- job-template: + name: cntt-tox-{stream} + scm: + - cntt-scm + triggers: + - github + parameters: + - cntt-parameter + builders: + - cntt-tox: + stream: '{stream}' + dir: '{dir}' + publishers: + - github-notifier + +- project: + name: cntt + stream: + - rm: + dir: doc/ref_model + - ra1: + dir: doc/ref_arch/openstack + - ra2: + dir: doc/ref_arch/kubernetes + - rc: + dir: doc/ref_cert + - rc1: + dir: doc/ref_cert/RC1 + - rc2: + dir: doc/ref_cert/RC2 + - ri1: + dir: doc/ref_impl/cntt-ri + - ri2: + dir: doc/ref_impl/cntt-ri2 + jobs: + - cntt-tox-{stream} + +- view: + name: cntt + view-type: list + columns: + - status + - weather + - job + - last-success + - last-failure + - last-duration + regex: ^cntt.*$ -- cgit 1.2.3-korg