Merge branch 'cherry_pick/resource_group_fix' into 'release/v1.5'

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

See merge request app-frameworks/esp-matter!1463
This commit is contained in:
Hrishikesh Dhayagude
2026-03-18 14:46:08 +08:00
+12
View File
@@ -286,6 +286,7 @@ build_image:
IDF_CCACHE_ENABLE: 1 IDF_CCACHE_ENABLE: 1
build_esp_matter_examples_pytest_C6: build_esp_matter_examples_pytest_C6:
resource_group: build_esp_matter_examples_pytest_C6
extends: extends:
- .build_examples_template - .build_examples_template
artifacts: artifacts:
@@ -306,6 +307,7 @@ build_esp_matter_examples_pytest_C6:
- python tools/ci/build_apps.py ./examples --pytest_c6 - python tools/ci/build_apps.py ./examples --pytest_c6
build_esp_matter_examples_pytest_H2: build_esp_matter_examples_pytest_H2:
resource_group: build_esp_matter_examples_pytest_H2
extends: extends:
- .build_examples_template - .build_examples_template
artifacts: artifacts:
@@ -343,6 +345,7 @@ build_esp_matter_examples_pytest_H2:
fi fi
build_esp_matter_examples_pytest_C2: build_esp_matter_examples_pytest_C2:
resource_group: build_esp_matter_examples_pytest_C2
extends: extends:
- .build_examples_template - .build_examples_template
artifacts: artifacts:
@@ -371,6 +374,7 @@ build_esp_matter_examples_pytest_C2:
build_override_sdkconfig_examples: build_override_sdkconfig_examples:
resource_group: build_override_sdkconfig_examples
extends: extends:
- .build_examples_template - .build_examples_template
script: script:
@@ -381,6 +385,7 @@ build_override_sdkconfig_examples:
- *build_lit_icd_example - *build_lit_icd_example
build_zap_light_example: build_zap_light_example:
resource_group: build_zap_light_example
extends: extends:
- .build_examples_template - .build_examples_template
script: script:
@@ -392,6 +397,7 @@ build_zap_light_example:
- idf.py set-target esp32h2 build - idf.py set-target esp32h2 build
build_esp_matter_examples: build_esp_matter_examples:
resource_group: build_esp_matter_examples_${CI_NODE_INDEX}
extends: extends:
- .build_examples_template - .build_examples_template
artifacts: artifacts:
@@ -431,6 +437,7 @@ build_esp_matter_examples:
parallel: 2 parallel: 2
build_nopytest_remaining_examples_manual: build_nopytest_remaining_examples_manual:
resource_group: build_nopytest_remaining_examples_manual_${CI_NODE_INDEX}
extends: extends:
- .build_examples_template - .build_examples_template
rules: rules:
@@ -460,6 +467,7 @@ build_nopytest_remaining_examples_manual:
build_esp_matter_examples_idf_v4_4: build_esp_matter_examples_idf_v4_4:
resource_group: build_esp_matter_examples_idf_v4_4
extends: extends:
- .build_examples_template - .build_examples_template
image: ${DOCKER_IMAGE_NAME}:chip_${CHIP_SHORT_HASH}_idf_${IDF_CHECKOUT_REF} image: ${DOCKER_IMAGE_NAME}:chip_${CHIP_SHORT_HASH}_idf_${IDF_CHECKOUT_REF}
@@ -495,6 +503,7 @@ build_esp_matter_examples_idf_v4_4:
build_esp_matter_examples_pytest_C3: build_esp_matter_examples_pytest_C3:
resource_group: build_esp_matter_examples_pytest_C3
extends: extends:
- .build_examples_template - .build_examples_template
image: ${DOCKER_IMAGE_NAME}:chip_${CHIP_SHORT_HASH}_idf_${IDF_CHECKOUT_REF} image: ${DOCKER_IMAGE_NAME}:chip_${CHIP_SHORT_HASH}_idf_${IDF_CHECKOUT_REF}
@@ -595,6 +604,7 @@ pytest_esp32h2_esp_matter_dut:
tags: ["esp32h2", "esp_matter_dut"] tags: ["esp32h2", "esp_matter_dut"]
build_upstream_examples: build_upstream_examples:
resource_group: build_upstream_examples
extends: extends:
- .build_examples_template - .build_examples_template
when: manual when: manual
@@ -602,6 +612,7 @@ build_upstream_examples:
- *build_matter_examples - *build_matter_examples
build_managed_component_light: build_managed_component_light:
resource_group: build_managed_component_light
extends: extends:
- .build_managed_component_light_example - .build_managed_component_light_example
needs: needs:
@@ -615,6 +626,7 @@ build_managed_component_light:
# This job is allowed to fail due to a circular dependency with esp-rainmaker. # This job is allowed to fail due to a circular dependency with esp-rainmaker.
build_esp_rainmaker_apps: build_esp_rainmaker_apps:
resource_group: build_esp_rainmaker_apps
stage: build stage: build
image: ${DOCKER_IMAGE_NAME}:chip_${CHIP_SHORT_HASH}_idf_${IDF_CHECKOUT_REF} 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. # Allow failures to avoid circular dependency with any breaking changes in the Esp-Matter SDK.