jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/336873 )
Change subject: Run parsoid's cite parser tests as well
......................................................................
Run parsoid's cite parser tests as well
* Mainly lifted from prepare-mediawiki-zuul-project-no-vendor
Bug: T114256
Change-Id: I01d814014a66abafa46d5cc84b53189b4aa8ba5a
---
M jjb/parsoidsvc.yaml
1 file changed, 24 insertions(+), 9 deletions(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
diff --git a/jjb/parsoidsvc.yaml b/jjb/parsoidsvc.yaml
index 709d99d..583171d 100644
--- a/jjb/parsoidsvc.yaml
+++ b/jjb/parsoidsvc.yaml
@@ -16,27 +16,42 @@
phpflavor: 'hhvm'
- assert-node-version-6
- castor-load
+ - shell: "echo -e 'mediawiki/extensions/Cite' > deps.txt"
- zuul-parsoid-cloner:
- projects: >
+ projects: >
mediawiki/core
+ $(cat deps.txt)
mediawiki/services/parsoid
+ - shell: "mv deps.txt src/mediawiki/core/extensions_load.txt"
+ - composer-validate:
+ dir: 'src/mediawiki/core'
+ - shell: |
+ # composer-local-create
+ set -u
+ cd src/mediawiki/core
+
/srv/deployment/integration/slave-scripts/bin/mw-create-composer-local.py
extensions_load.txt composer.local.json
- composer-update:
dir: 'src/mediawiki/core'
- shell: |
# Install MediaWiki in a different directory
- export MW_INSTALL_PATH='src/mediawiki/core'
+ export MW_INSTALL_PATH="$WORKSPACE/src/mediawiki/core"
# Keep these consistent with
`prepare-mediawiki-zuul-project-no-vendor`
/srv/deployment/integration/slave-scripts/bin/mw-install-sqlite.sh
/srv/deployment/integration/slave-scripts/bin/mw-apply-settings.sh
/srv/deployment/integration/slave-scripts/bin/mw-run-update-script.sh
- shell: |
- # record the versions of parsertests we're running, for debugging
- # if something goes wrong
- find -name parserTests.txt -print0 | xargs -0 md5sum -b
- # Now run parserTests
- cd src/mediawiki/core
- php tests/parser/parserTests.php --color=no --quiet \
- --file="$WORKSPACE/parsoidsvc/tests/parserTests.txt"
+ # record the versions of parsertests we're running, for debugging
+ # if something goes wrong
+ find -name parserTests.txt -print0 | xargs -0 md5sum -b
+ find -name citeParserTests.txt -print0 | xargs -0 md5sum -b
+ # Now run parserTests
+ cd src/mediawiki/core
+ # export again, we're in a new shell
+ export MW_INSTALL_PATH="$WORKSPACE/src/mediawiki/core"
+ php tests/parser/parserTests.php --color=no --quiet \
+ --file="$WORKSPACE/parsoidsvc/tests/parserTests.txt"
+ php tests/parser/parserTests.php --color=no --quiet \
+ --file="$WORKSPACE/parsoidsvc/tests/citeParserTests.txt"
publishers:
- archive-log-allow-empty
- castor-save
--
To view, visit https://gerrit.wikimedia.org/r/336873
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I01d814014a66abafa46d5cc84b53189b4aa8ba5a
Gerrit-PatchSet: 8
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Arlolra <[email protected]>
Gerrit-Reviewer: Arlolra <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits