summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/releases.yaml
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2017-07-11 14:28:11 -0700
committerJoshua Powers <josh.powers@canonical.com>2017-09-14 11:53:55 -0700
commit376168e251a1d4f2ee3643fed6092b8907f057ec (patch)
treef49b6f01b46bb7c84d54c42d7b6da6ebf1a30e97 /tests/cloud_tests/releases.yaml
parent29a9296cd68516e76d0bd8da320754a222c4ee45 (diff)
downloadvyos-cloud-init-376168e251a1d4f2ee3643fed6092b8907f057ec.tar.gz
vyos-cloud-init-376168e251a1d4f2ee3643fed6092b8907f057ec.zip
tests: Enable the NoCloud KVM platform
The NoCloud KVM platform includes: * Downloads daily Ubuntu images using streams and store in /srv/images * Image customization, if required, is done using mount-image-callback otherwise image is untouched * Launches KVM via the xkvm script, a wrapper around qemu-system, and sets custom port for SSH * Generation and inject an SSH (RSA 4096) key pair to use for communication with the guest to collect test artifacts * Add method to produce safe shell strings by base64 encoding the command Additional Changes: * Set default backend to use LXD * Verify not running script as root in order to prevent images from becoming owned by root * Removed extra quotes around that were added when collecting the cloud-init version from the image * Added info about each release as previously the lxd backend was able to query that information from pylxd image info, however, other backends will not be able to obtain the same information as easily
Diffstat (limited to 'tests/cloud_tests/releases.yaml')
-rw-r--r--tests/cloud_tests/releases.yaml19
1 files changed, 18 insertions, 1 deletions
diff --git a/tests/cloud_tests/releases.yaml b/tests/cloud_tests/releases.yaml
index c8dd1427..ec7e2d5b 100644
--- a/tests/cloud_tests/releases.yaml
+++ b/tests/cloud_tests/releases.yaml
@@ -27,7 +27,12 @@ default_release_config:
# features groups and additional feature settings
feature_groups: []
features: {}
-
+ nocloud-kvm:
+ mirror_url: https://cloud-images.ubuntu.com/daily
+ mirror_dir: '/srv/citest/nocloud-kvm'
+ keyring: /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg
+ setup_overrides: null
+ override_templates: false
# lxd specific default configuration options
lxd:
# default sstreams server to use for lxd image retrieval
@@ -121,6 +126,9 @@ releases:
# EOL: Jul 2018
default:
enabled: true
+ release: artful
+ version: 17.10
+ family: ubuntu
feature_groups:
- base
- debian_base
@@ -134,6 +142,9 @@ releases:
# EOL: Jan 2018
default:
enabled: true
+ release: zesty
+ version: 17.04
+ family: ubuntu
feature_groups:
- base
- debian_base
@@ -147,6 +158,9 @@ releases:
# EOL: Apr 2021
default:
enabled: true
+ release: xenial
+ version: 16.04
+ family: ubuntu
feature_groups:
- base
- debian_base
@@ -160,6 +174,9 @@ releases:
# EOL: Apr 2019
default:
enabled: true
+ release: trusty
+ version: 14.04
+ family: ubuntu
feature_groups:
- base
- debian_base