Skip to content

DNM: Merge test+nightly pipelines #33245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions ci/mkpipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def main() -> int:
so it is executed.""",
)

parser.add_argument("--coverage", action="store_true")
parser.add_argument("--coverage", action="store_true", default=True)
parser.add_argument(
"--sanitizer",
default=Sanitizer[os.getenv("CI_SANITIZER", "none")],
Expand Down Expand Up @@ -211,7 +211,7 @@ def fetch_hashes() -> None:
args.bazel_remote_cache,
bazel_lto,
)
remove_dependencies_on_prs(pipeline, args.pipeline, hash_check)
# remove_dependencies_on_prs(pipeline, args.pipeline, hash_check)
remove_mz_specific_keys(pipeline)

print("--- Uploading new pipeline:")
Expand Down Expand Up @@ -362,7 +362,6 @@ def visit(step: dict[str, Any]) -> None:
visit(inner_step)

if coverage:
pipeline["env"]["CI_BUILDER_SCCACHE"] = 1
pipeline["env"]["CI_COVERAGE_ENABLED"] = 1

for step in steps(pipeline):
Expand All @@ -374,8 +373,11 @@ def visit(step: dict[str, Any]) -> None:
step["skip"] = True
if step.get("id") == "build-x86_64":
step["name"] = "Build x86_64 with coverage"
if step.get("id") == "build-aarch":
if step.get("id") == "build-aarch64":
step["name"] = "Build aarch64 with coverage"
if step.get("id") == "cargo-test":
step["agents"]["queue"] = "hetzner-x86-64-dedi-32cpu-128gb"
del step["parallelism"]
else:
for step in steps(pipeline):
if step.get("coverage") == "only":
Expand Down
Loading