Hashar has uploaded a new change for review.

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

Change subject: beta: update Parsoid code update in both datacenters
......................................................................

beta: update Parsoid code update in both datacenters

Delete job beta-code-update and replace it by two jobs::

beta-parsoid-update-eqiad
beta-parsoid-update-pmtpa

Change-Id: If036287aca991a782d013f7bc9c8277d58a781f0
---
M beta.yaml
1 file changed, 4 insertions(+), 30 deletions(-)


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

diff --git a/beta.yaml b/beta.yaml
index d36d79a..e963c84 100644
--- a/beta.yaml
+++ b/beta.yaml
@@ -189,37 +189,10 @@
      # Every six minutes:
      - timed: '*/6 * * * *'
 
-- job:
-    name: beta-parsoid-update
+- job-template:
+    name: beta-parsoid-update-{datacenter}
     defaults: beta
-    node: deployment-parsoid2
-    triggers:
-     - zuul
-
-    builders:
-     - git-parsoid-and-deploy-repos
-     - shell: |
-         PARSOID_TARGET=/srv/deployment/parsoid
-         mkdir -p "$PARSOID_TARGET"
-         # sync workspace and deployment target
-         RSYNC_OPTS="--update --times --recursive --links --delete-after 
--delay-updates --exclude=.git"
-         rsync $RSYNC_OPTS $WORKSPACE/parsoid "$PARSOID_TARGET"
-         rsync $RSYNC_OPTS $WORKSPACE/deploy "$PARSOID_TARGET"
-         # Configuration file is managed by puppet
-         ln -s /srv/deployment/parsoid/localsettings.js 
"$PARSOID_TARGET"/parsoid/api/localsettings.js
-
-     - shell: |
-         sudo /etc/init.d/parsoid restart
-
-# Copy pasted to above. Run the same commands but on deployment-parsoid04 which
-# is in eqiad
-#
-# FIXME after eqiad migration update node: in beta-parsoid-update and get rid
-# of this temporary job beta-parsoid-update-eqiad
-- job:
-    name: beta-parsoid-update-eqiad
-    defaults: beta
-    node: deployment-parsoid04
+    node: deployment-parsoid-{datacenter}
     triggers:
      - zuul
 
@@ -246,5 +219,6 @@
     jobs:
      - beta-code-update-{datacenter}
      - beta-mediawiki-config-update-{datacenter}
+     - beta-parsoid-update-{datacenter}
      - beta-recompile-math-texvc-{datacenter}
      - beta-update-databases-{datacenter}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If036287aca991a782d013f7bc9c8277d58a781f0
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to