Use computes + control for NUM_OS_SYSTEM
[releng.git] / jjb / snaps / snaps-verify-jobs.yaml
1 ---
2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
6 - project:
7     name: snaps
8
9     project: '{name}'
10
11     jobs:
12       - 'snaps-verify-{stream}'
13
14     stream:
15       - master:
16           branch: '{stream}'
17           gs-pathname: ''
18           disabled: true
19       - fraser: &fraser
20           branch: 'stable/{stream}'
21           gs-pathname: '/{stream}'
22           disabled: true
23
24 - job-template:
25     name: 'snaps-verify-{stream}'
26
27     disabled: '{obj:disabled}'
28
29     concurrent: false
30
31     parameters:
32       - project-parameter:
33           project: '{project}'
34           branch: '{branch}'
35       - string:
36           name: DEPLOYMENT_HOST_IP
37           default: 192.168.122.2
38           description: 'IP of the deployment node'
39       - string:
40           name: CONTROLLER_IP
41           default: 192.168.122.3
42           description: 'IP of the controller node'
43       - 'intel-virtual10-defaults'
44
45     scm:
46       - git-scm-gerrit
47
48     triggers:
49       - gerrit:
50           server-name: 'gerrit.opnfv.org'
51           trigger-on:
52             - patchset-created-event:
53                 exclude-drafts: 'false'
54                 exclude-trivial-rebase: 'false'
55                 exclude-no-code-change: 'false'
56             - draft-published-event
57             - comment-added-contains-event:
58                 comment-contains-value: 'recheck'
59             - comment-added-contains-event:
60                 comment-contains-value: 'reverify'
61           projects:
62             - project-compare-type: 'ANT'
63               project-pattern: '{project}'
64               branches:
65                 - branch-compare-type: 'ANT'
66                   branch-pattern: '**/{branch}'
67               disable-strict-forbidden-file-verification: 'true'
68               forbidden-file-paths:
69                 - compare-type: ANT
70                   pattern: 'docs/**|.gitignore'
71
72     builders:
73       - shell: |
74           #!/bin/bash
75
76           cd $WORKSPACE/ci
77           ./run_tests.sh $DEPLOYMENT_HOST_IP $CONTROLLER_IP