makefiles/include.mk
makefiles/git-submodules.mk
makefiles/lint/jjb.mk
makefiles/virtualenv.mk
---------------------------
o Update lint-venv to depend on venv activate and git submodules.
o Added a named target for git submodule checkout.
jjb/voltha-scale.yaml
---------------------
o Cleanup lint errors -- duplicate v2.11 job declarations.
Change-Id: I3f63a9b6be8d0c754ea3a56488d6d9ad7dc57291
diff --git a/makefiles/git-submodules.mk b/makefiles/git-submodules.mk
index 79809c3..24ad2b0 100644
--- a/makefiles/git-submodules.mk
+++ b/makefiles/git-submodules.mk
@@ -25,10 +25,10 @@
## -----------------------------------------------------------------------
## Intent: Checkout submodules required by ci-management
## -----------------------------------------------------------------------
-submodule-repo := $(null)
-submodule-repo += global-jjb
-submodule-repo += lf-ansible
-submodule-repo += packer
+submodule-repos := $(null)
+submodule-repos += global-jjb
+submodule-repos += lf-ansible
+submodule-repos += packer
submodule-deps := $(null)
submodule-deps += submodules# # named pseudo target
@@ -36,9 +36,14 @@
.PHONY: $(submodule-deps)
$(submodule-deps):
+ @echo
+ @echo "Checkout dependent submodules"
$(GIT) submodule init
$(GIT) submodule update
+# Abstraction: named target for submodule checkout
+checkout-ci-management-sub-modules: $(submodule-repos)
+
## -----------------------------------------------------------------------
## Intent: Revert sandbox to a pristine state.
## -----------------------------------------------------------------------