github.com/openshift/installer@v1.4.17/hack/verify-codegen.sh (about) 1 #!/bin/sh 2 3 if [ "$IS_CONTAINER" != "" ]; then 4 set -xe 5 go generate ./pkg/types/installconfig.go 6 set +ex 7 git diff --exit-code 8 else 9 podman run --rm \ 10 --env IS_CONTAINER=TRUE \ 11 --volume "${PWD}:/go/src/github.com/openshift/installer:z" \ 12 --workdir /go/src/github.com/openshift/installer \ 13 docker.io/golang:1.22 \ 14 ./hack/verify-codegen.sh "${@}" 15 fi