Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep track of hostname being used to run jobs. #7440

Merged
merged 1 commit into from Jan 29, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions Configuration/PyReleaseValidation/python/WorkFlowRunner.py
Expand Up @@ -10,6 +10,7 @@
from datetime import datetime
from hashlib import sha1
import urllib2, base64, json, re
from socket import gethostname

# This is used to report results of the runTheMatrix to the elasticsearch
# instance used for IBs. This way we can track progress even if the logs are
Expand Down Expand Up @@ -65,6 +66,7 @@ def esReportWorkflow(**kwds):
if errors:
payload["errors"] = errors

payload["hostname"] = gethostname()
url = "https://%s/ib-matrix.%s/runTheMatrix-data/%s" % (es_hostname,
d.strftime("%Y.%m"),
sha1_id)
Expand Down