Springle has submitted this change and it was merged.

Change subject: Use sync-dir to copy out l10n json files, build cdbs on hosts
......................................................................


Use sync-dir to copy out l10n json files, build cdbs on hosts

Minimal improvements to l10nupdate-1

Bug: 70443
Change-Id: Ib9c55f2f846f264fa750f718c6d8c5aa21e78613
---
M files/misc/l10nupdate/l10nupdate-1
1 file changed, 3 insertions(+), 1 deletion(-)

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



diff --git a/files/misc/l10nupdate/l10nupdate-1 
b/files/misc/l10nupdate/l10nupdate-1
index f3bbc03..4a76f6f 100755
--- a/files/misc/l10nupdate/l10nupdate-1
+++ b/files/misc/l10nupdate/l10nupdate-1
@@ -99,7 +99,9 @@
 
                echo "Syncing to Apaches at `date --rfc-3339=seconds`"
                SYNC_START=$(date +%s)
-               $BINDIR/sync-l10nupdate-1 "$mwVerNum"
+               NOLOGMSG=1 $BINDIR/sudo-withagent l10nupdate $BINDIR/sync-dir 
"php-$mwVerNum/cache/l10n"
+               # TODO: Add parameter to scap-rebuild-cdbs to only build 1 
version of MW
+               dsh -g mediawiki-installation -M -F 40 -- "sudo -u mwdeploy 
$BINDIR/scap-rebuild-cdbs"
                SYNC_END=$(date +%s)
                $BINDIR/dologmsg "!log LocalisationUpdate completed ($mwVerNum) 
at `date --rfc-3339=seconds`"
                echo "All done at `date --rfc-3339=seconds`"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib9c55f2f846f264fa750f718c6d8c5aa21e78613
Gerrit-PatchSet: 9
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: 20after4 <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Springle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to