containerd/hack
Ian Campbell f6dd8c9e52 hack/versions: extract most from vendor.conf
This sets `$what_VERSION` and `$what_REPO` for runc, cni, containerd and
kubernetes based on vendor.conf, removing the need to duplicate things in
hack/versions.

With this `update_hack_versions` becomes redundant so remove it and both calls.

Since CONTAINERD_REPO is now unconditionally set we can also simplify the
fetching of vendor.conf in update-vendor.sh a bit, so do so. Further since
`*_REPO` are now unconditionally set we can support alternative clone paths for
all of these repos by adjusting checkout_repo to make the 3rd argument
non-optional and always passing it. Since `CRITOOL_VERSION` is not coming from
`vendor.conf` (since it is not used from Go code) we manually set
`CRITOOL_REPO` for consistency.

The final wrinkle is that `k8s.io/kubernetes` is has a Go specific redirect in
the form of HTML meta headers returned from https://k8s.io/kubernetes/?go-get=1
which point to the real repo to clone. Parsing that in shell is tricky so just
hardcode that.

Fixes #540.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-02-08 13:47:46 +00:00
..
boilerplate enhanced boilerplate checking 2018-01-11 19:59:34 -06:00
cri-reset.sh Update critest. 2018-02-08 03:10:57 +00:00
install-deps.sh hack/versions: extract most from vendor.conf 2018-02-08 13:47:46 +00:00
push.sh Add hack/utils.sh. 2018-01-04 18:22:12 +00:00
release.sh Add hack/utils.sh. 2018-01-04 18:22:12 +00:00
test-cri.sh correct some boilerplates 2017-12-01 16:56:25 -06:00
test-e2e-node.sh hack/versions: extract most from vendor.conf 2018-02-08 13:47:46 +00:00
test-integration.sh Use containerd plugin config. 2018-01-19 02:25:03 +00:00
test-utils.sh Upgrade test framework to talk to containerd sock. 2018-01-18 18:51:18 +00:00
update-proto.sh enhanced boilerplate checking 2018-01-11 19:59:34 -06:00
update-vendor.sh hack/versions: extract most from vendor.conf 2018-02-08 13:47:46 +00:00
utils.sh hack/versions: extract most from vendor.conf 2018-02-08 13:47:46 +00:00
verify-boilerplate.sh Add CRI validation test into presubmit test. 2017-06-28 18:02:14 +00:00
verify-gofmt.sh initial makefile (#7) 2017-04-18 21:17:14 -05:00
verify-lint.sh Update containerd to fix long exec issue. 2017-11-30 19:24:14 +00:00
versions hack/versions: extract most from vendor.conf 2018-02-08 13:47:46 +00:00