Update cri-tools and build critest into release tarball again.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2018-03-20 21:26:05 +00:00
parent 013ab03a53
commit 36768a1920
4 changed files with 14 additions and 7 deletions

View File

@@ -37,6 +37,13 @@ GOPATH=${GOPATH%%:*}
CRITEST=${GOPATH}/bin/critest
GINKGO_PKG=github.com/onsi/ginkgo/ginkgo
# Install ginkgo
if [ ! -x "$(command -v ginkgo)" ]; then
go get -u ${GINKGO_PKG}
fi
# Install critest
if [ ! -x "$(command -v ${CRITEST})" ]; then
go get -d ${CRITOOL_PKG}/...
@@ -51,7 +58,7 @@ mkdir -p ${REPORT_DIR}
test_setup ${REPORT_DIR}
# Run cri validation test
sudo env PATH=${PATH} GOPATH=${GOPATH} ${CRITEST} --runtime-endpoint=${CONTAINERD_SOCK} --focus="${FOCUS}" --ginkgo-flags="--skip=\"${SKIP}\" --nodes=8" validation
sudo env PATH=${PATH} GOPATH=${GOPATH} ${CRITEST} --runtime-endpoint=${CONTAINERD_SOCK} --ginkgo.focus="${FOCUS}" --ginkgo.skip="${SKIP}" --parallel=8
test_exit_code=$?
test_teardown