Misc edits to disable jobs hung on unresponsive nodes.
jjb/voltha-test/voltha-certification.yaml
jjb/voltha-test/voltha-certification/voltha-2.11.yaml
jjb/voltha-test/voltha-certification/voltha-2.12.yaml
jjb/voltha-test/voltha-certification/voltha-2.8.yaml
-----------------------------------------------------
o Disable more menlo-certification jobs since cluster is offline.
o Refactor altered 1600g jobs into configs named for branch/release.
requirements.txt
----------------
o Added versioned urllib3 module so sphinx + python v3.6 will not barf.
Makefile
makefiles/lint/include.mk
makefiles/lint/doc8/include.mk
------------------------------
o More updates from repo:onf-make, added library target lint-doc8.
makefiles/jjb/targets.mk
------------------------
o build target - added a dependency on activate script so virtualenv
will install on demand. Worked by coincidence earlier, make lint
also depends on venv.
jjb/voltha-e2e.yaml
-------------------
o Purge lingering comments from joba-into-versioned-configs refactoring.
o No fallout reported when configs were changed earlier.
Change-Id: I2571feb883a2049feb0781fc2464b875e3af325e
diff --git a/makefiles/lint/doc8/include.mk b/makefiles/lint/doc8/include.mk
index 6490b89..4764fa2 100644
--- a/makefiles/lint/doc8/include.mk
+++ b/makefiles/lint/doc8/include.mk
@@ -20,8 +20,14 @@
##-------------------##
.PHONY: lint-doc8 lint-doc8-all lint-doc8-modified
-have-rst-files := $(if $(strip $(RST_SOURCE)),true)
-RST_SOURCE ?= $(error RST_SOURCE= is required)
+have-doc8-files := $(if $(strip $(DOC8_SOURCE)),true)
+DOC8_SOURCE ?= $(error DOC8_SOURCE= is required)
+
+##--------------------##
+##---] INCLUDES [---##
+##--------------------##
+# include $(ONF_MAKEDIR)/lint/doc8/help.mk
+include $(ONF_MAKEDIR)/lint/doc8/install.mk
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
@@ -36,23 +42,14 @@
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
-include $(ONF_MAKEDIR)/lint/doc8/excl.mk
+lint-doc8-excl := $(foreach dir,$(onf-excl-dirs),--ignore-path "$(dir)")
+lint-doc8: lint-doc8-cmd-version
-ifdef lint-doc8-excl
- lint-doc8-excl-args += $(addprefix --ignore-path$(space),$(lint-doc8-excl))
-endif
-lint-doc8-excl-args += $(addprefix --ignore-path$(space),$(lint-doc8-excl-raw))
-
-lint-doc8-args += --max-line-length 120
-
-lint-doc8: $(venv-activate-script)
- @echo
- @echo '** -----------------------------------------------------------------------'
- @echo '** doc8 *.rst syntax checking'
- @echo '** -----------------------------------------------------------------------'
+ $(call banner-enter,Target $@)
$(activate) && doc8 --version
@echo
- $(activate) && doc8 $(lint-doc8-excl-args) $(lint-doc8-args) .
+ $(activate) && doc8 $(lint-doc8-excl)
+ $(call banner-enter,Target $@)
## -----------------------------------------------------------------------
## Intent: Display command usage