Cleanup unittests for test_attacker_baremetal
[yardstick.git] / ansible / roles / build_yardstick_image / vars / main.yml
1 # Copyright (c) 2018 Intel Corporation.\r
2 #\r
3 # Licensed under the Apache License, Version 2.0 (the "License");\r
4 # you may not use this file except in compliance with the License.\r
5 # You may obtain a copy of the License at\r
6 #\r
7 #      http://www.apache.org/licenses/LICENSE-2.0\r
8 #\r
9 # Unless required by applicable law or agreed to in writing, software\r
10 # distributed under the License is distributed on an "AS IS" BASIS,\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
12 # See the License for the specific language governing permissions and\r
13 # limitations under the License.\r
14 ---\r
15 boot_modes:\r
16   'amd64': disk1\r
17   'arm64': uefi1\r
18 boot_mode: "{{ boot_modes[YARD_IMG_ARCH] }}"\r
19 image_filename: "{{ release }}-server-cloudimg-{{ YARD_IMG_ARCH }}-{{ boot_mode }}.img"\r
20 image_path: "{{ release }}/current/{{ image_filename }}"\r
21 host: "{{ lookup('env', 'HOST')|default('cloud-images.ubuntu.com', true)}}"\r
22 image_url: "{{ lookup('env', 'IMAGE_URL')|default('https://' ~ host ~ '/' ~ image_path, true) }}"\r
23 image_dest: "{{ workspace }}/{{ image_filename }}"\r
24 sha256sums_path: "{{ release }}/current/SHA256SUMS"\r
25 sha256sums_filename: "{{ sha256sums_path|basename }}"\r
26 sha256sums_url: "{{ lookup('env', 'SHA256SUMS_URL')|default('https://' ~ host ~ '/' ~ sha256sums_path, true) }}"\r
27 workspace: "{{ lookup('env', 'workspace')|default('/tmp/workspace/yardstick', true) }}"\r
28 raw_imgfile_basename: "yardstick-{{ release }}-server.raw"\r
29 growpart_package:\r
30   RedHat: cloud-utils-growpart\r
31   Debian: cloud-guest-utils\r