From 1c8a0f202a9cec579266a8fed17a86165539b8c8 Mon Sep 17 00:00:00 2001 From: Vignesh Goutham Ganesh Date: Tue, 11 Jan 2022 18:36:56 -0800 Subject: [PATCH 01/18] Add goss validations for EKS-D artifacts Signed-off-by: Vignesh Goutham Ganesh --- images/capi/packer/goss/goss-command.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/capi/packer/goss/goss-command.yaml b/images/capi/packer/goss/goss-command.yaml index 189b5a4cc..1ab83545e 100644 --- a/images/capi/packer/goss/goss-command.yaml +++ b/images/capi/packer/goss/goss-command.yaml @@ -38,7 +38,7 @@ command: {{end}} {{if and (eq .Vars.kubernetes_source_type "http") (eq .Vars.kubernetes_cni_source_type "http") (not .Vars.kubernetes_load_additional_imgs)}} # The second last pipe of awk is to take out arch from kube-apiserver-amd64 (i.e. amd64 or any other arch) - crictl images | grep -v 'IMAGE ID' | awk -F'[ /]' '{print $2}' | sed 's/-{{ .Vars.arch }}//g' | sort: + crictl images | grep -v 'IMAGE ID' | awk -F'[ /]' '{print $4}' | sed 's/-{{ .Vars.arch }}//g' | sort: exit-status: 0 stderr: [] timeout: 0 @@ -46,7 +46,7 @@ command: {{end}} {{if and (eq .Vars.kubernetes_source_type "http") (eq .Vars.kubernetes_cni_source_type "http") (.Vars.kubernetes_load_additional_imgs)}} # The second last pipe of awk is to take out arch from kube-apiserver-amd64 (i.e. amd64 or any other arch) - crictl images | grep -v 'IMAGE ID' | awk -F'[ /]' '{print $2}' | sed 's/-{{ .Vars.arch }}//g' | sort: + crictl images | grep -v 'IMAGE ID' | awk -F'[ /]' '{print $4}' | sed 's/-{{ .Vars.arch }}//g' | sort: exit-status: 0 stderr: [] timeout: 0 -- 2.39.1