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-odl_l2-nofeature-ha':
40 auto-trigger-name: 'armband-{scenario}-{pod}-{stream}-trigger'
43 - 'os-odl_l2-nofeature-noha':
44 auto-trigger-name: 'daily-trigger-disabled'
47 - 'armband-{scenario}-{pod}-daily-{stream}'
48 - 'armband-deploy-{pod}-daily-{stream}'
50 ########################
52 ########################
54 name: 'armband-{scenario}-{pod}-daily-{stream}'
65 use-build-blocker: true
67 - 'armband-os-.*?-{pod}-daily-{stream}'
72 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
75 - '{auto-trigger-name}'
80 - '{installer}-defaults'
82 installer: '{installer}'
86 - armband-ci-parameter:
87 gs-pathname: '{gs-pathname}'
91 - project: 'armband-deploy-{pod}-daily-{stream}'
92 current-parameters: false
93 predefined-parameters:
94 DEPLOY_SCENARIO={scenario}
98 - project: 'functest-{installer}-{pod}-daily-{stream}'
99 current-parameters: false
100 predefined-parameters:
101 DEPLOY_SCENARIO={scenario}
105 build-step-failure-threshold: 'never'
106 failure-threshold: 'never'
107 unstable-threshold: 'FAILURE'
110 name: 'armband-deploy-{pod}-daily-{stream}'
121 use-build-blocker: true
123 - 'armband-deploy-{pod}-daily-{stream}'
124 - 'armband-deploy-generic-daily-.*'
130 - '{installer}-defaults'
132 installer: '{installer}'
134 name: DEPLOY_SCENARIO
135 default: 'os-odl_l2-nofeature-ha'
136 - armband-ci-parameter:
137 gs-pathname: '{gs-pathname}'
141 credentials-id: '{ssh-credentials}'
147 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
151 !include-raw-escape: ./armband-download-artifact.sh
153 !include-raw-escape: ./armband-deploy.sh
157 recipients: josep.puigdemont@enea.com armband@enea.com
159 ########################
161 ########################
163 name: armband-ci-parameter
166 name: BUILD_DIRECTORY
167 default: $WORKSPACE/build_output
168 description: "Directory where the build artifact will be located upon the completion of the build."
170 name: CACHE_DIRECTORY
171 default: $HOME/opnfv/cache/$INSTALLER_TYPE
172 description: "Directory where the cache to be used during the build is located."
175 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
176 description: "URL to Google Storage."
178 ########################
180 ########################
182 #----------------------------------------------------------
183 # Enea Armband POD 1 Triggers running against master branch
184 #----------------------------------------------------------
185 # No triggers for master for now
187 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-master-trigger'
191 #---------------------------------------------------------------
192 # Enea Armband POD 1 Triggers running against brahmaputra branch
193 #---------------------------------------------------------------
195 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-brahmaputra-trigger'
197 - timed: '0 18 * * *'
198 #---------------------------------------------------------------
199 # Enea Armband POD 2 Triggers running against brahmaputra branch
200 #---------------------------------------------------------------
202 name: 'armband-os-odl_l2-nofeature-ha-arm-pod2-brahmaputra-trigger'