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: 'kubernetes-deploy-test-offline'
23 project: 'kubernetes-deploy-test-offline'
37 pod-name: est-baremetal
38 provisioner-type: bifrost
39 installer-type: kubespray
40 slave-label: baremetal-deploy
41 yardstick-dispatcher: 'file'
46 execution-mode: offline-deployment
47 pdf: 'file:///opt/engine/offline/git/hwconfig/pods'
48 idf: 'file:///opt/engine/offline/git/hwconfig/pods'
59 - '{deploy-scenario}-{environment-type}-{distro}-{type}-periodic'
60 - 'kubernetes-{environment-type}-{phase}-{distro}-{type}-periodic'
63 name: '{deploy-scenario}-{environment-type}-{distro}-{type}-periodic'
65 project-type: multijob
67 disabled: '{obj:disabled}'
74 default: '{slave-label}'
75 description: 'Slave label to schedule this job on.'
77 name: PROVISIONER_TYPE
78 default: '{provisioner-type}'
79 description: 'Provisioner type to use'
82 default: '{installer-type}'
83 description: 'Installer type to use'
86 default: '{deploy-scenario}'
87 description: 'Scenario to deploy and test'
90 default: '{pdf}/${{NODE_NAME}}-pdf.yml'
91 description: 'PDF file to use for deployment'
94 default: '{idf}/${{NODE_NAME}}-idf.yml'
95 description: 'IDF file to use for deployment'
108 - fix-workspace-permissions
111 - description-setter:
112 description: $DEPLOY_SCENARIO | $PROVISIONER_TYPE | $INSTALLER_TYPE
113 - 'download-artifact-macro'
115 name: "Offline Deployment on {type}"
116 condition: SUCCESSFUL
117 execution-type: PARALLEL
119 - name: 'kubernetes-{environment-type}-deploy-{distro}-{type}-periodic'
120 current-parameters: true
121 node-parameters: true
122 kill-phase-on: FAILURE
128 - name: 'kubernetes-{environment-type}-functest-{distro}-{type}-periodic'
129 current-parameters: true
130 node-parameters: true
131 kill-phase-on: FAILURE
137 - name: 'kubernetes-{environment-type}-yardstick-{distro}-{type}-periodic'
138 current-parameters: true
139 node-parameters: true
140 kill-phase-on: FAILURE
144 name: 'kubernetes-{environment-type}-{phase}-{distro}-{type}-periodic'
146 disabled: '{obj:disabled}'
151 default: 'https://gerrit.nordix.org/infra/test.git'
152 description: 'URL to clone the test repo from'
156 description: 'Test framework to use'
160 description: 'Test suite to run'
162 name: YARDSTICK_DISPATCHER
163 default: '{yardstick-dispatcher}'
164 description: 'Dispatcher to use for Yardstick reporting'
175 timeout: '{build-timeout}'
177 - fix-workspace-permissions
180 - description-setter:
181 description: $DEPLOY_SCENARIO | $PROVISIONER_TYPE | $INSTALLER_TYPE