mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user