Use computes + control for NUM_OS_SYSTEM
[releng.git] / jjb / moon / moon.yaml
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           disabled: true
15       - euphrates:
16           branch: 'stable/{stream}'
17           gs-pathname: '/{stream}'
18           disabled: true
19
20 - job-template:
21     name: 'moon-verify-{stream}'
22
23     parameters:
24       - project-parameter:
25           project: '{project}'
26           branch: '{branch}'
27       - 'opnfv-build-ubuntu-defaults'
28
29     scm:
30       - git-scm-gerrit
31
32     triggers:
33       - gerrit:
34           server-name: 'gerrit.opnfv.org'
35           trigger-on:
36             - patchset-created-event:
37                 exclude-drafts: 'false'
38                 exclude-trivial-rebase: 'false'
39                 exclude-no-code-change: 'false'
40             - draft-published-event
41             - comment-added-contains-event:
42                 comment-contains-value: 'recheck'
43             - comment-added-contains-event:
44                 comment-contains-value: 'reverify'
45           projects:
46             - project-compare-type: 'ANT'
47               project-pattern: '{project}'
48               branches:
49                 - branch-compare-type: 'ANT'
50                   branch-pattern: '**/{branch}'
51               disable-strict-forbidden-file-verification: 'true'
52               forbidden-file-paths:
53                 - compare-type: ANT
54                   pattern: 'docs/**|.gitignore'
55
56     builders:
57       - shell: |
58           #!/bin/bash
59           echo "launch Moon unit tests"
60           #nosetest $WORKSPACE/keystone-moon/keystone/tests/moon/unit