ci/b2c: allow not specifying a reboot condition
authorMartin Roukala (né Peres) <martin.roukala@mupuf.org>
Thu, 20 Apr 2023 12:20:04 +0000 (15:20 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Apr 2023 09:45:18 +0000 (09:45 +0000)
This will allow us to only enable this feature where we need it.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22596>

.gitlab-ci/b2c/b2c.yml.jinja2.jinja2

index 80ca363..6a63ad3 100644 (file)
@@ -28,9 +28,11 @@ console_patterns:
     session_end:
         regex: >-
           {{ session_end_regex }}
+{% if session_reboot_regex %}
     session_reboot:
         regex: >-
           {{ session_reboot_regex }}
+{% endif %}
     job_success:
         regex: >-
           {{ job_success_regex }}