mirror of https://github.com/kubernetes/kops.git
Update gitignore and some verify scripts for new e2e code
This commit is contained in:
parent
f0295a3cb7
commit
edd3258c0a
|
@ -99,3 +99,6 @@ _output
|
|||
|
||||
# Used to cache terraform providers etc during testing
|
||||
.cache/
|
||||
|
||||
# Used by E2E testing
|
||||
_artifacts
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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}")
|
||||
|
|
|
@ -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=()
|
||||
|
|
Loading…
Reference in New Issue