Add submodule-disable for submodule operations 97/15497/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 23 Apr 2019 17:03:58 +0000 (19:03 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 3 May 2019 13:16:38 +0000 (15:16 +0200)
commit00d1d5eda276c8cf5f03b000bf6df8e9656080e5
tree489b53eaf2217a9a9e08d29612e4ec98e1599b35
parent29fc3d4f88893535afb20d81c09d4c6d70775a61
Add submodule-disable for submodule operations

Some Akraino projects using git scm have a large number of submodules
which are not required during most CI/CD operations (e.g. we don't
want to fetch GBs of 3rd party repositories when linting the code).

Add submodule-disable parameter for both lf-infra-gerrit-scm
and lf-infra-github-scm, allowing us to disable submodule fetching
where needed.

Jenkins git plugin support for this was added in [1].

This change is very similar and mostly based on the addition of the
submodule-timeout parameter in commit 9fdb611f1.

[1] https://issues.jenkins-ci.org/browse/JENKINS-6658

Change-Id: Ia99ba7f353a39e55d7bec57778f447f94402b5e6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
18 files changed:
docs/jjb/lf-c-cpp-jobs.rst
docs/jjb/lf-ci-jobs.rst
docs/jjb/lf-macros.rst
docs/jjb/lf-maven-jobs.rst
docs/jjb/lf-node-jobs.rst
docs/jjb/lf-python-jobs.rst
docs/jjb/lf-rtd-jobs.rst
docs/jjb/lf-whitesource-jobs.rst
jjb/lf-c-cpp-jobs.yaml
jjb/lf-ci-jobs.yaml
jjb/lf-info-vote.yaml
jjb/lf-macros.yaml
jjb/lf-maven-jobs.yaml
jjb/lf-node-jobs.yaml
jjb/lf-python-jobs.yaml
jjb/lf-rtd-jobs.yaml
jjb/lf-whitesource-jobs.yaml
releasenotes/notes/submodule-disable-007e41e593d9b11c.yaml [new file with mode: 0644]