From eeb27c6e29dbfc45b06a1ba848f8cfd7d5c04259 Mon Sep 17 00:00:00 2001 From: Kochetkov S Date: Tue, 27 Oct 2026 22:36:55 +0300 Subject: [PATCH] ++ slice jobs allow failure --- ci/publish-slice.py | 1 + ci/tests/test_build_slice.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ci/publish-slice.py b/ci/publish-slice.py index 3210277..a9e9468 100644 --- a/ci/publish-slice.py +++ b/ci/publish-slice.py @@ -47,6 +47,7 @@ def child_pipeline(contours: list[str], release: str, commit: str) -> str: "stage": "slices", "image": JOB_IMAGE, "tags": ["build"], + "allow_failure": True, "variables": {"GIT_DEPTH": "1"}, "script": [ "printf '%s' \"$SLICES_PUSHER_KEY\" | base64 -d > /tmp/slices-key.json", diff --git a/ci/tests/test_build_slice.py b/ci/tests/test_build_slice.py index 2436bc9..7370eed 100644 --- a/ci/tests/test_build_slice.py +++ b/ci/tests/test_build_slice.py @@ -88,5 +88,6 @@ def test_child_pipeline_has_one_job_per_contour(): doc = yaml.safe_load(ps.child_pipeline(["stand", "vad"], "3.9.68", "abcdef1234")) jobs = {k: v for k, v in doc.items() if k != "stages"} assert sorted(jobs) == ["slice stand", "slice vad"] + assert all(j["allow_failure"] for j in jobs.values()) assert "--contour vad --release 3.9.68 --commit abcdef1234" in jobs["slice vad"]["script"][1] assert all(ord(ch) < 128 for ch in ps.child_pipeline(["stand"], "1.0.0", "a" * 40))