summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParide Legovini <paride.legovini@canonical.com>2020-03-18 17:53:54 +0100
committerGitHub <noreply@github.com>2020-03-18 10:53:54 -0600
commita20092e08ab01b807c64fb5dc6a6a0013aaa09ac (patch)
tree348f494b22912a03959483a1dac515599606afd1
parentb9ff0dc950558ecd2a8469eded26bd6ae4082771 (diff)
downloadvyos-cloud-init-a20092e08ab01b807c64fb5dc6a6a0013aaa09ac.tar.gz
vyos-cloud-init-a20092e08ab01b807c64fb5dc6a6a0013aaa09ac.zip
releases.yaml: quote the Ubuntu version numbers (#254)
Quote the Ubuntu version numbers in releases.yaml to make sure they're treated as strings and not as floats.
-rw-r--r--tests/cloud_tests/releases.yaml22
1 files changed, 12 insertions, 10 deletions
diff --git a/tests/cloud_tests/releases.yaml b/tests/cloud_tests/releases.yaml
index 83cacb47..187f3ac3 100644
--- a/tests/cloud_tests/releases.yaml
+++ b/tests/cloud_tests/releases.yaml
@@ -30,8 +30,10 @@ default_release_config:
mirror_url: https://cloud-images.ubuntu.com/daily
mirror_dir: '/srv/citest/images'
keyring: /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg
- # The OS version formatted as Major.Minor is used to compare releases
- version: null # Each release needs to define this, for example 16.04
+ # The OS version formatted as Major.Minor is used to compare releases.
+ # Each release needs to define this, for example "16.04". Quoting is
+ # necessary to ensure the version is treated as a string.
+ version: null
ec2:
# Choose from: [ebs, instance-store]
@@ -136,7 +138,7 @@ releases:
default:
enabled: true
release: focal
- version: 20.04
+ version: "20.04"
os: ubuntu
feature_groups:
- base
@@ -152,7 +154,7 @@ releases:
default:
enabled: true
release: eoan
- version: 19.10
+ version: "19.10"
os: ubuntu
feature_groups:
- base
@@ -168,7 +170,7 @@ releases:
default:
enabled: true
release: disco
- version: 19.04
+ version: "19.04"
os: ubuntu
feature_groups:
- base
@@ -184,7 +186,7 @@ releases:
default:
enabled: true
release: cosmic
- version: 18.10
+ version: "18.10"
os: ubuntu
feature_groups:
- base
@@ -200,7 +202,7 @@ releases:
default:
enabled: true
release: bionic
- version: 18.04
+ version: "18.04"
os: ubuntu
feature_groups:
- base
@@ -216,7 +218,7 @@ releases:
default:
enabled: true
release: artful
- version: 17.10
+ version: "17.10"
os: ubuntu
feature_groups:
- base
@@ -232,7 +234,7 @@ releases:
default:
enabled: true
release: xenial
- version: 16.04
+ version: "16.04"
os: ubuntu
feature_groups:
- base
@@ -248,7 +250,7 @@ releases:
default:
enabled: true
release: trusty
- version: 14.04
+ version: "14.04"
os: ubuntu
feature_groups:
- base