Merge branch 'fix/buildv2_fake_pass_pipeline' into 'master'

ci(buildv2): skip patching the fake_pass build child pipeline

Closes ITOPS-314 and IDF-16025

See merge request espressif/esp-idf!51259
This commit is contained in:
Sudeep Mohanty
2026-08-05 15:16:40 +02:00
4 changed files with 85 additions and 0 deletions
@@ -33,6 +33,13 @@ def patch(path: str) -> None:
with open(path) as f:
d = yaml.safe_load(f)
if 'fake_pass' in d:
# idf-ci emitted a skip pipeline (no apps matched the modified files): there
# are no build jobs to activate and no included generate_pytest_child_pipeline
# to redefine. Leave it untouched so Build system v2 skips like the default path.
print('Skip pipeline (fake_pass) detected, leaving it untouched')
return
injected = []
for k, v in d.items():
if isinstance(v, dict) and 'extends' in v: