Ori.livneh has submitted this change and it was merged.

Change subject: Run sync-wikiversions AFTER all code is deployed
......................................................................


Run sync-wikiversions AFTER all code is deployed

Change-Id: If1c8cfda64604acfd26ea8bd7f0e186b4ffe5c12
---
M files/scap/scap
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  BryanDavis: Looks good to me, but someone else must approve
  Ori.livneh: Looks good to me, approved
  Aaron Schulz: Looks good to me, but someone else must approve
  Reedy: Looks good to me, but someone else must approve
  ArielGlenn: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/files/scap/scap b/files/scap/scap
index 7b56a7f..31c14ec 100755
--- a/files/scap/scap
+++ b/files/scap/scap
@@ -60,9 +60,6 @@
 # Disable logging
 export DOLOGMSGNOLOG=1
 
-# Builds wikiversions.cdb and syncs it to the apaches with the dat file
-sync-wikiversions || die
-
 echo 'Copying style sheets to apaches...'
 # Ignore errors from dsh since it gives an exit status of 1 on a connection 
timeout
 dsh -F30 -cM -g mediawiki-installation -o -oSetupTimeout=10 
'/usr/local/bin/scap-1skins'
@@ -82,6 +79,9 @@
 dsh -F30 -cM -f "$NODEFILE" -o -oSetupTimeout=10 /usr/local/bin/scap-1 
\""$RSYNC_SERVERS"\"
 echo 'Finished'
 
+# Builds wikiversions.cdb and syncs it to the apaches with the dat file
+sync-wikiversions || die
+
 export DOLOGMSGNOLOG=""
 $BINDIR/dologmsg "!log $USER Finished syncing Wikimedia installation... : $*"
 $BINDIR/deploy2graphite scap

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If1c8cfda64604acfd26ea8bd7f0e186b4ffe5c12
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to