Merge "joid: Disable jobs"
[releng.git] / jjb / ovn4nfv / ovn4nfv-daily-jobs.yaml
1 ---
2 - project:
3     name: 'ovn4nfv-daily-jobs'
4
5     project: 'ovn4nfv'
6
7     master: &master
8       stream: master
9       branch: '{stream}'
10       gs-pathname: ''
11       disabled: false
12
13     pod:
14       - virtual:
15           slave-label: 'joid-virtual'
16           os-version: 'xenial'
17           <<: *master
18
19     jobs:
20       - 'ovn4nfv-{pod}-daily-{stream}'
21
22 - job-template:
23     name: 'ovn4nfv-{pod}-daily-{stream}'
24
25     project-type: multijob
26
27     disabled: '{obj:disabled}'
28
29     concurrent: false
30
31     properties:
32       - logrotate-default
33       - throttle:
34           enabled: true
35           max-total: 1
36           max-per-node: 1
37           option: 'project'
38
39     scm:
40       - git-scm
41
42     wrappers:
43       - ssh-agent-wrapper
44
45       - timeout:
46           timeout: 240
47           fail: true
48
49     triggers:
50       - timed: '@daily'
51
52     parameters:
53       - project-parameter:
54           project: '{project}'
55           branch: '{branch}'
56       - string:
57           name: DEPLOY_SCENARIO
58           default: os-ovn-nofeature-noha
59       - '{slave-label}-defaults'
60
61     builders:
62       - description-setter:
63           description: "Built on $NODE_NAME"
64       - multijob:
65           name: deploy
66           condition: SUCCESSFUL
67           projects:
68             - name: 'joid-deploy-{pod}-daily-{stream}'
69               current-parameters: false
70               predefined-parameters: |
71                 DEPLOY_SCENARIO=os-ovn-nofeature-noha
72                 COMPASS_OS_VERSION=xenial
73               node-parameters: true
74               kill-phase-on: FAILURE
75               abort-all-job: true
76       - multijob:
77           name: functest
78           condition: SUCCESSFUL
79           projects:
80             - name: 'functest-joid-{pod}-daily-{stream}'
81               current-parameters: false
82               predefined-parameters: |
83                 DEPLOY_SCENARIO=os-ovn-nofeature-ha
84                 FUNCTEST_MODE=testcase
85                 FUNCTEST_SUITE_NAME=ovn4nfv_test_suite
86               node-parameters: true
87               kill-phase-on: NEVER
88               abort-all-job: true