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'
99 description: 'CI loop type'
112 - fix-workspace-permissions
115 - description-setter:
116 description: $DEPLOY_SCENARIO | $PROVISIONER_TYPE | $INSTALLER_TYPE
117 - 'download-artifact-macro'
119 name: "Offline Deployment on {type}"
120 condition: SUCCESSFUL
121 execution-type: PARALLEL
123 - name: 'kubernetes-{environment-type}-deploy-{distro}-{type}-periodic'
124 current-parameters: true
125 node-parameters: true
126 kill-phase-on: FAILURE
132 - name: 'kubernetes-{environment-type}-functest-{distro}-{type}-periodic'
133 current-parameters: true
134 node-parameters: true
135 kill-phase-on: FAILURE
141 - name: 'kubernetes-{environment-type}-yardstick-{distro}-{type}-periodic'
142 current-parameters: true
143 node-parameters: true
144 kill-phase-on: FAILURE
148 name: 'kubernetes-{environment-type}-{phase}-{distro}-{type}-periodic'
150 disabled: '{obj:disabled}'
155 default: 'https://gerrit.nordix.org/infra/test.git'
156 description: 'URL to clone the test repo from'
160 description: 'Test framework to use'
164 description: 'Test suite to run'
166 name: YARDSTICK_DISPATCHER
167 default: '{yardstick-dispatcher}'
168 description: 'Dispatcher to use for Yardstick reporting'
179 timeout: '{build-timeout}'
181 - fix-workspace-permissions
184 - description-setter:
185 description: $DEPLOY_SCENARIO | $PROVISIONER_TYPE | $INSTALLER_TYPE