Reapply "LAVA: Add notification_email field to LAVA job definitions"
This reverts commit 45185354bbe9d6e5f534248fa7ca9ea707aef53d.
Change-Id: I7935dc518790a62d33eeeef77c7c986b8ab0628d
diff --git a/lava_helper/jinja2_templates/base.jinja2 b/lava_helper/jinja2_templates/base.jinja2
index 6bb5039..9b751c3 100644
--- a/lava_helper/jinja2_templates/base.jinja2
+++ b/lava_helper/jinja2_templates/base.jinja2
@@ -33,6 +33,14 @@
priority: medium
visibility: public
+
+notify:
+ criteria:
+ status: incomplete
+ verbosity: quiet
+ recipients:
+ - to: {{ notification_email }}
+
{% endblock %}
{% block actions %}
{% endblock %}
diff --git a/lava_helper/lava_helper_configs.py b/lava_helper/lava_helper_configs.py
index 07a72f9..6d7264e 100644
--- a/lava_helper/lava_helper_configs.py
+++ b/lava_helper/lava_helper_configs.py
@@ -114,6 +114,7 @@
"job_name": "mps2_an521_bl2",
"device_type": "mps",
"job_timeout": 15,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
@@ -146,6 +147,7 @@
"job_name": "fvp_mps3_cs300_bl2",
"device_type": "fvp",
"job_timeout": 15,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
@@ -171,6 +173,7 @@
"job_name": "fvp_mps4_cs315_bl1_bl2",
"device_type": "fvp",
"job_timeout": 15,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
@@ -209,6 +212,7 @@
"job_name": "fvp_mps4_cs320_bl1_bl2",
"device_type": "fvp",
"job_timeout": 15,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
@@ -247,6 +251,7 @@
"job_name": "fvp_corstone1000",
"device_type": "fvp",
"job_timeout": 15,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
@@ -273,6 +278,7 @@
"job_name": "fvp_mps2_an521_bl2",
"device_type": "fvp",
"job_timeout": 15,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
@@ -302,6 +308,7 @@
"job_name": "fvp_mps2_an519_bl2",
"device_type": "fvp",
"job_timeout": 15,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
@@ -328,6 +335,7 @@
"job_name": "fvp_rse_tc3",
"device_type": "fvp",
"job_timeout": 15,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
@@ -358,6 +366,7 @@
"job_name": "qemu_mps2_bl2",
"device_type": "qemu",
"job_timeout": 30,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 20,
"monitor_timeout": 20,
"poweroff_timeout": 1,
@@ -387,6 +396,7 @@
"job_name": "musca_b1_bl2",
"device_type": "musca-b",
"job_timeout": 40,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 20,
"monitor_timeout": 10,
"poweroff_timeout": 5,
@@ -408,6 +418,7 @@
"job_name": "stm32l562e_dk",
"device_type": "stm32l562e-dk",
"job_timeout": 24,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 15,
"monitor_timeout": 15,
"poweroff_timeout": 5,
@@ -428,6 +439,7 @@
"job_name": "b_u585i_iot02a",
"device_type": "b-u585i-iot02a",
"job_timeout": 5,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 3,
"monitor_timeout": 3,
"poweroff_timeout": 2,
@@ -448,6 +460,7 @@
"job_name": "stm32h573i_dk",
"device_type": "stm32h573i-dk",
"job_timeout": 5,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 3,
"monitor_timeout": 3,
"poweroff_timeout": 2,
@@ -468,6 +481,7 @@
"job_name": "lpcxpresso55s69",
"device_type": "lpcxpresso55s69",
"job_timeout": 24,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 15,
"monitor_timeout": 15,
"poweroff_timeout": 5,
@@ -489,6 +503,7 @@
"job_name": "psoc64",
"device_type": "cy8ckit-064s0s2-4343w",
"job_timeout": 30,
+ "notification_email": "tf-m-ci-notifications@lists.trustedfirmware.org",
"action_timeout": 20,
"monitor_timeout": 20,
"poweroff_timeout": 5,