Merge branch 'pipelines' into 'main'

.gitlab-ci.yml; Cancel redundant pipelines in the CI.

See merge request app-frameworks/esp-matter!1127
This commit is contained in:
Hrishikesh Dhayagude
2025-06-05 18:08:45 +08:00
3 changed files with 90 additions and 1 deletions
+12
View File
@@ -1,4 +1,5 @@
stages:
- cleanup
- docker_build
- build
- target_test
@@ -138,6 +139,17 @@ variables:
- cd $ESP_MATTER_PATH/examples/controller
- idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults.otbr" set-target esp32s3 build
cancel_redundant_pipelines:
stage: cleanup
image: python:3.12-slim
tags:
- cancel-pipeline
rules:
- if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"'
script:
- pip install --no-cache-dir requests
- python tools/ci/cancel_pipelines.py
build_image:
stage: docker_build
image: espressif/dind:1