diff --git a/bin/ci/ci_run_n_monitor.py b/bin/ci/ci_run_n_monitor.py index 0657c3449b6..987deda427d 100755 --- a/bin/ci/ci_run_n_monitor.py +++ b/bin/ci/ci_run_n_monitor.py @@ -45,7 +45,7 @@ REFRESH_WAIT_LOG = 10 REFRESH_WAIT_JOBS = 6 MAX_ENABLE_JOB_ATTEMPTS = 3 -STATUS_COLORS = { +STATUS_COLORS = defaultdict(lambda: "", { "created": "", "running": "[blue]", "success": "[green]", @@ -55,7 +55,7 @@ STATUS_COLORS = { "manual": "", "pending": "", "skipped": "", -} +}) COMPLETED_STATUSES = frozenset({"success", "failed"}) RUNNING_STATUSES = frozenset({"created", "pending", "running"})