Run test-go-mod unpinned (#5011)

* Remove go module ci job

* Add script that runs go mod tidy with replace statements

* Invoke one script from the makefile and pass in the command to run in the pinned context

---------

Co-authored-by: Anna Song <annasong@google.com>
This commit is contained in:
Katrina Verey
2023-01-31 12:56:48 -05:00
committed by GitHub
parent 00b0bd8473
commit d91e31cf18
2 changed files with 51 additions and 1 deletions

View File

@@ -152,7 +152,7 @@ functions-examples-all:
done
test-go-mod:
./hack/for-each-module.sh "go list -m -json all > /dev/null && go mod tidy -v"
./hack/for-each-module.sh "\$$KUSTOMIZE_ROOT/hack/with-unpinned-kust-dev.sh 'go mod tidy -v'"
.PHONY:
verify-kustomize-e2e: $(MYGOBIN)/mdrip $(MYGOBIN)/kind