[v1.4.2] gitlab-ci.yml: Added gitlab resource groups logic to avoid arbitary build failures.

This commit is contained in:
shripad621git
2026-03-12 15:46:14 +05:30
parent 1843e5b4ec
commit 25b9985490
+12
View File
@@ -285,6 +285,7 @@ build_image:
IDF_CCACHE_ENABLE: 1
build_esp_matter_examples_pytest_C6:
resource_group: build_esp_matter_examples_pytest_C6
extends:
- .build_examples_template
artifacts:
@@ -305,6 +306,7 @@ build_esp_matter_examples_pytest_C6:
- python tools/ci/build_apps.py ./examples --pytest_c6
build_esp_matter_examples_pytest_H2:
resource_group: build_esp_matter_examples_pytest_H2
extends:
- .build_examples_template
artifacts:
@@ -342,6 +344,7 @@ build_esp_matter_examples_pytest_H2:
fi
build_esp_matter_examples_pytest_C2:
resource_group: build_esp_matter_examples_pytest_C2
extends:
- .build_examples_template
artifacts:
@@ -370,6 +373,7 @@ build_esp_matter_examples_pytest_C2:
build_override_sdkconfig_examples:
resource_group: build_override_sdkconfig_examples
extends:
- .build_examples_template
script:
@@ -380,6 +384,7 @@ build_override_sdkconfig_examples:
- *build_lit_icd_example
build_zap_light_example:
resource_group: build_zap_light_example
extends:
- .build_examples_template
script:
@@ -391,6 +396,7 @@ build_zap_light_example:
- idf.py set-target esp32h2 build
build_esp_matter_examples:
resource_group: build_esp_matter_examples_${CI_NODE_INDEX}
extends:
- .build_examples_template
artifacts:
@@ -430,6 +436,7 @@ build_esp_matter_examples:
parallel: 2
build_nopytest_remaining_examples_manual:
resource_group: build_nopytest_remaining_examples_manual_${CI_NODE_INDEX}
extends:
- .build_examples_template
rules:
@@ -459,6 +466,7 @@ build_nopytest_remaining_examples_manual:
build_esp_matter_examples_idf_v4_4:
resource_group: build_esp_matter_examples_idf_v4_4
extends:
- .build_examples_template
image: ${DOCKER_IMAGE_NAME}:chip_${CHIP_SHORT_HASH}_idf_${IDF_CHECKOUT_REF}
@@ -493,6 +501,7 @@ build_esp_matter_examples_idf_v4_4:
build_esp_matter_examples_pytest_C3:
resource_group: build_esp_matter_examples_pytest_C3
extends:
- .build_examples_template
image: ${DOCKER_IMAGE_NAME}:chip_${CHIP_SHORT_HASH}_idf_${IDF_CHECKOUT_REF}
@@ -593,6 +602,7 @@ pytest_esp32h2_esp_matter_dut:
tags: ["esp32h2", "esp_matter_dut"]
build_upstream_examples:
resource_group: build_upstream_examples
extends:
- .build_examples_template
when: manual
@@ -600,6 +610,7 @@ build_upstream_examples:
- *build_matter_examples
build_managed_component_light:
resource_group: build_managed_component_light
extends:
- .build_managed_component_light_example
needs:
@@ -613,6 +624,7 @@ build_managed_component_light:
# This job is allowed to fail due to a circular dependency with esp-rainmaker.
build_esp_rainmaker_apps:
resource_group: build_esp_rainmaker_apps
stage: build
image: ${DOCKER_IMAGE_NAME}:chip_${CHIP_SHORT_HASH}_idf_${IDF_CHECKOUT_REF}
# Allow failures to avoid circular dependency with any breaking changes in the Esp-Matter SDK.