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

Change subject: [mathoid] experimental npm-node-4.2
......................................................................


[mathoid] experimental npm-node-4.2

The Mathoid service requires nodejs 4.2 which is only available on
Jessie.  Introduce a new job 'npm-node-4.2' which runs on Nodepool
disposable instances with castor enabled.

Since that is highly experimental, add it solely to the experimental
pipeline of mediawiki/services/mathoid.

Introduce the macro assert-node-version-4.2

Bug: T119143
Bug: T124447
Change-Id: I690e1931ef565b01df5106e177adab158f7f404e
---
M jjb/job-templates.yaml
M jjb/macro.yaml
M zuul/layout.yaml
3 files changed, 30 insertions(+), 0 deletions(-)

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



diff --git a/jjb/job-templates.yaml b/jjb/job-templates.yaml
index 490a901..3cf3046 100644
--- a/jjb/job-templates.yaml
+++ b/jjb/job-templates.yaml
@@ -93,6 +93,28 @@
      - global-teardown
 
 - job:
+    name: 'npm-node-4.2'
+    node: ci-jessie-wikimedia
+    defaults: use-remote-zuul-shallow-clone
+    concurrent: true
+    properties:
+     - zeromq-event
+    triggers:
+     - zuul
+    builders:
+     - assert-node-version-4.2
+     # FIXME: we should save node_modules and run npm prune
+     - castor-load
+     - shell: |
+         node --version
+         npm --version
+         npm install
+         npm test
+    publishers:
+     - archive-log-dir
+     - castor-save
+
+- job:
     name: 'npm-run-doc'
     node: contintLabsSlave && UbuntuTrusty
     defaults: use-remote-zuul-shallow-clone
diff --git a/jjb/macro.yaml b/jjb/macro.yaml
index 6eff6aa..26e0201 100644
--- a/jjb/macro.yaml
+++ b/jjb/macro.yaml
@@ -281,6 +281,12 @@
          version: ^v0[.]10[.]
 
 - builder:
+    name: assert-node-version-4.2
+    builders:
+     - assert-node-version:
+         version: ^v4[.]2[.]
+
+- builder:
     name: jsduck
     builders:
      - shell: |
diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index cc7d84e..f300e62 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -6310,6 +6310,8 @@
   - name: mediawiki/services/mathoid
     template:
       - name: npm
+    experimental:
+      - npm-node-4.2
 
   - name: mediawiki/services/mathoid/deploy
     test:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I690e1931ef565b01df5106e177adab158f7f404e
Gerrit-PatchSet: 3
Gerrit-Project: integration/config
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