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 #--------------------------------
26 #--------------------------------
28 #--------------------------------
29 # No master deploys for now
32 #--------------------------------
34 #--------------------------------
37 - 'os-odl_l2-nofeature-ha':
38 auto-trigger-name: 'armband-{scenario}-{pod}-{stream}-trigger'
41 - 'os-odl_l2-nofeature-noha':
42 auto-trigger-name: 'daily-trigger-disabled'
45 - 'armband-{scenario}-{pod}-daily-{stream}'
46 - 'armband-deploy-{pod}-daily-{stream}'
48 ########################
50 ########################
52 name: 'armband-{scenario}-{pod}-daily-{stream}'
63 use-build-blocker: true
65 - 'armband-os-.*?-{pod}-daily-{stream}'
70 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
73 - '{auto-trigger-name}'
78 - '{installer}-defaults'
80 installer: '{installer}'
84 - armband-ci-parameter:
85 gs-pathname: '{gs-pathname}'
89 - project: 'armband-deploy-{pod}-daily-{stream}'
90 current-parameters: false
91 predefined-parameters:
92 DEPLOY_SCENARIO={scenario}
96 - project: 'functest-{installer}-{pod}-daily-{stream}'
97 current-parameters: false
98 predefined-parameters:
99 DEPLOY_SCENARIO={scenario}
103 build-step-failure-threshold: 'never'
104 failure-threshold: 'never'
105 unstable-threshold: 'FAILURE'
108 name: 'armband-deploy-{pod}-daily-{stream}'
119 use-build-blocker: true
121 - 'armband-deploy-{pod}-daily-{stream}'
122 - 'armband-deploy-generic-daily-.*'
128 - '{installer}-defaults'
130 installer: '{installer}'
132 name: DEPLOY_SCENARIO
133 default: 'os-odl_l2-nofeature-ha'
134 - armband-ci-parameter:
135 gs-pathname: '{gs-pathname}'
139 credentials-id: '{ssh-credentials}'
145 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
149 !include-raw-escape: ./armband-download-artifact.sh
151 !include-raw-escape: ./armband-deploy.sh
155 recipients: josep.puigdemont@enea.com armband@enea.com
157 ########################
159 ########################
161 name: armband-ci-parameter
164 name: BUILD_DIRECTORY
165 default: $WORKSPACE/build_output
166 description: "Directory where the build artifact will be located upon the completion of the build."
168 name: CACHE_DIRECTORY
169 default: $HOME/opnfv/cache/$INSTALLER_TYPE
170 description: "Directory where the cache to be used during the build is located."
173 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
174 description: "URL to Google Storage."
176 ########################
178 ########################
180 #----------------------------------------------------------
181 # Enea Armband POD 1 Triggers running against master branch
182 #----------------------------------------------------------
183 # No triggers for master for now
185 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-master-trigger'
189 #---------------------------------------------------------------
190 # Enea Armband POD 1 Triggers running against brahmaputra branch
191 #---------------------------------------------------------------
193 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-brahmaputra-trigger'
195 - timed: '0 18 * * *'