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
ad3e18d6
Commit
ad3e18d6
authored
Mar 10, 2016
by
Eric Paris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop pinning to version v53
parent
5543e2e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
15 deletions
+8
-15
development.md
docs/devel/development.md
+0
-11
verify-godeps.sh
hack/verify-godeps.sh
+8
-4
No files found.
docs/devel/development.md
View file @
ad3e18d6
...
@@ -196,17 +196,6 @@ export GOPATH=$HOME/go-tools
...
@@ -196,17 +196,6 @@ export GOPATH=$HOME/go-tools
export
PATH
=
$PATH
:
$GOPATH
/bin
export
PATH
=
$PATH
:
$GOPATH
/bin
```
```
Note:
At this time, godep update in the Kubernetes project only works properly if your
version of godep is < 54.
To check your version of godep:
```
sh
$
godep version
godep v53
(
linux/amd64/go1.5.3
)
```
### Using godep
### Using godep
Here's a quick walkthrough of one way to use godeps to add or update a
Here's a quick walkthrough of one way to use godeps to add or update a
...
...
hack/verify-godeps.sh
View file @
ad3e18d6
...
@@ -70,10 +70,14 @@ cd "${_kubetmp}"
...
@@ -70,10 +70,14 @@ cd "${_kubetmp}"
# Build the godep tool
# Build the godep tool
go get
-u
github.com/tools/godep 2>/dev/null
go get
-u
github.com/tools/godep 2>/dev/null
GODEP
=
"
${
GOPATH
}
/bin/godep"
GODEP
=
"
${
GOPATH
}
/bin/godep"
pushd
"
${
GOPATH
}
/src/github.com/tools/godep"
>
/dev/null
pin-godep
()
{
git checkout v63
pushd
"
${
GOPATH
}
/src/github.com/tools/godep"
>
/dev/null
"
${
GODEP
}
"
go
install
git checkout
"
$1
"
popd
>
/dev/null
"
${
GODEP
}
"
go
install
popd
>
/dev/null
}
# Use to following if we ever need to pin godep to a specific version again
#pin-godep 'v63'
# Fill out that nice clean place with the kube godeps
# Fill out that nice clean place with the kube godeps
echo
"Starting to download all kubernetes godeps. This takes a while"
echo
"Starting to download all kubernetes godeps. This takes a while"
...
...
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