Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/273765
Change subject: Sets DISPLAY and CHROME_BIN variables in parameter_functions.py
......................................................................
Sets DISPLAY and CHROME_BIN variables in parameter_functions.py
This is for npm 4.3.
Change-Id: I6f76685979761b64c53d9670b26aef1b53ee8262
---
M zuul/parameter_functions.py
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/integration/config
refs/changes/65/273765/1
diff --git a/zuul/parameter_functions.py b/zuul/parameter_functions.py
index e37f4ba..95348de 100644
--- a/zuul/parameter_functions.py
+++ b/zuul/parameter_functions.py
@@ -14,6 +14,14 @@
:type params: dict
"""
+ # Sets a DISPLAY and CHROME_BIN variable based on the job name
+ if 'npm-node-4.3' in job.name:
+ params['DISPLAY'] = ':94'
+ params['CHROME_BIN'] = `which chromium-browser`
+ elif job.name == 'mediawiki-core-npm-node-4.3':
+ params['DISPLAY'] = ':94'
+ params['CHROME_BIN'] = `which chromium-browser`
+
# Sets a $PHP_BIN variable based on the job name
if 'php55' in job.name:
params['PHP_BIN'] = 'php5'
--
To view, visit https://gerrit.wikimedia.org/r/273765
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f76685979761b64c53d9670b26aef1b53ee8262
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits