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
470bda42
Unverified
Commit
470bda42
authored
Apr 04, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76153 from liggitt/update-vendor-cleanup
Update vendor cleanup
parents
1b1b7859
f5ea2344
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
11 additions
and
51 deletions
+11
-51
go.mod
go.mod
+1
-1
update-vendor.sh
hack/update-vendor.sh
+10
-6
go.mod
staging/src/k8s.io/api/go.mod
+0
-2
go.mod
staging/src/k8s.io/apiextensions-apiserver/go.mod
+0
-2
go.mod
staging/src/k8s.io/apimachinery/go.mod
+0
-2
go.mod
staging/src/k8s.io/apiserver/go.mod
+0
-2
go.mod
staging/src/k8s.io/cli-runtime/go.mod
+0
-2
go.mod
staging/src/k8s.io/client-go/go.mod
+0
-2
go.mod
staging/src/k8s.io/cloud-provider/go.mod
+0
-2
go.mod
staging/src/k8s.io/cluster-bootstrap/go.mod
+0
-2
go.mod
staging/src/k8s.io/code-generator/go.mod
+0
-2
go.mod
staging/src/k8s.io/component-base/go.mod
+0
-2
go.mod
staging/src/k8s.io/cri-api/go.mod
+0
-2
go.mod
staging/src/k8s.io/csi-translation-lib/go.mod
+0
-2
go.mod
staging/src/k8s.io/kube-aggregator/go.mod
+0
-2
go.mod
staging/src/k8s.io/kube-controller-manager/go.mod
+0
-2
go.mod
staging/src/k8s.io/kube-proxy/go.mod
+0
-2
go.mod
staging/src/k8s.io/kube-scheduler/go.mod
+0
-2
go.mod
staging/src/k8s.io/kubelet/go.mod
+0
-2
go.mod
staging/src/k8s.io/metrics/go.mod
+0
-2
go.mod
staging/src/k8s.io/node-api/go.mod
+0
-2
go.mod
staging/src/k8s.io/sample-apiserver/go.mod
+0
-2
go.mod
staging/src/k8s.io/sample-cli-plugin/go.mod
+0
-2
go.mod
staging/src/k8s.io/sample-controller/go.mod
+0
-2
No files found.
go.mod
View file @
470bda42
// This is a generated file.
// This is a generated file.
Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
...
...
hack/update-vendor.sh
View file @
470bda42
...
@@ -232,6 +232,14 @@ for repo in $(tsort "${TMP_DIR}/tidy_deps.txt"); do
...
@@ -232,6 +232,14 @@ for repo in $(tsort "${TMP_DIR}/tidy_deps.txt"); do
pushd
"
${
KUBE_ROOT
}
/staging/src/
${
repo
}
"
>
/dev/null 2>&1
pushd
"
${
KUBE_ROOT
}
/staging/src/
${
repo
}
"
>
/dev/null 2>&1
echo
"=== tidying
${
repo
}
"
>>
"
${
LOG_FILE
}
"
echo
"=== tidying
${
repo
}
"
>>
"
${
LOG_FILE
}
"
go mod tidy
>>
"
${
LOG_FILE
}
"
2>&1
go mod tidy
>>
"
${
LOG_FILE
}
"
2>&1
# disallow transitive dependencies on k8s.io/kubernetes
loopback_deps
=
"
$(
go list all 2>/dev/null |
grep
k8s.io/kubernetes/
||
true
)
"
if
[[
!
-z
"
${
loopback_deps
}
"
]]
;
then
kube::log::error
"Disallowed
${
repo
}
-> k8s.io/kubernetes dependencies exist via the following imports:
$(
go mod why
${
loopback_deps
})
"
exit
1
fi
popd
>
/dev/null 2>&1
popd
>
/dev/null 2>&1
done
done
echo
"=== tidying root"
>>
"
${
LOG_FILE
}
"
echo
"=== tidying root"
>>
"
${
LOG_FILE
}
"
...
@@ -241,17 +249,13 @@ go mod tidy >>"${LOG_FILE}" 2>&1
...
@@ -241,17 +249,13 @@ go mod tidy >>"${LOG_FILE}" 2>&1
# Phase 6: add generated comments to go.mod files
# Phase 6: add generated comments to go.mod files
kube::log::status
"go.mod: adding generated comments"
kube::log::status
"go.mod: adding generated comments"
add_generated_comments
"
add_generated_comments
"
// This is a generated file.
// This is a generated file.
Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
"
"
for
repo
in
$(
ls
staging/src/k8s.io |
sort
)
;
do
for
repo
in
$(
ls
staging/src/k8s.io |
sort
)
;
do
pushd
"staging/src/k8s.io/
${
repo
}
"
>
/dev/null 2>&1
pushd
"staging/src/k8s.io/
${
repo
}
"
>
/dev/null 2>&1
add_generated_comments
"
add_generated_comments
"// This is a generated file. Do not edit directly."
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
"
popd
>
/dev/null 2>&1
popd
>
/dev/null 2>&1
done
done
...
...
staging/src/k8s.io/api/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/api
module k8s.io/api
...
...
staging/src/k8s.io/apiextensions-apiserver/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/apiextensions-apiserver
module k8s.io/apiextensions-apiserver
...
...
staging/src/k8s.io/apimachinery/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/apimachinery
module k8s.io/apimachinery
...
...
staging/src/k8s.io/apiserver/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/apiserver
module k8s.io/apiserver
...
...
staging/src/k8s.io/cli-runtime/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/cli-runtime
module k8s.io/cli-runtime
...
...
staging/src/k8s.io/client-go/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/client-go
module k8s.io/client-go
...
...
staging/src/k8s.io/cloud-provider/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/cloud-provider
module k8s.io/cloud-provider
...
...
staging/src/k8s.io/cluster-bootstrap/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/cluster-bootstrap
module k8s.io/cluster-bootstrap
...
...
staging/src/k8s.io/code-generator/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/code-generator
module k8s.io/code-generator
...
...
staging/src/k8s.io/component-base/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/component-base
module k8s.io/component-base
...
...
staging/src/k8s.io/cri-api/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/cri-api
module k8s.io/cri-api
...
...
staging/src/k8s.io/csi-translation-lib/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/csi-translation-lib
module k8s.io/csi-translation-lib
...
...
staging/src/k8s.io/kube-aggregator/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/kube-aggregator
module k8s.io/kube-aggregator
...
...
staging/src/k8s.io/kube-controller-manager/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/kube-controller-manager
module k8s.io/kube-controller-manager
...
...
staging/src/k8s.io/kube-proxy/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/kube-proxy
module k8s.io/kube-proxy
...
...
staging/src/k8s.io/kube-scheduler/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/kube-scheduler
module k8s.io/kube-scheduler
...
...
staging/src/k8s.io/kubelet/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/kubelet
module k8s.io/kubelet
...
...
staging/src/k8s.io/metrics/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/metrics
module k8s.io/metrics
...
...
staging/src/k8s.io/node-api/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/node-api
module k8s.io/node-api
...
...
staging/src/k8s.io/sample-apiserver/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/sample-apiserver
module k8s.io/sample-apiserver
...
...
staging/src/k8s.io/sample-cli-plugin/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/sample-cli-plugin
module k8s.io/sample-cli-plugin
...
...
staging/src/k8s.io/sample-controller/go.mod
View file @
470bda42
// This is a generated file. Do not edit directly.
// This is a generated file. Do not edit directly.
// Run hack/pin-dependency.sh to change pinned dependency versions.
// Run hack/update-vendor.sh to update go.mod files and the vendor directory.
module k8s.io/sample-controller
module k8s.io/sample-controller
...
...
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