From: Cristina Pauna Date: Fri, 3 May 2019 06:55:22 +0000 (+0300) Subject: tox: Disable pip cache for coala venv X-Git-Tag: 2.0.0~92 X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=validation.git;a=commitdiff_plain;h=5e2b08883ede7ff19b9472bbaf48a73c083d5791 tox: Disable pip cache for coala venv JIRA: VAL-10 The Jenkins verify jobs report success even when there are failures, because it doens't find the coala bears to run. Ported https://gerrit.akraino.org/r/#/c/607/ to fix the issue Also fixed the tox issues introduced by 537 as they are casuing the verify job to fail: - conformance/sonobuoy.yaml is whitelisted as per Miguel's request Change-Id: I497121b8bbd08cf43e7d7b25470f9814ca1d9227 Signed-off-by: Cristina Pauna --- diff --git a/.coafile b/.coafile index e7f59d0..37ab105 100644 --- a/.coafile +++ b/.coafile @@ -33,6 +33,7 @@ bears = YAMLLintBear files = **.yaml, **.yml use_spaces = true max_line_length = 120 +ignore = conformance/sonobuoy.yaml [all.Python] bears = PyLintBear diff --git a/e2e/e2e.sh b/e2e/e2e.sh index f1b9284..5d7c186 100644 --- a/e2e/e2e.sh +++ b/e2e/e2e.sh @@ -18,7 +18,7 @@ #!/bin/bash # echo "`date +%H:%M:%S` : Starting Kubetest build" -cd /root/go/src/k8s.io/kubernetes +cd /root/go/src/k8s.io/kubernetes || exit pwd kubetest --build echo "Build completed" diff --git a/tox.ini b/tox.ini index 363a381..4b2533c 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,7 @@ commands = [testenv:coala] basepython = python3 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY +install_command = python -m pip install --no-cache-dir {opts} {packages} deps = coala coala-bears