From c2da722df5e39b5397050894605758ef9291d5a5 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Thu, 18 Jun 2020 18:54:15 -0700 Subject: [PATCH] time some things --- hack/ci/e2e-k8s.sh | 6 +++--- hack/ci/e2e.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hack/ci/e2e-k8s.sh b/hack/ci/e2e-k8s.sh index a502b50c09..08ec2ea581 100755 --- a/hack/ci/e2e-k8s.sh +++ b/hack/ci/e2e-k8s.sh @@ -250,7 +250,7 @@ main() { # build #fi echo "WARNING: building without bazel due to CI breakage / ignoring BUILD_TYPE" - build + time build # in CI attempt to release some memory after building if [ -n "${KUBETEST_IN_DOCKER:-}" ]; then @@ -260,8 +260,8 @@ main() { # create the cluster and run tests res=0 - create_cluster || res=$? - run_tests || res=$? + time create_cluster || res=$? + time run_tests || res=$? cleanup || res=$? exit $res } diff --git a/hack/ci/e2e.sh b/hack/ci/e2e.sh index 5a25b9def5..78899cc059 100755 --- a/hack/ci/e2e.sh +++ b/hack/ci/e2e.sh @@ -40,7 +40,7 @@ main() { trap cleanup INT TERM EXIT # install kind - install_kind + time install_kind # build kubernetes / e2e test "${REPO_ROOT}/hack/ci/e2e-k8s.sh"