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
ed5c7e6b
Unverified
Commit
ed5c7e6b
authored
Apr 12, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76511 from liggitt/fixup-vendor-gopath
stop clearing GOPATH in vendor scripts
parents
ae118294
fb0cea22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
lint-dependencies.sh
hack/lint-dependencies.sh
+0
-2
update-vendor.sh
hack/update-vendor.sh
+0
-2
verify-vendor.sh
hack/verify-vendor.sh
+2
-2
No files found.
hack/lint-dependencies.sh
View file @
ed5c7e6b
...
@@ -23,8 +23,6 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
...
@@ -23,8 +23,6 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
# Explicitly opt into go modules, even though we're inside a GOPATH directory
# Explicitly opt into go modules, even though we're inside a GOPATH directory
export
GO111MODULE
=
on
export
GO111MODULE
=
on
# Explicitly clear GOPATH, to ensure nothing this script calls makes use of that path info
export
GOPATH
=
# Explicitly clear GOFLAGS, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
# Explicitly clear GOFLAGS, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
export
GOFLAGS
=
export
GOFLAGS
=
# Detect problematic GOPROXY settings that prevent lookup of dependencies
# Detect problematic GOPROXY settings that prevent lookup of dependencies
...
...
hack/update-vendor.sh
View file @
ed5c7e6b
...
@@ -23,8 +23,6 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
...
@@ -23,8 +23,6 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
# Explicitly opt into go modules, even though we're inside a GOPATH directory
# Explicitly opt into go modules, even though we're inside a GOPATH directory
export
GO111MODULE
=
on
export
GO111MODULE
=
on
# Explicitly clear GOPATH, to ensure nothing this script calls makes use of that path info
export
GOPATH
=
# Explicitly clear GOFLAGS, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
# Explicitly clear GOFLAGS, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
export
GOFLAGS
=
export
GOFLAGS
=
# Ensure sort order doesn't depend on locale
# Ensure sort order doesn't depend on locale
...
...
hack/verify-vendor.sh
View file @
ed5c7e6b
...
@@ -50,8 +50,8 @@ mkdir -p "${_kubetmp}"
...
@@ -50,8 +50,8 @@ mkdir -p "${_kubetmp}"
git archive
--format
=
tar
--prefix
=
kubernetes/
"
$(
git write-tree
)
"
|
(
cd
"
${
_kubetmp
}
"
&&
tar
xf -
)
git archive
--format
=
tar
--prefix
=
kubernetes/
"
$(
git write-tree
)
"
|
(
cd
"
${
_kubetmp
}
"
&&
tar
xf -
)
_kubetmp
=
"
${
_kubetmp
}
/kubernetes"
_kubetmp
=
"
${
_kubetmp
}
/kubernetes"
# Do all our work
with an unset GOPATH
# Do all our work
in module mode
export
GO
PATH
=
export
GO
111MODULE
=
on
pushd
"
${
_kubetmp
}
"
>
/dev/null 2>&1
pushd
"
${
_kubetmp
}
"
>
/dev/null 2>&1
# Destroy deps in the copy of the kube tree
# Destroy deps in the copy of the kube tree
...
...
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