Chad has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/391712 )

Change subject: Use --jobs in git submodule update jobs
......................................................................

Use --jobs in git submodule update jobs

8 is usually a sane number of jobs to fork out to for submodules.
Limit ourselves to 6 for puppet since there's only 6 submodules
anyway.

Change-Id: Ibc953a9dc673cc674ecead22aca0b47c5cb50633
---
M dockerfiles/ci-src-setup-simple/run.sh
M dockerfiles/operations-puppet/run.sh
M dockerfiles/tox/run.sh
3 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/12/391712/1

diff --git a/dockerfiles/ci-src-setup-simple/run.sh 
b/dockerfiles/ci-src-setup-simple/run.sh
index bdeba52..21e6982 100644
--- a/dockerfiles/ci-src-setup-simple/run.sh
+++ b/dockerfiles/ci-src-setup-simple/run.sh
@@ -9,4 +9,4 @@
 git init
 git fetch --quiet --depth 1 "${ZUUL_URL}/${ZUUL_PROJECT}" "$ZUUL_REF"
 git checkout FETCH_HEAD
-git submodule --quiet update --init --recursive
+git submodule --quiet update --jobs 8 --init --recursive
diff --git a/dockerfiles/operations-puppet/run.sh 
b/dockerfiles/operations-puppet/run.sh
index 14d8ce0..d53b0de 100755
--- a/dockerfiles/operations-puppet/run.sh
+++ b/dockerfiles/operations-puppet/run.sh
@@ -22,7 +22,7 @@
 git pull --quiet zuul production
 git fetch --quiet zuul "$ZUUL_REF"
 git checkout --quiet FETCH_HEAD
-git submodule --quiet update --init --recursive
+git submodule --quiet update --jobs 6 --init --recursive
 
 # Update bundle if gemfile changed
 if git diff --name-only docker-head Gemfile | grep -q 'Gemfile'; then
diff --git a/dockerfiles/tox/run.sh b/dockerfiles/tox/run.sh
index 2c71477..27884bb 100755
--- a/dockerfiles/tox/run.sh
+++ b/dockerfiles/tox/run.sh
@@ -19,7 +19,7 @@
 git init
 git fetch --depth 2 --quiet "${ZUUL_URL}/${ZUUL_PROJECT}" "$ZUUL_REF"
 git checkout --quiet FETCH_HEAD
-git submodule --quiet update --init --recursive
+git submodule --quiet update --jobs 8 --init --recursive
 
 trap capture_tox_logs EXIT
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc953a9dc673cc674ecead22aca0b47c5cb50633
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Chad <ch...@wikimedia.org>

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

Reply via email to