mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Disable flakey git diff checks.
This commit is contained in:
@@ -14,7 +14,9 @@ for i in $(find . -name go.mod -not -path "./hack/*"); do
|
||||
popd
|
||||
done
|
||||
|
||||
# verify no changes to go.mods -- these should be part of the PR
|
||||
find . -name go.sum | xargs git checkout --
|
||||
git add .
|
||||
git diff-index HEAD --exit-code
|
||||
# Need better check. This is repeated git diff check
|
||||
# more pain than benefit for most people 25Apr2020
|
||||
## verify no changes to go.mods -- these should be part of the PR
|
||||
# find . -name go.sum | xargs git checkout --
|
||||
# git add .
|
||||
# git diff-index HEAD --exit-code
|
||||
|
||||
@@ -26,9 +26,11 @@ for target in $targets; do
|
||||
popd
|
||||
done
|
||||
|
||||
# make sure no files were generated or changed by make
|
||||
# ignore changes to go.mod and go.sum -- they are too flaky
|
||||
find . -name go.mod | xargs git checkout --
|
||||
find . -name go.sum | xargs git checkout --
|
||||
git add .
|
||||
git diff-index HEAD --exit-code
|
||||
# Need better check. This is repeated git diff check
|
||||
# more pain than benefit for most people 25Apr2020
|
||||
## make sure no files were generated or changed by make
|
||||
## ignore changes to go.mod and go.sum -- they are too flaky
|
||||
# find . -name go.mod | xargs git checkout --
|
||||
# find . -name go.sum | xargs git checkout --
|
||||
# git add .
|
||||
# git diff-index HEAD --exit-code
|
||||
|
||||
Reference in New Issue
Block a user