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