From 7fe0329fbd42905f095c08f9ac1c6fa939f0c433 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 11 May 2022 14:32:58 +0200 Subject: Publish Xtesting docker jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I784fc767e80e0e047af76ba36cb3cd3831de3327 Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting-ci-docker.yaml | 65 ++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 jjb/functest/xtesting-ci-docker.yaml (limited to 'jjb/functest') diff --git a/jjb/functest/xtesting-ci-docker.yaml b/jjb/functest/xtesting-ci-docker.yaml new file mode 100644 index 000000000..d678314c5 --- /dev/null +++ b/jjb/functest/xtesting-ci-docker.yaml @@ -0,0 +1,65 @@ +--- +- builder: + name: xtesting-ci-docker-builder + builders: + - shell: + cd {dir} + sudo docker build --pull true -t {image} . + sudo docker system prune --all -f + +- scm: + name: xtesting-ci-docker-scm + scm: + - git: + url: https://github.com/collivier/xtesting-ci-docker + +- trigger: + name: xtesting-ci-docker-trigger + triggers: + - pollscm: + cron: "H/30 * * * *" + - timed: '@daily' + +- parameter: + name: xtesting-ci-docker-parameter + parameters: + - label: + name: node + default: 'lf-virtual1' + +- job-template: + name: xtesting-ci-docker-{stream} + scm: + - xtesting-ci-docker-scm + parameters: + - xtesting-ci-docker-parameter + triggers: + - xtesting-ci-docker-trigger + builders: + - xtesting-ci-docker-builder: + image: '{image}' + dir: '{dir}' + +- project: + name: xtesting-ci-docker + stream: + - jenkins-debian-lts-slim: + dir: jenkins.debian + image: opnfv/xtesting-jenkins:lts-slim + - jenkins-debian-lts-alpine: + dir: jenkins + image: opnfv/xtesting-jenkins:lts-alpine + jobs: + - xtesting-ci-docker-{stream} + +- view: + name: xtesting-ci-docker + view-type: list + columns: + - status + - weather + - job + - last-success + - last-failure + - last-duration + regex: ^xtesting-ci-docker*$ -- cgit 1.2.3-korg