Skip to content

Commit

Permalink
replace cri-tools with alibaba/cri-tools
Browse files Browse the repository at this point in the history
Signed-off-by: Starnop <[email protected]>
  • Loading branch information
starnop committed Sep 11, 2018
1 parent efbddc6 commit 1d3e789
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions hack/install/install_critest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ critest::check_version() {

# critest::install downloads the package and build.
critest::install() {
local workdir pkg
local workdir pkg CRITOOLS_REPO

pkg="github.com/kubernetes-incubator/cri-tools"
pkg="github.com/kubernetes-sigs/cri-tools"
CRITOOLS_REPO="github.com/alibaba/cri-tools"
workdir="${GOPATH}/src/${pkg}"

go get -d "${pkg}"/...
if [ ! -d "${workdir}" ]; then
mkdir -p "${workdir}"
cd "${workdir}/.."
git clone https://${CRITOOLS_REPO} .
fi

cd "${workdir}"
git fetch --all
git checkout "v${CRITEST_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion hack/testing/run_daemon_cri_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ integration::run_daemon_cri_test_e2e_cases() {
KUBERNETES_PATH="${GOPATH}/src/k8s.io/kubernetes"
if [ ! -d "${KUBERNETES_PATH}" ]; then
mkdir -p "${KUBERNETES_PATH}"
cd "${KUBERNETES_PATH}"
cd "${KUBERNETES_PATH}/.."
git clone https://${KUBERNETES_REPO} .
fi
cd "${KUBERNETES_PATH}"
Expand Down

0 comments on commit 1d3e789

Please sign in to comment.