From: Alexandru Avadanii Date: Thu, 18 Apr 2019 13:01:22 +0000 (+0200) Subject: [iec] deploy: Disable git submodule cloning X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=b74e503f0aa7a55c9554707f8ddf76ef4b3d1157;p=ci-management.git [iec] deploy: Disable git submodule cloning IEC deploy jobs do not require cloning git submodules, which got pretty heavy (more than 1GB), so at least for these jobs, disable git submodules via JJB scm configuration. Since `lf-infra-gerrit-scm` macro from lf-macros does not allow configuration of submodule.disable, stop using said wrapper macro. Change-Id: If6b41bf213a3cea095fabc03f8efbd3bda7d1723 Signed-off-by: Alexandru Avadanii --- diff --git a/jjb/iec/iec.yaml b/jjb/iec/iec.yaml index 6594ec5..391cdfa 100644 --- a/jjb/iec/iec.yaml +++ b/jjb/iec/iec.yaml @@ -130,13 +130,18 @@ name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO' scm: - - lf-infra-gerrit-scm: - jenkins-ssh-credential: '{jenkins-ssh-credential}' - git-url: '{git-url}/{project}.git' + - git: + credentials-id: '{jenkins-ssh-credential}' + url: '{git-url}/{project}.git' refspec: '' - branch: '{branch}' - submodule-recursive: false - submodule-timeout: '{submodule-timeout}' + branches: + - 'refs/heads/{branch}' + skip-tag: true + wipe-workspace: true + submodule: + disable: true + recursive: false + timeout: '{submodule-timeout}' choosing-strategy: default builders: