1 # jenkins job templates for Armband
7 #--------------------------------
9 #--------------------------------
14 brahmaputra: &brahmaputra
16 branch: 'stable/{stream}'
17 gs-pathname: '/{stream}'
18 #--------------------------------
19 # POD, INSTALLER, AND BRANCH MAPPING
20 #--------------------------------
22 #--------------------------------
28 #--------------------------------
30 #--------------------------------
31 # No master deploys for now
34 #--------------------------------
36 #--------------------------------
39 - 'os-nosdn-nofeature-ha':
40 auto-trigger-name: 'daily-trigger-disabled'
41 - 'os-odl_l2-nofeature-ha':
42 auto-trigger-name: 'armband-{scenario}-{pod}-{stream}-trigger'
43 - 'os-odl_l3-nofeature-ha':
44 auto-trigger-name: 'daily-trigger-disabled'
45 - 'os-odl_l2-bgpvpn-ha':
46 auto-trigger-name: 'daily-trigger-disabled'
49 - 'os-odl_l2-nofeature-noha':
50 auto-trigger-name: 'daily-trigger-disabled'
53 - 'armband-{scenario}-{pod}-daily-{stream}'
54 - 'armband-deploy-{pod}-daily-{stream}'
56 ########################
58 ########################
60 name: 'armband-{scenario}-{pod}-daily-{stream}'
71 use-build-blocker: true
73 - 'armband-os-.*?-{pod}-daily-{stream}'
78 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
81 - '{auto-trigger-name}'
86 - '{installer}-defaults'
88 installer: '{installer}'
92 - armband-ci-parameter:
93 gs-pathname: '{gs-pathname}'
97 - project: 'armband-deploy-{pod}-daily-{stream}'
98 current-parameters: false
99 predefined-parameters:
100 DEPLOY_SCENARIO={scenario}
104 - project: 'functest-{installer}-{pod}-daily-{stream}'
105 current-parameters: false
106 predefined-parameters:
107 DEPLOY_SCENARIO={scenario}
111 build-step-failure-threshold: 'never'
112 failure-threshold: 'never'
113 unstable-threshold: 'FAILURE'
116 name: 'armband-deploy-{pod}-daily-{stream}'
127 use-build-blocker: true
129 - 'armband-deploy-{pod}-daily-{stream}'
130 - 'armband-deploy-generic-daily-.*'
136 - '{installer}-defaults'
138 installer: '{installer}'
140 name: DEPLOY_SCENARIO
141 default: 'os-odl_l2-nofeature-ha'
142 - armband-ci-parameter:
143 gs-pathname: '{gs-pathname}'
147 credentials-id: '{ssh-credentials}'
153 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
157 !include-raw-escape: ./armband-download-artifact.sh
159 !include-raw-escape: ./armband-deploy.sh
163 recipients: josep.puigdemont@enea.com armband@enea.com
165 ########################
167 ########################
169 name: armband-ci-parameter
172 name: BUILD_DIRECTORY
173 default: $WORKSPACE/build_output
174 description: "Directory where the build artifact will be located upon the completion of the build."
176 name: CACHE_DIRECTORY
177 default: $HOME/opnfv/cache/$INSTALLER_TYPE
178 description: "Directory where the cache to be used during the build is located."
181 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
182 description: "URL to Google Storage."
184 ########################
186 ########################
188 #----------------------------------------------------------
189 # Enea Armband POD 1 Triggers running against master branch
190 #----------------------------------------------------------
191 # No triggers for master for now
193 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-master-trigger'
197 #---------------------------------------------------------------
198 # Enea Armband POD 1 Triggers running against brahmaputra branch
199 #---------------------------------------------------------------
201 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-brahmaputra-trigger'
203 - timed: '0 18 * * *'
204 #---------------------------------------------------------------
205 # Enea Armband POD 2 Triggers running against brahmaputra branch
206 #---------------------------------------------------------------
208 name: 'armband-os-odl_l2-nofeature-ha-arm-pod2-brahmaputra-trigger'