github.com/openshift/installer@v1.4.17/hack/yaml-lint.sh (about) 1 #!/bin/sh 2 if [ "$IS_CONTAINER" != "" ]; then 3 yamllint . 4 else 5 podman run --rm \ 6 --env IS_CONTAINER=TRUE \ 7 --volume "${PWD}:/workdir:z" \ 8 --entrypoint sh \ 9 quay.io/coreos/yamllint \ 10 ./hack/yaml-lint.sh 11 fi;