Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/93941
Change subject: beta-code-update: use mwdeploy home for wmf-beta-autoupdate ...................................................................... beta-code-update: use mwdeploy home for wmf-beta-autoupdate The wmf-beta-autoupdate runs npm https://gerrit.wikimedia.org/r/#/c/93939/ and since it attempts to write in the $HOME dir, it better has to be set to the home of the mwdeploy user. sudo -H achieve that. Change-Id: I4626d76ad268374dfc7f9a1306512c3a9108df32 --- M beta.yaml 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config refs/changes/41/93941/1 diff --git a/beta.yaml b/beta.yaml index 16fd11c..8a583aa 100644 --- a/beta.yaml +++ b/beta.yaml @@ -174,7 +174,9 @@ defaults: beta builders: - - shell: "sudo -u mwdeploy /usr/local/bin/wmf-beta-autoupdate.py --verbose" + # The beta autoupdate script uses npm and need the home to be set to + # mwdeploy home, that is done by passing -H to sudo + - shell: "sudo -H -u mwdeploy /usr/local/bin/wmf-beta-autoupdate.py --verbose" logrotate: daysToKeep: 15 -- To view, visit https://gerrit.wikimedia.org/r/93941 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4626d76ad268374dfc7f9a1306512c3a9108df32 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
