File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,15 +126,10 @@ jobs:
126126 # initial-delay-seconds: '300' Don't need this, as the job is executed after system tests
127127 polling-interval-seconds : ' 60'
128128 max-retries : ' 120'
129- # Ignore gitlab jobs that are not K8S_LIB* (K8s lib injection),
130- # system_tests_e2e_run_pipeline_[0-2], mirror_images, build_base_images,
131- # build_base_images_amd64, build_base_images_arm64, *DOC (docker ssi),
132- # or *DO5A (docker ssi crashtracking).
133- # Also ignore the job that waits for the tests to succeed before adding
134- # to the merge queue.
129+ # Every GitLab job must pass. Ignore the merge-queue checks that wait
130+ # for this gate and the aggregate DDCI status.
135131
136132 ignored-name-patterns : |
137- dd-gitlab/(?!(?:K8S_LIB|system_tests_e2e_run_pipeline_[0-2]$|mirror_images$|build_base_images$|build_base_images_amd64$|build_base_images_arm64$)).*$(?<!DOC)(?<!DO5A)
138133 devflow/merge
139134 devflow/mergegate
140135 DDCI Status
Original file line number Diff line number Diff line change 11from pathlib import Path
2- import re
32
43import yaml
54
@@ -22,13 +21,9 @@ def test_coordinator_jobs_remain_on_amd64(self) -> None:
2221 assert component [".system_tests_param_base" ]["tags" ] == ["arch:amd64" ]
2322 assert component ["system_tests_build_pipeline" ]["tags" ] == ["arch:amd64" ]
2423
25- def test_all_child_pipeline_bridges_are_merge_blocking (self ) -> None :
24+ def test_all_gitlab_jobs_are_merge_blocking (self ) -> None :
2625 workflow = yaml .safe_load (Path (".github/workflows/ci.yml" ).read_text ())
2726 ignored_patterns = workflow ["jobs" ]["all-jobs-are-green" ]["steps" ][0 ]["with" ]["ignored-name-patterns" ]
2827 patterns = ignored_patterns .splitlines ()
2928
30- for index in range (3 ):
31- check_name = f"dd-gitlab/system_tests_e2e_run_pipeline_{ index } "
32- assert not any (re .search (pattern , check_name ) for pattern in patterns )
33-
34- assert any (re .search (pattern , "dd-gitlab/unrelated-job" ) for pattern in patterns )
29+ assert patterns == ["devflow/merge" , "devflow/mergegate" , "DDCI Status" ]
You can’t perform that action at this time.
0 commit comments