Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/160983

Change subject: (WIP) Ruby documentation using yard (WIP)
......................................................................

(WIP) Ruby documentation using yard (WIP)

Half baked / untested etc..

Change-Id: I10edcf23eec7453c73c2b4e43b2bc6aeb637bafb
---
A ruby-jobs.yaml
1 file changed, 34 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/83/160983/1

diff --git a/ruby-jobs.yaml b/ruby-jobs.yaml
new file mode 100644
index 0000000..be9922d
--- /dev/null
+++ b/ruby-jobs.yaml
@@ -0,0 +1,34 @@
+- builder:
+    name: yard
+    builders:
+     - shell: |
+         # Shared cache of gems to avoid hitting rubygems all the time
+         # See https://github.com/bundler/bundler/issues/2856
+         export GEM_HOME="$WORKSPACE/../gems"
+         mkdir -p vendor
+         gem1.9.3 install --env-shebang -i vendor yard --no-ri --no-rdoc
+         export GEM_PATH="`pwd`/vendor"
+         vendor/bin/yard
+
+- job-template:
+    name: '{name}-yard'
+    node: contintLabsSlave && UbuntuPrecise
+    defaults: use-remote-zuul
+    concurrent: true
+    triggers:
+     - zuul
+    builders:
+     - yard
+
+- job-template:
+    name: '{name}-yard-publish'
+    node: contintLabsSlave && UbuntuPrecise
+    defaults: use-remote-zuul
+    triggers:
+     - zuul
+    builders:
+     - yard
+    publishers:
+     - push-doc:
+         docsrc: 'doc'
+         docdest: 'rubygems/{name}'

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I10edcf23eec7453c73c2b4e43b2bc6aeb637bafb
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

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

Reply via email to