jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/394499 )

Change subject: Fix composer-test example-run.sh
......................................................................


Fix composer-test example-run.sh

The example-run for this image has not been updated since the creation
of ci-src-setup. As a result, the example-run will fail since the image
no longer checks out source code by itself.

Change-Id: I81bc37b6f125d9db4a8790e7eaebe75de20c7563
---
M dockerfiles/composer-test/example-run.sh
1 file changed, 14 insertions(+), 7 deletions(-)

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



diff --git a/dockerfiles/composer-test/example-run.sh 
b/dockerfiles/composer-test/example-run.sh
index a9b3a36..29c2b67 100644
--- a/dockerfiles/composer-test/example-run.sh
+++ b/dockerfiles/composer-test/example-run.sh
@@ -1,11 +1,18 @@
 #!/bin/bash
 
-install --mode 777 --directory log
+mkdir -m 2777 -p log src cache
+
+git init src
+git -C src fetch --quiet --depth 1 \
+    "https://gerrit.wikimedia.org/r/integration/jenkins"; \
+    "refs/changes/31/316231/4"
+git -C src checkout FETCH_HEAD
+
 docker run \
     --rm --tty \
-    --env ZUUL_URL=https://gerrit.wikimedia.org/r \
-    --env ZUUL_PROJECT=integration/jenkins \
-    --env ZUUL_COMMIT=7a4ee7963a15dbdc5d5afb363600d63574bb31a0 \
-    --env ZUUL_REF=refs/changes/31/316231/4 \
-    --volume /$(pwd)/log://var/lib/jenkins/log \
-     wmfreleng/composer-test:latest
+    --volume /$(pwd)/log:/log \
+    --volume /$(pwd)/cache:/cache \
+    --volume /$(pwd)/src:/src \
+    wmfreleng/composer-test:latest
+
+rm -rf src log cache

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I81bc37b6f125d9db4a8790e7eaebe75de20c7563
Gerrit-PatchSet: 2
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Thcipriani <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: Thcipriani <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to