Commit a46a911b authored by David Johnson's avatar David Johnson

Process WFA logs to detect success/failure; maybe send email.

We look for Traceback strings as error indicators; and specific
strings to indicate success.  Then if specific email-related env
vars are set, we'll send emails on failure and maybe on success,
with key bits of logfiles attached.  The env vars you would set are

TESTEMAIL=you@mail.wherever
TESTMAILFAILURE=1
TESTMAILSUCCESS=1

You must set TESTEMAIL to get any mail.  If you set TESTMAILFAILURE
to 1, you'll get failure notifications.  If you set TESTMAILSUCCESS
to 1, you'll also get successful test notifications.

Now I don't have to stay up all night babysitting these test runs.
parent 265047ce
Pipeline #1896 passed with stage
in 2 seconds