<Krenair> I think scap is broken on beta
<Krenair> I synchronised a file on deployment-bastion and it didn't go to the local /srv/mediawiki
jenkins-deploy@deployment-bastion:/mnt/srv/mediawiki-staging$ git diff diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php index d59c6d2..87ab7fd 100755 --- a/wmf-config/CommonSettings.php +++ b/wmf-config/CommonSettings.php @@ -1938,7 +1938,7 @@ if ( $wmgUseVisualEditor ) { // HACK: $wgServerName is not available yet at this point, it's set by Setup.php // so use a hook $wgExtensionFunctions[] = function () { - global $wgServerName, $wgVisualEditorRestbaseURL, $wmfRealm; + global $wgServerName, $wgVisualEditorRestbaseURL, $wgVisualEditorFullRestbaseURL, $wmfRealm; if ( $wmfRealm === 'production' ) { $wgVisualEditorRestbaseURL = "https://$wgServerName/api/rest_v1/page/html/"; $wgVisualEditorFullRestbaseURL = "https://$wgServerName/api/rest_"; jenkins-deploy@deployment-bastion:/mnt/srv/mediawiki-staging$ sync-file wmf-config/CommonSettings.php ___ ____ ⎛ ⎛ ,---- \ //==--' _//|,.·//==--' ____________________________ _OO≣=- ︶ ᴹw ⎞_§ ______ ___\ ___\ ,\__ \/ __ \ (∞)_, ) ( | ______/__ \/ /__ / /_/ / /_/ / ¨--¨|| |- ( / ______\____/ \___/ \__^_/ .__/ ««_/ «_/ jgs/bd808 /_/ No syntax errors detected in /srv/mediawiki-staging/wmf-config/CommonSettings.php 20:58:09 Started sync-masters sync-masters: 100% (ok: 1; fail: 0; left: 0) 20:58:19 Finished sync-masters (duration: 00m 09s) 20:58:19 Started sync-proxies 20:58:19 Job ['/srv/deployment/scap/scap/bin/sync-common', '--no-update-l10n', '--include', 'wmf-config', '--include', 'wmf-config/CommonSettings.php', 'deployment-bastion.deployment-prep.eqiad.wmflabs'] called with an empty host list. 20:58:19 Finished sync-proxies (duration: 00m 00s) 20:58:19 Started sync-apaches sync-common: 100% (ok: 5; fail: 0; left: 0) 20:58:23 Finished sync-apaches (duration: 00m 04s) 20:58:23 Synchronized wmf-config/CommonSettings.php: (no message) (duration: 00m 14s) jenkins-deploy@deployment-bastion:/mnt/srv/mediawiki-staging$ grep FullRestbaseURL wmf-config/* wmf-config/CommonSettings.php: global $wgServerName, $wgVisualEditorRestbaseURL, $wgVisualEditorFullRestbaseURL, $wmfRealm; wmf-config/CommonSettings.php: $wgVisualEditorFullRestbaseURL = "https://$wgServerName/api/rest_"; wmf-config/CommonSettings.php: $wgVisualEditorFullRestbaseURL = "//$wgServerName/api/rest_"; jenkins-deploy@deployment-bastion:/mnt/srv/mediawiki-staging$ grep FullRestbaseURL ../mediawiki/wmf-config/* ../mediawiki/wmf-config/CommonSettings.php: $wgVisualEditorFullRestbaseURL = "https://$wgServerName/api/rest_"; ../mediawiki/wmf-config/CommonSettings.php: $wgVisualEditorFullRestbaseURL = "//$wgServerName/api/rest_"; jenkins-deploy@deployment-bastion:/mnt/srv/mediawiki-staging$