Update critools and run critest in parallel.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2018-02-21 22:31:11 +00:00
parent 454f583d49
commit fd32f5b8a5
3 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ ${sudo} make install -e DESTDIR=${RUNC_DIR}
if ${INSTALL_CNI}; then if ${INSTALL_CNI}; then
checkout_repo ${CNI_PKG} ${CNI_VERSION} ${CNI_REPO} checkout_repo ${CNI_PKG} ${CNI_VERSION} ${CNI_REPO}
cd ${GOPATH}/src/${CNI_PKG} cd ${GOPATH}/src/${CNI_PKG}
./build.sh FASTBUILD=true ./build.sh
${sudo} mkdir -p ${CNI_DIR} ${sudo} mkdir -p ${CNI_DIR}
${sudo} cp -r ./bin ${CNI_DIR} ${sudo} cp -r ./bin ${CNI_DIR}
${sudo} mkdir -p ${CNI_CONFIG_DIR} ${sudo} mkdir -p ${CNI_CONFIG_DIR}

View File

@ -52,7 +52,7 @@ mkdir -p ${REPORT_DIR}
test_setup ${REPORT_DIR} test_setup ${REPORT_DIR}
# Run cri validation test # Run cri validation test
sudo env PATH=${PATH} GOPATH=${GOPATH} ${CRITEST} --runtime-endpoint=${CRICONTAINERD_SOCK} --focus="${FOCUS}" --ginkgo-flags="--skip=\"${SKIP}\"" validation sudo env PATH=${PATH} GOPATH=${GOPATH} ${CRITEST} --runtime-endpoint=${CRICONTAINERD_SOCK} --focus="${FOCUS}" --ginkgo-flags="--skip=\"${SKIP}\" --nodes=8" validation
test_exit_code=$? test_exit_code=$?
test_teardown test_teardown

View File

@ -17,7 +17,7 @@
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/.. ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
# Not from vendor.conf. # Not from vendor.conf.
CRITOOL_VERSION=c87ea764cecbcbabbb51c5bdd10ea317181fdd62 CRITOOL_VERSION=8ec2cbda446377cab11a5ef8ef92e115aa628a91
CRITOOL_REPO=github.com/kubernetes-incubator/cri-tools CRITOOL_REPO=github.com/kubernetes-incubator/cri-tools
# upload_logs_to_gcs uploads test logs to gcs. # upload_logs_to_gcs uploads test logs to gcs.