Skip to content

Commit

Permalink
yq: failed traversing anchors in version.yaml
Browse files Browse the repository at this point in the history
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: kata-containers#2430

Signed-off-by: Penny Zheng <penny.zheng@arm.com>
  • Loading branch information
Pennyzct committed Feb 3, 2020
1 parent a91cb13 commit 7b07e13
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,30 +125,24 @@ 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: |
Root filesystem initrd used to boot the guest virtual
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"
Expand Down

0 comments on commit 7b07e13

Please sign in to comment.