From 7b07e13fba8c1ec7222ee3354744af12f06eb87d Mon Sep 17 00:00:00 2001 From: Penny Zheng Date: Sun, 2 Feb 2020 16:29:35 +0800 Subject: [PATCH] yq: failed traversing anchors in version.yaml The latest yq might not "resolve" the anchor, if it refers to an scalar (string, integer etc). But it's fine with the collections (sequences, mappings). Fixes: #2430 Signed-off-by: Penny Zheng --- versions.yaml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/versions.yaml b/versions.yaml index 1a73e95f18..734d992c0f 100644 --- a/versions.yaml +++ b/versions.yaml @@ -125,11 +125,11 @@ assets: s390x: name: "ubuntu" version: "latest" - x86_64: - name: &default-image-name "clearlinux" + x86_64: &default-image + name: "clearlinux" version: "latest" meta: - image-type: *default-image-name + image-type: *default-image initrd: description: | @@ -137,18 +137,12 @@ assets: machine. url: "https://github.com/kata-containers/osbuilder" architecture: - aarch64: - name: &default-initrd-name "alpine" - version: &default-initrd-version "3.7" - ppc64le: - name: *default-initrd-name - version: *default-initrd-version - s390x: - name: *default-initrd-name - version: *default-initrd-version - x86_64: - name: *default-initrd-name - version: *default-initrd-version + aarch64: &default-initrd + name: "alpine" + version: "3.7" + ppc64le: *default-initrd + s390x: *default-initrd + x86_64: *default-initrd kernel: description: "Linux kernel optimised for virtual machines"