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
feb73219
Commit
feb73219
authored
Jul 19, 2016
by
Vishnu kannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run godeps twice in validation to include recursive dependencies
Signed-off-by:
Vishnu kannan
<
vishnuk@google.com
>
parent
cdeaef2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
godep-save.sh
hack/godep-save.sh
+3
-0
verify-godeps.sh
hack/verify-godeps.sh
+2
-0
No files found.
hack/godep-save.sh
View file @
feb73219
...
...
@@ -31,4 +31,7 @@ REQUIRED_BINS=(
pushd
"
${
KUBE_ROOT
}
"
>
/dev/null
GO15VENDOREXPERIMENT
=
1
${
GODEP
}
save
"
${
REQUIRED_BINS
[@]
}
"
# A temporary workaround to prevent godep from not including recursive dependencies.
# This can be removed once a restore followed by a save does not drop dependencies.
GO15VENDOREXPERIMENT
=
1
${
GODEP
}
save
"
${
REQUIRED_BINS
[@]
}
"
popd
>
/dev/null
hack/verify-godeps.sh
View file @
feb73219
...
...
@@ -95,6 +95,8 @@ git init > /dev/null 2>&1
# Recreate the Godeps using the nice clean set we just downloaded
hack/godep-save.sh
# Run it again to make godep include recursive dependencies.
hack/godep-save.sh
# Test for diffs
if
!
_out
=
"
$(
diff
-Naupr
--ignore-matching-lines
=
'^\s*\"GoVersion\":'
--ignore-matching-line
=
'^\s*\"GodepVersion\":'
--ignore-matching-lines
=
'^\s*\"Comment\":'
${
KUBE_ROOT
}
/Godeps/Godeps.json
${
_kubetmp
}
/Godeps/Godeps.json
)
"
;
then
...
...
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