Bulk disable node==qa-test-vm offline + makefile edits
jjb/voltha-test/voltha-release-jobs/voltha-2.11.yaml
jjb/voltha-test/voltha-release-jobs/voltha-2.12.yaml
----------------------------------------------------
o Disable 4 jobs hanging on node==qa-test-vm.
config.mk
makefiles/lint/include.mk
-------------------------
o Refresh from repo:onf-make
o Pull in more lint targets (~doc8).
o Pull in per-repository configs to sync with config makefile v1.5
o See comment at [EOF] for details.
makefiles/virtualenv.mk
-----------------------
o Refresh target logic for pip install -r requirements.txt
o if exists install as a single block not as reliable as multiple statements.
Change-Id: I6199498f672abd8fdc59c20a757190cc897e7a5c
diff --git a/makefiles/virtualenv.mk b/makefiles/virtualenv.mk
index dae1ab8..cf24024 100644
--- a/makefiles/virtualenv.mk
+++ b/makefiles/virtualenv.mk
@@ -15,7 +15,7 @@
# limitations under the License.
# -----------------------------------------------------------------------
# https://gerrit.opencord.org/plugins/gitiles/onf-make
-# ONF.makefile.version = 1.0
+# ONF.makefile.version = 1.2
# -----------------------------------------------------------------------
$(if $(DEBUG),$(warning ENTER))
@@ -51,7 +51,10 @@
virtualenv -p python3 $(venv-name)
$(activate) && python -m pip install --upgrade pip
$(activate) && pip install --upgrade setuptools
- $(activate) && { [[ -r requirements.txt ]] && python -m pip install -r requirements.txt; }
+ $(activate) && [[ -r requirements.txt ]] \
+ && { python -m pip install -r requirements.txt; } \
+ || { /bin/true; }
+
$(activate) && python --version
## -----------------------------------------------------------------------