Import Zuul v3 job

Import the legacy-gitdm job and convert it to Zuul v3 native format.
Set it up to run in check and gate pipeline.

Previously the job was run in periodic pipeline every day as well. This
is not needed anymore, we use other tools nowadays.

Change-Id: I2876725c81d786a3f0edb7543927ffb520890607
This commit is contained in:
Andreas Jaeger 2018-03-01 20:47:15 +01:00
parent 0bedc37ca3
commit e0638daa8b
2 changed files with 29 additions and 0 deletions

14
.zuul.yaml Normal file
View File

@ -0,0 +1,14 @@
- job:
name: gitdm-do-it
parent: unittests
description: |
Run do-it.sh for gitdm repository.
run: playbooks/do-it/run.yaml
- project:
check:
jobs:
- gitdm-do-it
gate:
jobs:
- gitdm-do-it

15
playbooks/do-it/run.yaml Normal file
View File

@ -0,0 +1,15 @@
- hosts: all
tasks:
- name: Build and test
shell:
cmd: |
set -e
set -x
./autogen.sh
./configure
make
make test
make valgrind-test
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'