Fix Yamllint Violations for jjb/moon
[releng.git] / jjb / moon / moon.yml
1 ---
2 - project:
3     name: moon
4
5     project: '{name}'
6
7     jobs:
8       - 'moon-verify-{stream}'
9
10     stream:
11       - master:
12           branch: '{stream}'
13           gs-pathname: ''
14
15 - job-template:
16     name: 'moon-verify-{stream}'
17
18     parameters:
19       - project-parameter:
20           project: '{project}'
21           branch: '{branch}'
22       - 'opnfv-build-ubuntu-defaults'
23
24     scm:
25       - git-scm-gerrit
26
27     triggers:
28       - gerrit:
29           server-name: 'gerrit.opnfv.org'
30           trigger-on:
31             - patchset-created-event:
32                 exclude-drafts: 'false'
33                 exclude-trivial-rebase: 'false'
34                 exclude-no-code-change: 'false'
35             - draft-published-event
36             - comment-added-contains-event:
37                 comment-contains-value: 'recheck'
38             - comment-added-contains-event:
39                 comment-contains-value: 'reverify'
40           projects:
41             - project-compare-type: 'ANT'
42               project-pattern: '{project}'
43               branches:
44                 - branch-compare-type: 'ANT'
45                   branch-pattern: '**/{branch}'
46               disable-strict-forbidden-file-verification: 'true'
47               forbidden-file-paths:
48                 - compare-type: ANT
49                   pattern: 'docs/**|.gitignore'
50
51     builders:
52       - shell:
53           #!/bin/bash
54           echo "launch Moon unit tests"
55           nosetest $WORKSPACE/keystone-moon/keystone/tests/moon/unit