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: 'brahmaputra-trigger-daily-disabled'
45 - 'armband-{scenario}-{pod}-daily-{stream}'
46 - 'armband-deploy-{pod}-daily-{stream}'
48 ########################
50 ########################
52 name: 'armband-{scenario}-{pod}-daily-{stream}'
62 use-build-blocker: true
64 - 'armband-os-.*?-{pod}-daily-{stream}'
69 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
72 - '{auto-trigger-name}'
77 - '{installer}-defaults'
79 installer: '{installer}'
83 - armband-ci-parameter:
84 gs-pathname: '{gs-pathname}'
88 - project: 'armband-deploy-{pod}-daily-{stream}'
89 current-parameters: false
90 predefined-parameters:
91 DEPLOY_SCENARIO={scenario}
95 - project: 'functest-{installer}-{pod}-daily-{stream}'
96 current-parameters: false
97 predefined-parameters:
98 DEPLOY_SCENARIO={scenario}
102 build-step-failure-threshold: 'never'
103 failure-threshold: 'never'
104 unstable-threshold: 'FAILURE'
107 name: 'armband-deploy-{pod}-daily-{stream}'
117 use-build-blocker: true
119 - 'armband-deploy-{pod}-daily-{stream}'
120 - 'armband-deploy-generic-daily-.*'
126 - '{installer}-defaults'
128 installer: '{installer}'
130 name: DEPLOY_SCENARIO
131 default: 'os-odl_l2-nofeature-ha'
132 - armband-ci-parameter:
133 gs-pathname: '{gs-pathname}'
137 credentials-id: '{ssh-credentials}'
143 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
147 !include-raw-escape: ./armband-download-artifact.sh
149 !include-raw-escape: ./armband-deploy.sh
153 recipients: josep.puigdemont@enea.com armband@enea.com
155 ########################
157 ########################
159 name: armband-ci-parameter
162 name: BUILD_DIRECTORY
163 default: $WORKSPACE/build_output
164 description: "Directory where the build artifact will be located upon the completion of the build."
166 name: CACHE_DIRECTORY
167 default: $HOME/opnfv/cache/$INSTALLER_TYPE
168 description: "Directory where the cache to be used during the build is located."
171 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
172 description: "URL to Google Storage."
174 ########################
176 ########################
178 #----------------------------------------------------------
179 # Enea Armband POD 1 Triggers running against master branch
180 #----------------------------------------------------------
181 # No triggers for master for now
183 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-master-trigger'
187 #---------------------------------------------------------------
188 # Enea Armband POD 1 Triggers running against brahmaputra branch
189 #---------------------------------------------------------------
191 name: 'armband-os-odl_l2-nofeature-ha-arm-pod1-brahmaputra-trigger'
193 - timed: '0 18 * * *'