Update gitignore and some verify scripts for new e2e code

This commit is contained in:
Peter Rifel 2020-10-08 17:54:03 -05:00
parent f0295a3cb7
commit edd3258c0a
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
4 changed files with 6 additions and 1 deletions

3
.gitignore vendored
View File

@ -99,3 +99,6 @@ _output
# Used to cache terraform providers etc during testing
.cache/
# Used by E2E testing
_artifacts

View File

@ -29,6 +29,7 @@ GOBIN="${TMP_OUT}" go install ./vendor/github.com/bazelbuild/bazel-gazelle/cmd/g
"${TMP_OUT}/gazelle" fix \
-external=vendored \
-exclude=tests/e2e \
-mode=fix \
-proto=disable \
-repo_root="${KOPS_ROOT}"

View File

@ -24,6 +24,7 @@ GOBIN="${TMP_OUT}" go install ./vendor/github.com/bazelbuild/bazel-gazelle/cmd/g
gazelle_diff=$("${TMP_OUT}/gazelle" fix \
-external=vendored \
-exclude=tests/e2e \
-mode=diff \
-proto=disable \
-repo_root="${KOPS_ROOT}")

View File

@ -79,7 +79,7 @@ while IFS='' read -r line; do
all_packages+=("./$line")
done < <( find -H . -type f -name \*.go | sed 's|/[^/]*$||' | sed 's|^./||' | LC_ALL=C sort -u |
grep "^${FOCUS:-.}" |
grep -vE "(third_party|generated|clientset_generated|vendor|/_)" |
grep -vE "(third_party|generated|clientset_generated|vendor|/_|tests/e2e)" | # Temporarily ignoring tests/e2e because it is a separate go module
grep -vE "$ignore_pattern" )
failing_packages=()