2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2019 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
21 name: 'engine-periodic-offline-deploy-test'
23 project: 'engine-periodic-offline-deploy-test'
39 pod-name: est-baremetal
40 provisioner-type: bifrost
41 installer-type: kubespray
42 slave-label: baremetal-deploy
43 yardstick-dispatcher: 'influxdb'
48 execution-mode: offline-deployment
49 pdf: 'file:///opt/engine/offline/git/hwconfig/pods'
50 idf: 'file:///opt/engine/offline/git/hwconfig/pods'
61 - '{deploy-scenario}-{environment-type}-{distro}-{type}-periodic'
62 - 'kubernetes-{environment-type}-{phase}-{distro}-{type}-periodic'
65 name: '{deploy-scenario}-{environment-type}-{distro}-{type}-periodic'
67 project-type: multijob
69 disabled: '{obj:disabled}'
76 default: '{slave-label}'
77 description: 'Slave label to schedule this job on.'
79 name: PROVISIONER_TYPE
80 default: '{provisioner-type}'
81 description: 'Provisioner type to use'
84 default: '{installer-type}'
85 description: 'Installer type to use'
88 default: '{deploy-scenario}'
89 description: 'Scenario to deploy and test'
92 default: '{pdf}/${{NODE_NAME}}-pdf.yml'
93 description: 'PDF file to use for deployment'
96 default: '{idf}/${{NODE_NAME}}-idf.yml'
97 description: 'IDF file to use for deployment'
100 default: 'https://gerrit.nordix.org/infra/test.git'
101 description: 'URL to clone the test repo from'
105 description: 'Test framework to use'
109 description: 'Test suite to run'
111 name: YARDSTICK_DISPATCHER
112 default: '{yardstick-dispatcher}'
113 description: 'Dispatcher to use for Yardstick reporting'
126 - fix-workspace-permissions
129 - description-setter:
130 description: $PROVISIONER_TYPE | $INSTALLER_TYPE | $DEPLOY_SCENARIO
131 - 'download-artifact-macro'
133 name: "Offline Deployment on {type}"
134 condition: SUCCESSFUL
135 execution-type: PARALLEL
137 - name: 'kubernetes-{environment-type}-deploy-{distro}-{type}-periodic'
138 current-parameters: true
139 node-parameters: true
140 kill-phase-on: FAILURE
146 - name: 'kubernetes-{environment-type}-functest-{distro}-{type}-periodic'
147 current-parameters: true
148 node-parameters: true
149 kill-phase-on: FAILURE
155 - name: 'kubernetes-{environment-type}-yardstick-{distro}-{type}-periodic'
156 current-parameters: true
157 node-parameters: true
158 kill-phase-on: FAILURE
162 name: 'kubernetes-{environment-type}-{phase}-{distro}-{type}-periodic'
164 disabled: '{obj:disabled}'
175 # timeout: '{build-timeout}'
177 - fix-workspace-permissions