From a65fe883f444dde8150a7f5d58f30c146b643352 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Roukala=20=28n=C3=A9=20Peres=29?= Date: Thu, 20 Apr 2023 15:20:04 +0300 Subject: [PATCH] ci/b2c: allow not specifying a reboot condition MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This will allow us to only enable this feature where we need it. Reviewed-by: Samuel Pitoiset Signed-off-by: Martin Roukala (né Peres) Part-of: --- .gitlab-ci/b2c/b2c.yml.jinja2.jinja2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 b/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 index 80ca363..6a63ad3 100644 --- a/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 +++ b/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 @@ -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 }} -- 2.7.4