Skip to content

Commit

Permalink
remove zmiklank from mail recipients
Browse files Browse the repository at this point in the history
  • Loading branch information
zmiklank committed Jun 19, 2024
1 parent 1c33929 commit be7a9c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions daily_tests/daily_nightly_tests_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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}")

Expand Down
2 changes: 1 addition & 1 deletion daily_tests/sclorg_sanity_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions daily_tests/send_email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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."
Expand Down

0 comments on commit be7a9c4

Please sign in to comment.