Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
079abb9e
Unverified
Commit
079abb9e
authored
May 31, 2017
by
Christoph Blecker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exclude dockerized verify patterns
parent
7043372d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
verify.sh
hack/make-rules/verify.sh
+10
-9
No files found.
hack/make-rules/verify.sh
View file @
079abb9e
...
...
@@ -21,19 +21,20 @@ set -o pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
source
"
${
KUBE_ROOT
}
/hack/lib/util.sh"
# Excluded checks are always skipped.
EXCLUDED_CHECKS
=(
"verify-linkcheck.sh"
# runs in separate Jenkins job once per day due to high network usage
"verify-govet.sh"
# it has a separate make vet target
"verify-test-owners.sh"
# TODO(rmmh): figure out how to avoid endless conflicts
# Excluded check patterns are always skipped.
EXCLUDED_PATTERNS
=(
"verify-all.sh"
# this script calls the make rule and would cause a loop
"verify-linkcheck.sh"
# runs in separate Jenkins job once per day due to high network usage
"verify-govet.sh"
# it has a separate make vet target
"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
)
EXCLUDED_CHECKS
=
$(
ls
${
EXCLUDED_PATTERNS
[@]/#/
${
KUBE_ROOT
}
\/hack\/
}
2>/dev/null
||
true
)
function
is-excluded
{
if
[[
$1
-ef
"
$KUBE_ROOT
/hack/verify-all.sh"
]]
;
then
return
fi
for
e
in
${
EXCLUDED_CHECKS
[@]
}
;
do
if
[[
$1
-ef
"
$
KUBE_ROOT
/hack/
$
e
"
]]
;
then
if
[[
$1
-ef
"
$e
"
]]
;
then
return
fi
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment