|
|
@@ -134,6 +134,35 @@
|
|
|
.patterns-docker: &patterns-docker
|
|
|
- "tools/docker/**/*"
|
|
|
|
|
|
+.patterns-submodule: &patterns-submodule
|
|
|
+ - "components/asio/asio"
|
|
|
+ - "components/bootloader/subproject/components/micro-ecc/micro-ecc"
|
|
|
+ - "components/bt/controller/lib"
|
|
|
+ - "components/bt/host/nimble/nimble"
|
|
|
+ - "components/cbor/tinycbor"
|
|
|
+ - "components/cmock/CMock"
|
|
|
+ - "components/cmock/CMock/vendor/c_exception"
|
|
|
+ - "components/cmock/CMock/vendor/unity"
|
|
|
+ - "components/coap/libcoap"
|
|
|
+ - "components/coap/libcoap/ext/tinydtls"
|
|
|
+ - "components/esp_wifi/lib"
|
|
|
+ - "components/esptool_py/esptool"
|
|
|
+ - "components/expat/expat"
|
|
|
+ - "components/json/cJSON"
|
|
|
+ - "components/libsodium/libsodium"
|
|
|
+ - "components/lwip/lwip"
|
|
|
+ - "components/mbedtls/mbedtls"
|
|
|
+ - "components/mqtt/esp-mqtt"
|
|
|
+ - "components/nghttp/nghttp2"
|
|
|
+ - "components/nghttp/nghttp2/third-party/mruby"
|
|
|
+ - "components/nghttp/nghttp2/third-party/neverbleed"
|
|
|
+ - "components/protobuf-c/protobuf-c"
|
|
|
+ - "components/spiffs/spiffs"
|
|
|
+ - "components/tinyusb/tinyusb"
|
|
|
+ - "components/unity/unity"
|
|
|
+ - "examples/build_system/cmake/import_lib/main/lib/tinyxml2"
|
|
|
+ - "examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib"
|
|
|
+
|
|
|
##############
|
|
|
# if anchors #
|
|
|
##############
|
|
|
@@ -297,6 +326,9 @@
|
|
|
.if-label-nvs_coverage: &if-label-nvs_coverage
|
|
|
if: '$BOT_LABEL_NVS_COVERAGE'
|
|
|
|
|
|
+.if-label-submodule: &if-label-submodule
|
|
|
+ if: '$BOT_LABEL_SUBMODULE'
|
|
|
+
|
|
|
.if-label-unit_test: &if-label-unit_test
|
|
|
if: '$BOT_LABEL_UNIT_TEST'
|
|
|
|
|
|
@@ -396,6 +428,9 @@
|
|
|
.if-title-nvs_coverage: &if-title-nvs_coverage
|
|
|
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*nvs_coverage(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*nvs_coverage(?:[, ]+\w+)*/i'
|
|
|
|
|
|
+.if-title-submodule: &if-title-submodule
|
|
|
+ if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*submodule(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*submodule(?:[, ]+\w+)*/i'
|
|
|
+
|
|
|
.if-title-unit_test: &if-title-unit_test
|
|
|
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test(?:[, ]+\w+)*/i'
|
|
|
|
|
|
@@ -1086,6 +1121,14 @@
|
|
|
- <<: *if-dev-push
|
|
|
changes: *patterns-integration_test
|
|
|
|
|
|
+.rules:test:submodule:
|
|
|
+ rules:
|
|
|
+ - <<: *if-protected
|
|
|
+ - <<: *if-label-submodule
|
|
|
+ - <<: *if-title-submodule
|
|
|
+ - <<: *if-dev-push
|
|
|
+ changes: *patterns-submodule
|
|
|
+
|
|
|
.rules:test:target_test:
|
|
|
rules:
|
|
|
- <<: *if-protected
|