Cscott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/156703
Change subject: Remove obsolete parsoid.yaml
......................................................................
Remove obsolete parsoid.yaml
These targets are no longer used.
(This file was replaced by `parsoidsvc.yaml`.)
Change-Id: I8e024c75043b94e3431102e9493f392bead34065
---
D parsoid.yaml
1 file changed, 0 insertions(+), 308 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config
refs/changes/03/156703/1
diff --git a/parsoid.yaml b/parsoid.yaml
deleted file mode 100644
index 2246a7a..0000000
--- a/parsoid.yaml
+++ /dev/null
@@ -1,308 +0,0 @@
-- builder:
- name: parsoid-parsertests-run
- builders:
- - shell: 'git checkout $ZUUL_COMMIT'
- - shell: |
- cd js/tests
- export NODE_PATH=$NODE_PATH:../../contrib/node_modules
- node parserTests --xml --no-color --wt2html --wt2wt --html2html
--selser --changesin selser.changes.json > results.xml
-
-- builder:
- name: parsoid-parsertests-run-wrapper
- builders:
- - trigger-builds:
- - project: parsoid-parsertests-run
- current-parameters: true
- predefined-parameters:
- ZUUL_COMMIT={triggeredCommit}
- block: true
-
- - copyartifact:
- project: parsoid-parsertests-run
- which-build: permalink
- permalink: last
- filter: '**/results.xml'
- flatten: true
-
-- job-template:
- name: parsoid-parsertests-run
- node: hasSlaveScripts && UbuntuPrecise
- defaults:
- use-remote-zuul
- triggers:
- - zuul
- scm:
- - git:
- url: '$ZUUL_URL/$ZUUL_PROJECT'
- reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
- branches:
- - '$ZUUL_COMMIT'
- refspec: '$ZUUL_REF'
- name: 'origin'
- disable-submodules: true
- - git:
- url:
'https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Parsoid/js/contrib.git'
- branches:
- - master
- basedir: contrib
- builders:
- - parsoid-parsertests-run
- publishers:
- - archive:
- artifacts: '**/results.xml'
- - fingerprint:
- files: '**/results.xml'
-
-- job-template:
- name: parsoid-php-parsertests
- node: hasSlaveScripts && UbuntuPrecise
- wrappers:
- - timeout:
- timeout: 10
- fail: true
- - timestamps
- - ansicolor
- defaults:
- use-remote-zuul
- triggers:
- - zuul
- scm:
- - git:
- url: '$ZUUL_URL/$ZUUL_PROJECT'
- reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
- branches:
- - '$ZUUL_COMMIT'
- refspec: '$ZUUL_REF'
- name: 'origin'
- disable-submodules: true
- - git:
- url:
'https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Parsoid/js/contrib.git'
- branches:
- - master
- basedir: contrib
- builders:
- - get-mw-core:
- branch: 'master'
- - mw-install-sqlite
- - shell: |
- # now run parserTests
- php tests/parserTests.php --color=no --quiet \
- --file=js/tests/parserTests.txt
-
-- job-template:
- name: parsoid-parsertests
- node: hasSlaveScripts && UbuntuPrecise
- triggers:
- - zuul
- builders:
- # Run tests on prior commit (note the caret (^) character)
- - parsoid-parsertests-run-wrapper:
- triggeredCommit: "$ZUUL_COMMIT^"
-
- - shell: 'mv results.xml oldresults.xml'
-
- # Run tests on current commit
- - parsoid-parsertests-run-wrapper:
- triggeredCommit: "$ZUUL_COMMIT"
-
- # Use junitdiff tool to diff the two results
- - shell: 'node
/srv/deployment/integration/slave-scripts/tools/junitdiff/junitdiff
oldresults.xml results.xml > diff.xml'
-
- publishers:
- - xunit:
- types:
- - junit:
- pattern: diff.xml
- thresholdmode: 'number'
- thresholds:
- - failed:
- failurenew: '0'
-
-- job-template:
- name: parsoid-regressions
- node: hasSlaveScripts && UbuntuPrecise
- defaults:
- use-remote-zuul
- triggers:
- - zuul
- scm:
- - git:
- url: '$ZUUL_URL/$ZUUL_PROJECT'
- reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
- branches:
- - '$ZUUL_COMMIT'
- refspec: '$ZUUL_REF'
- name: 'origin'
- disable-submodules: true
- - git:
- url:
'https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Parsoid/js/contrib.git'
- branches:
- - master
- basedir: contrib
- builders:
- - parsoid-parsertests-run
- publishers:
- - xunit:
- types:
- - junit:
- pattern: '**/results.xml'
- thresholdmode: 'number'
- thresholds:
- - failed:
- failurenew: '1'
-
-#- job-template:
-# name: parsoid-server-sanity-check
-# node: hasSlaveScripts && UbuntuPrecise
-# defaults:
-# use-remote-zuul
-# triggers:
-# - zuul
-# scm:
-# - git:
-# url: '$ZUUL_URL/$ZUUL_PROJECT'
-# reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
-# branches:
-# - '$ZUUL_COMMIT'
-# refspec: '$ZUUL_REF'
-# name: 'origin'
-# disable-submodules: true
-# - git:
-# url:
'https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Parsoid/js/contrib.git'
-# branches:
-# - master
-# basedir: contrib
-# builders:
-# - shell: |
-# # If any of these commands fail, something is wrong
-# set -e
-# cd js/api
-# export NODE_PATH=$NODE_PATH:../../contrib/node_modules
-# # Build a unique string so we can kill the process later
-# export UNIQUESTRING="parsoidserver-$ZUUL_UUID$ZUUL_COMMIT"
-# daemon --inherit --name=$UNIQUESTRING node server.js
-# # Wait for the server to start up
-# sleep 5
-# cd ../..
-# # Pull the standard test article
-# curl localhost:8000/fr/Barack_Obama -D headers.html > output.html
-# # Kill that process we started
-# daemon --stop --name=$UNIQUESTRING
-# # Make sure the response from the server was a 200 OK.
-# grep "^HTTP.*200 OK" headers.txt
-
-- job-template:
- name: parsoid-parse-tool-check
- node: hasSlaveScripts && UbuntuPrecise
- wrappers:
- - timeout:
- timeout: 5
- fail: true
- defaults:
- use-remote-zuul
- triggers:
- - zuul
- scm:
- - git:
- url: '$ZUUL_URL/$ZUUL_PROJECT'
- reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
- branches:
- - '$ZUUL_COMMIT'
- refspec: '$ZUUL_REF'
- name: 'origin'
- disable-submodules: true
- - git:
- url:
'https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Parsoid/js/contrib.git'
- branches:
- - master
- basedir: contrib
- builders:
- - shell: |
- # If any of these commands fail, something is wrong
- set -e
- cd js/tests
- export NODE_PATH=$NODE_PATH:../../contrib/node_modules
- echo "Foo" | node parse.js --wt2html
- echo "Foo" | node parse.js --wt2wt
- echo "Foo" | node parse.js --html2wt
- echo "Foo" | node parse.js --html2html
-
-- job-template:
- name: parsoid-roundtrip-test-check
- node: hasSlaveScripts && UbuntuPrecise
- wrappers:
- - timeout:
- timeout: 5
- fail: true
- defaults:
- use-remote-zuul
- triggers:
- - zuul
- scm:
- - git:
- url: '$ZUUL_URL/$ZUUL_PROJECT'
- reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
- branches:
- - '$ZUUL_COMMIT'
- refspec: '$ZUUL_REF'
- name: 'origin'
- disable-submodules: true
- - git:
- url:
'https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Parsoid/js/contrib.git'
- branches:
- - master
- basedir: contrib
- builders:
- - shell: |
- # If any of these commands fail, something is wrong
- set -e
- cd js/tests
- export NODE_PATH=$NODE_PATH:../../contrib/node_modules
- node roundtrip-test.js "Barack Obama"
- node roundtrip-test.js --prefix frwiki "Chope"
- node roundtrip-test.js --xml "Parkour"
-
-- job-template:
- name: parsoid-parsertests-run-harder
- node: hasSlaveScripts && UbuntuPrecise
- wrappers:
- - timeout:
- timeout: 10
- fail: true
- defaults:
- use-remote-zuul
- triggers:
- - zuul
- scm:
- - git:
- url: '$ZUUL_URL/$ZUUL_PROJECT'
- reference-repo: '/srv/ssd/gerrit/$ZUUL_PROJECT.git'
- branches:
- - '$ZUUL_COMMIT'
- refspec: '$ZUUL_REF'
- name: 'origin'
- disable-submodules: true
- - git:
- url:
'https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Parsoid/js/contrib.git'
- branches:
- - master
- basedir: contrib
- builders:
- - shell: |
- # If any of these commands fail, something is wrong
- set -e
- cd js/tests
- export NODE_PATH=$NODE_PATH:../../contrib/node_modules
- node parserTests --wt2html --wt2wt --html2wt --html2html --selser
--changesin selser.changes.json --no-color --quiet --blacklist
-
-- project:
- name: parsoid
- jobs:
- - parsoid-parsertests
- - parsoid-parsertests-run
- - parsoid-regressions
-# - parsoid-server-sanity-check
- - parsoid-parse-tool-check
- - parsoid-roundtrip-test-check
- - parsoid-parsertests-run-harder
- - parsoid-php-parsertests
--
To view, visit https://gerrit.wikimedia.org/r/156703
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e024c75043b94e3431102e9493f392bead34065
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits