diff --git a/.gitignore b/.gitignore index 673e9b5da524..8ea4b9930110 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ tools/vms-generator/vms-generator coverage.html manifests/**/*.tmp bazel-* +.bazelrc diff --git a/hack/dockerized b/hack/dockerized index 482b6f7ab47f..22e6ae9a23a2 100755 --- a/hack/dockerized +++ b/hack/dockerized @@ -13,7 +13,6 @@ SYNC_VENDOR=${SYNC_VENDOR:-false} TEMPFILE=".rsynctemp" -# Reduce verbosity if an automated build BUILDER_EXTRA_ARGS="" if [ -n "${KUBEVIRT_CACHE_FROM}" ]; then BUILDER_EXTRA_ARGS="${BUILDER_EXTRA_ARGS} --cache-from kubevirt/builder-cache:${KUBEVIRT_CACHE_FROM}" @@ -23,6 +22,13 @@ if [ -n "${KUBEVIRT_UPDATE_CACHE_FROM}" ]; then BUILDER_EXTRA_ARGS="${BUILDER_EXTRA_ARGS} -t kubevirt/builder-cache:${KUBEVIRT_UPDATE_CACHE_FROM}" fi +# Be less verbose with bazel +if [ -n "${TRAVIS_JOB_ID}" ]; then + cat >.bazelrc <