jenkins-bot has submitted this change and it was merged.

Change subject: multigit.sh: no more hardcode Zuul git URL
......................................................................


multigit.sh: no more hardcode Zuul git URL

We are going to use a new Zuul merger instances (scandium, T95046).

Remove the hardcoded ZUUL_URL=git://zuul.eqiad.wmnet and replace it by
an assertion.  The parameter is provided by Zuul when triggering the
job.

Bug: T95046
Change-Id: Id3d4f97ce2960d3a4ce021300bbae70987da7b77
---
M bin/multigit.sh
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/bin/multigit.sh b/bin/multigit.sh
index bb4e860..030b91f 100755
--- a/bin/multigit.sh
+++ b/bin/multigit.sh
@@ -36,7 +36,10 @@
 # limitations under the License.
 
 # URL to fetch ZUUL references from.
-ZUUL_URL="git://zuul.eqiad.wmnet"
+if [ -z "$ZUUL_URL" ]; then
+       echo "\$ZUUL_URL is not set. Aborting."
+       exit 1
+fi
 
 # URL to fetch from Gerrit (reference repository)
 GERRIT_URL="https://gerrit.wikimedia.org/r/p";
@@ -53,6 +56,7 @@
 echo "Change triggered by $GERRIT_CHANGE"
 echo
 echo "Triggering informations:"
+echo "Zuul URL : $ZUUL_URL"
 echo "Pipeline : $ZUUL_PIPELINE"
 echo "Project  : $ZUUL_PROJECT"
 echo "Branch   : $ZUUL_BRANCH"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id3d4f97ce2960d3a4ce021300bbae70987da7b77
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to