Tim Landscheidt has uploaded a new change for review.

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

Change subject: Tools: Fix mail address for webservice jobs
......................................................................

Tools: Fix mail address for webservice jobs

By default, qsub uses a mail address for error messages that is
undeliverable ("$user@$host.eqiad.wmflabs").  jsub works around that
by explicitly setting the mail address to "[email protected]".
This change applies the same logic to webservice2.

Bug: T106462
Change-Id: Iff6f591e6b21a04b7f952b238440d9bbd85b1cb5
---
M modules/toollabs/files/webservice2
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/11/226311/1

diff --git a/modules/toollabs/files/webservice2 
b/modules/toollabs/files/webservice2
index 61335c3..d53f993 100644
--- a/modules/toollabs/files/webservice2
+++ b/modules/toollabs/files/webservice2
@@ -54,6 +54,7 @@
                '-l', 'h_vmem=%s,release=%s' % (MEMLIMIT, release),
                '-b', 'y',
                '-N', '%s-%s' % (server, TOOL),
+               '-M', '%[email protected]' % USER,
                '/usr/local/bin/tool-%s' % server]
     subprocess.check_call(command, stdout=open(os.devnull, 'wb'))
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff6f591e6b21a04b7f952b238440d9bbd85b1cb5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Tim Landscheidt <[email protected]>

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

Reply via email to