don't run generated_files when generating specsummaries.json

This commit is contained in:
Benjamin Elder 2021-02-27 23:58:21 -08:00
parent ed09168e8a
commit 025e6de3eb

View File

@ -23,7 +23,10 @@ KUBE_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. && pwd -P)
cd "${KUBE_ROOT}" cd "${KUBE_ROOT}"
# build ginkgo and e2e.test # build ginkgo and e2e.test
make WHAT='vendor/github.com/onsi/ginkgo/ginkgo test/e2e/e2e.test' # NOTE: we do *not* use `make WHAT=...` because we do *not* want to be running
# make generated_files when diffing things (see: hack/verify-conformance-yaml.sh)
# other update/verify already handle the generated files
hack/make-rules/build.sh vendor/github.com/onsi/ginkgo/ginkgo test/e2e/e2e.test
# dump spec # dump spec
./_output/bin/ginkgo --dryRun=true --focus='[Conformance]' ./_output/bin/e2e.test -- --spec-dump "${KUBE_ROOT}/_output/specsummaries.json" > /dev/null ./_output/bin/ginkgo --dryRun=true --focus='[Conformance]' ./_output/bin/e2e.test -- --spec-dump "${KUBE_ROOT}/_output/specsummaries.json" > /dev/null