Merge pull request #71921 from cblecker/split-godep

Provide option to split godeps tests from main verify job
pull/564/head
Kubernetes Prow Robot 2018-12-14 03:26:37 -08:00 committed by GitHub
commit c172d61ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 1 deletions

View File

@ -30,9 +30,25 @@ EXCLUDED_PATTERNS=(
"verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage "verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage
"verify-test-owners.sh" # TODO(rmmh): figure out how to avoid endless conflicts "verify-test-owners.sh" # TODO(rmmh): figure out how to avoid endless conflicts
"verify-*-dockerized.sh" # Don't run any scripts that intended to be run dockerized "verify-*-dockerized.sh" # Don't run any scripts that intended to be run dockerized
"verify-typecheck.sh" # runs in separate typecheck job
) )
# Exclude typecheck in certain cases, if they're running in a separate job.
if [[ ${EXCLUDE_TYPECHECK:-} =~ ^[yY]$ ]]; then
EXCLUDED_PATTERNS+=(
"verify-typecheck.sh" # runs in separate typecheck job
)
fi
# Exclude godep checks in certain cases, if they're running in a separate job.
if [[ ${EXCLUDE_GODEP:-} =~ ^[yY]$ ]]; then
EXCLUDED_PATTERNS+=(
"verify-godeps.sh" # runs in separate godeps job
"verify-staging-godeps.sh" # runs in separate godeps job
"verify-godep-licenses.sh" # runs in separate godeps job
)
fi
# Only run whitelisted fast checks in quick mode. # Only run whitelisted fast checks in quick mode.
# These run in <10s each on enisoc's workstation, assuming that # These run in <10s each on enisoc's workstation, assuming that
# `make` and `hack/godep-restore.sh` had already been run. # `make` and `hack/godep-restore.sh` had already been run.