File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
ci/dynamic_pipelines/scripts Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 88
99import __init__ # noqa: F401 # inject the system path
1010from idf_build_apps import json_list_files_to_apps
11+ from idf_ci import GitlabEnvVars
1112from idf_ci_local .app import enrich_apps_with_metrics_info
1213
1314from dynamic_pipelines .report import BuildReportGenerator
@@ -116,6 +117,10 @@ def generate_target_test_report(args: argparse.Namespace) -> None:
116117 )
117118 report_generator .post_report ()
118119
120+ if GitlabEnvVars ().IDF_CI_IS_DEBUG_PIPELINE :
121+ print ('Debug pipeline detected, exit non-zero to fail the pipeline in order to block merge' )
122+ exit (30 )
123+
119124
120125def generate_jobs_report (args : argparse .Namespace ) -> None :
121126 jobs : t .List [t .Any ] = fetch_failed_jobs (args .commit_id )
Original file line number Diff line number Diff line change 66# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/tools/idf-tools.html
77
88# ci
9- idf-ci==0.1.35
9+ idf-ci>=0.2.3,<1
1010
1111coverage
1212jsonschema
You can’t perform that action at this time.
0 commit comments