summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/platforms.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/platforms.yaml')
-rw-r--r--tests/cloud_tests/platforms.yaml77
1 files changed, 0 insertions, 77 deletions
diff --git a/tests/cloud_tests/platforms.yaml b/tests/cloud_tests/platforms.yaml
deleted file mode 100644
index eaaa0a71..00000000
--- a/tests/cloud_tests/platforms.yaml
+++ /dev/null
@@ -1,77 +0,0 @@
-# ============================= Platform Config ===============================
-default_platform_config:
- # all disabled by default
- enabled: false
- # maximum time to retrieve image
- get_image_timeout: 300
- # maximum time to create instance (before waiting for cloud-init)
- create_instance_timeout: 60
- private_key: cloud_init_rsa
- public_key: cloud_init_rsa.pub
-platforms:
- ec2:
- enabled: true
- instance-type: t2.micro
- tag: cii
- lxd:
- enabled: true
- # overrides for image templates
- template_overrides:
- /var/lib/cloud/seed/nocloud-net/meta-data:
- when:
- - create
- - copy
- template: cloud-init-meta.tpl
- /var/lib/cloud/seed/nocloud-net/network-config:
- when:
- - create
- - copy
- template: cloud-init-network.tpl
- /var/lib/cloud/seed/nocloud-net/user-data:
- when:
- - create
- - copy
- template: cloud-init-user.tpl
- properties:
- default: |
- #cloud-config
- {}
- /var/lib/cloud/seed/nocloud-net/vendor-data:
- when:
- - create
- - copy
- template: cloud-init-vendor.tpl
- properties:
- default: |
- #cloud-config
- {}
- # overrides image template files
- template_files:
- cloud-init-meta.tpl: |
- #cloud-config
- instance-id: {{ container.name }}
- local-hostname: {{ container.name }}
- {{ config_get("user.meta-data", "") }}
- cloud-init-network.tpl: |
- {% if config_get("user.network-config", "") == "" %}version: 1
- config:
- - type: physical
- name: eth0
- subnets:
- - type: {% if config_get("user.network_mode", "") == "link-local" %}manual{% else %}dhcp{% endif %}
- control: auto{% else %}{{ config_get("user.network-config", "") }}{% endif %}
- cloud-init-user.tpl: |
- {{ config_get("user.user-data", properties.default) }}
- cloud-init-vendor.tpl: |
- {{ config_get("user.vendor-data", properties.default) }}
- nocloud-kvm:
- enabled: true
- cache_mode: cache=none,aio=native
- azurecloud:
- enabled: true
- region: West US 2
- vm_size: Standard_DS1_v2
- storage_sku: standard_lrs
- tag: ci
-
-# vi: ts=4 expandtab