Closed EleanorRigby closed 4 years ago
Helps support GOSS feature for templating with env variables https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#templates
Available variables: {{.Env}} - Containing environment variables
Also, I believe it is important to be able to modify the execution shell for any future debug/log options too.
Results from a run
amazon-2: Env variables are OS="amazon linux" ARCH="amd64" PROVIDER="amazon" amazon-2: Uploading Dir packer/goss amazon-2: Creating directory: /tmp/goss/goss ==> amazon-2: ==> amazon-2: ==> amazon-2: ==> amazon-2: Running goss tests... amazon-2: Command : cd /tmp/goss && sudo ARCH="amd64" PROVIDER="amazon" OS="amazon linux" /tmp/goss-0.3.13-linux-amd64 --gossfile goss/goss.yaml --vars /tmp/goss/goss-vars.yaml --vars-inline '{"containerd_version":"1.3.4","kubernetes_cni_source_type":"pkg","kubernetes_cni_version":"0.8.6","kubernetes_source_type":"pkg","kubernetes_version":"1.16.11"}' validate --retry-timeout 0s --sleep 1s -f json -o pretty amazon-2: {
cc: @codenrhoden
@fishnix : Can you review this PR? I think it is ready to merge.
Helps support GOSS feature for templating with env variables https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#templates
Also, I believe it is important to be able to modify the execution shell for any future debug/log options too.
Results from a run