Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/84942


Change subject: git-remote-zuul-no-submodules macro
......................................................................

git-remote-zuul-no-submodules macro

Let us fetch from the remote Zuul but skipping any submodule.  This is
specially helpful for linting jobs since we only care about the project
files.

Change-Id: Ie5b9a4f58e470d32e4d4444b73cc0c3dd3a82a8d
---
M macro-scm.yaml
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/42/84942/1

diff --git a/macro-scm.yaml b/macro-scm.yaml
index 53d5150..746f16d 100644
--- a/macro-scm.yaml
+++ b/macro-scm.yaml
@@ -52,3 +52,14 @@
         branches:
          - '$ZUUL_COMMIT'
         refspec: '$ZUUL_REF'
+
+- scm:
+    name: git-remote-zuul-no-submodules
+    scm:
+     - git:
+        url: 'git://integration.wikimedia.org/$ZUUL_PROJECT'
+        reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
+        branches:
+         - '$ZUUL_COMMIT'
+        refspec: '$ZUUL_REF'
+        disable-submodules: true

-- 
To view, visit https://gerrit.wikimedia.org/r/84942
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie5b9a4f58e470d32e4d4444b73cc0c3dd3a82a8d
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to