From 970f37be0938877c96ddd21ab6bca00b2ae4e804 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 10 Sep 2024 22:13:29 +0100 Subject: [PATCH] ci/lava: Change default section colour to cyan This matches the sections from the shell prints, which are quite nice. Signed-off-by: Daniel Stone Part-of: --- .gitlab-ci/lava/utils/console_format.py | 1 + .gitlab-ci/lava/utils/gitlab_section.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/lava/utils/console_format.py b/.gitlab-ci/lava/utils/console_format.py index 09103ea4e07..cb52625cb53 100644 --- a/.gitlab-ci/lava/utils/console_format.py +++ b/.gitlab-ci/lava/utils/console_format.py @@ -7,6 +7,7 @@ CONSOLE_LOG = { "FG_BOLD_YELLOW": "\x1b[0;1;33m", "FG_MAGENTA": "\x1b[0;35m", "FG_BOLD_MAGENTA": "\x1b[0;1;35m", + "FG_CYAN": "\x1b[0;36m", "RESET": "\x1b[0m", "UNDERLINED": "\x1b[3m", "BOLD": "\x1b[1m", diff --git a/.gitlab-ci/lava/utils/gitlab_section.py b/.gitlab-ci/lava/utils/gitlab_section.py index 1a4e3619b7d..a1f68e587d7 100644 --- a/.gitlab-ci/lava/utils/gitlab_section.py +++ b/.gitlab-ci/lava/utils/gitlab_section.py @@ -19,7 +19,7 @@ class GitlabSection: type: LogSectionType start_collapsed: bool = False escape: str = "\x1b[0K" - colour: str = f"{CONSOLE_LOG['FG_GREEN']}" + colour: str = f"{CONSOLE_LOG['FG_CYAN']}" __start_time: Optional[datetime] = field(default=None, init=False) __end_time: Optional[datetime] = field(default=None, init=False)