ci: remove build report and failed job report

This commit is contained in:
Fu Hanxi
2026-07-07 11:07:16 +02:00
parent 148c5e26f7
commit d8f4d6ccda
15 changed files with 4 additions and 3685 deletions
-18
View File
@@ -4,7 +4,6 @@
# some CI related util functions
import logging
import os
import re
import subprocess
import sys
import typing as t
@@ -243,23 +242,6 @@ class GitlabYmlConfig:
return self.config[name] # type: ignore
def sanitize_job_name(name: str) -> str:
"""
Sanitize the job name from CI_JOB_NAME
- for job with `parallel: int` set, the `CI_JOB_NAME` would be `job_name index/total`, like `foo 1/3`
- for job with `parallel: matrix` set, the `CI_JOB_NAME` would be `job_name: [var1, var2]`, like `foo: [a, b]`
We consider
- the jobs generated by `parallel: int` as the same job, i.e., we remove the index/total part.
- the jobs generated by `parallel: matrix` as different jobs, so we keep the matrix part.
:param name: job name
:return: sanitized job name
"""
return re.sub(r' \d+/\d+', '', name)
def idf_relpath(p: str) -> str:
"""
Turn all paths under IDF_PATH to relative paths