-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove zmiklank from mail recipients
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
from pathlib import Path | ||
from typing import Dict, List | ||
|
||
default_mails = ["[email protected]", "[email protected]", "[email protected]", "[email protected]"] | ||
default_mails = ["[email protected]", "[email protected]", "[email protected]"] | ||
upstream_mails = ["[email protected]", "[email protected]", "[email protected]"] | ||
|
||
SCLORG_MAILS = { | ||
|
@@ -160,7 +160,7 @@ def generate_email_body(self): | |
for _, name in self.data_dict[test_case]: | ||
self.body += f"{name}\n" | ||
self.body += "\nIn case the information is wrong, please reach out " \ | ||
"[email protected], [email protected], [email protected] or [email protected].\n" | ||
"[email protected], [email protected] or [email protected].\n" | ||
self.body += "Or file an issue here: https://github.com/sclorg/ci-scripts/issues" | ||
print(f"Body to email: {self.body}") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -327,7 +327,7 @@ def send_email(self): | |
"[email protected], [email protected] or [email protected].\n" | ||
message += "Or file an issue here: https://github.com/sclorg/ci-scripts/issues" | ||
send_from = "[email protected]" | ||
send_to = ["[email protected]", "[email protected]", "[email protected]", "[email protected]"] | ||
send_to = ["[email protected]", "[email protected]", "[email protected]"] | ||
msg = MIMEMultipart() | ||
msg['From'] = send_from | ||
msg['To'] = ', '.join(send_to) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ ls -la "${RESULT_DIR}" | |
SUBJECT="RHSCL nightly build testing for target ${TARGET}-${TESTS}" | ||
ls -A "${RESULT_DIR}" | ||
if [[ -z $(ls -A "${RESULT_DIR}") ]]; then | ||
mail -s "${SUBJECT} was successful" -r [email protected] [email protected] [email protected] < /dev/null | ||
mail -s "${SUBJECT} was successful" -r [email protected] [email protected] < /dev/null | ||
else | ||
SUBJECT="${SUBJECT} failed." | ||
MESSAGE="${SUBJECT}\n" | ||
|
@@ -28,7 +28,7 @@ else | |
done | ||
MESSAGE="${MESSAGE}\nIn case the information is wrong, please reach out [email protected], [email protected] or [email protected].\n" | ||
MESSAGE="${MESSAGE}\nOr file an issue here: https://github.com/sclorg/ci-scripts/issues" | ||
echo -e "${MESSAGE}" | mail -s "${SUBJECT}" ${ATTACHMENTS} -r [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] | ||
echo -e "${MESSAGE}" | mail -s "${SUBJECT}" ${ATTACHMENTS} -r [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] | ||
fi | ||
|
||
echo "Let's wait couple seconds (10s) to deliver the mail." | ||
|