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 #--------------------------------
36 #--------------------------------
38 #--------------------------------
41 - 'os-nosdn-nofeature-ha':
42 auto-trigger-name: 'daily-trigger-disabled'
43 - 'os-odl_l2-nofeature-ha':
44 auto-trigger-name: 'armband-{scenario}-{pod}-{stream}-trigger'
45 - 'os-odl_l3-nofeature-ha':
46 auto-trigger-name: 'daily-trigger-disabled'
47 - 'os-odl_l2-bgpvpn-ha':
48 auto-trigger-name: 'daily-trigger-disabled'
51 - 'os-odl_l2-nofeature-noha':
52 auto-trigger-name: 'daily-trigger-disabled'
55 - 'armband-{scenario}-{pod}-daily-{stream}'
56 - 'armband-deploy-{pod}-daily-{stream}'
58 ########################
60 ########################
62 name: 'armband-{scenario}-{pod}-daily-{stream}'
73 use-build-blocker: true
75 - 'armband-os-.*?-{pod}-daily-{stream}'
80 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
83 - '{auto-trigger-name}'
88 - '{installer}-defaults'
90 installer: '{installer}'
94 - armband-ci-parameter:
95 gs-pathname: '{gs-pathname}'
99 - project: 'armband-deploy-{pod}-daily-{stream}'
100 current-parameters: false
101 predefined-parameters:
102 DEPLOY_SCENARIO={scenario}
106 - project: 'functest-{installer}-{pod}-daily-{stream}'
107 current-parameters: false
108 predefined-parameters:
109 DEPLOY_SCENARIO={scenario}
113 build-step-failure-threshold: 'never'
114 failure-threshold: 'never'
115 unstable-threshold: 'FAILURE'
118 name: 'armband-deploy-{pod}-daily-{stream}'
129 use-build-blocker: true
131 - 'armband-deploy-{pod}-daily-{stream}'
132 - 'armband-deploy-generic-daily-.*'
138 - '{installer}-defaults'
140 installer: '{installer}'
142 name: DEPLOY_SCENARIO
143 default: 'os-odl_l2-nofeature-ha'
144 - armband-ci-parameter:
145 gs-pathname: '{gs-pathname}'
149 credentials-id: '{ssh-credentials}'
155 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
159 !include-raw-escape: ./armband-download-artifact.sh
161 !include-raw-escape: ./armband-deploy.sh
165 recipients: josep.puigdemont@enea.com armband@enea.com
167 ########################
169 ########################
171 name: armband-ci-parameter
174 name: BUILD_DIRECTORY
175 default: $WORKSPACE/build_output
176 description: "Directory where the build artifact will be located upon the completion of the build."
178 name: CACHE_DIRECTORY
179 default: $HOME/opnfv/cache/$INSTALLER_TYPE
180 description: "Directory where the cache to be used during the build is located."
183 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
184 description: "URL to Google Storage."
186 ########################
188 ########################
190 #----------------------------------------------------------
191 # Enea Armband POD 1 Triggers running against master branch
192 #----------------------------------------------------------
193 # No triggers for master for now
195 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-master-trigger'
198 #---------------------------------------------------------------
199 # Enea Armband POD 1 Triggers running against brahmaputra branch
200 #---------------------------------------------------------------
202 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-brahmaputra-trigger'
205 #----------------------------------------------------------
206 # Enea Armband POD 2 Triggers running against master branch
207 #----------------------------------------------------------
208 # No triggers for master for now
210 name: 'armband-os-odl_l2-nofeature-ha-arm-pod2-master-trigger'
213 #---------------------------------------------------------------
214 # Enea Armband POD 2 Triggers running against brahmaputra branch
215 #---------------------------------------------------------------
217 name: 'armband-os-odl_l2-nofeature-ha-arm-pod2-brahmaputra-trigger'