| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971 |
- ############
- # Patterns #
- ############
- .patterns-c-files: &patterns-c-files
- - ".gitlab/ci/static-code-analysis.yml"
- - "tools/ci/static-analysis-rules.yml"
- - "tools/ci/clang_tidy_dirs.txt"
- - "**/*.{c,C}"
- - "**/*.{h,H}"
- - "components/**/Kconfig"
- - "components/**/CMakeList.txt"
- .patterns-python-files: &patterns-python-files
- - ".gitlab/ci/static-code-analysis.yml"
- - "**/*.py"
- .patterns-sonarqube-files: &patterns-sonarqube-files
- - "tools/ci/sonar_exclude_list.txt"
- .patterns-example_test: &patterns-example_test
- - "tools/ci/python_packages/gitlab_api.py"
- - "tools/ci/python_packages/idf_http_server_test/**/*"
- - "tools/ci/python_packages/idf_iperf_test_util/**/*"
- - "tools/ci/python_packages/tiny_test_fw/**/*"
- - "tools/ci/python_packages/ttfw_idf/**/*"
- - "tools/ci/find_apps_build_apps.sh"
- - "tools/build_apps.py"
- - "tools/find_apps.py"
- - "tools/find_build_apps/**/*"
- - "tools/esp_prov/**/*"
- - "examples/**/*"
- .patterns-build-example_test: &patterns-build-example_test
- - "tools/ci/build_example_dirs.txt"
- - "tools/ci/get_supported_examples.sh"
- .patterns-build_components: &patterns-build_components
- - "components/**/*"
- - "examples/cxx/experimental/experimental_cpp_component/*"
- .patterns-build_system: &patterns-build_system
- - "tools/cmake/**/*"
- - "tools/kconfig_new/**/*"
- - "tools/tools.json"
- - "tools/ci/test_build_system*.sh"
- .patterns-custom_test: &patterns-custom_test
- - "components/espcoredump/**/*"
- - "tools/ci/python_packages/gitlab_api.py"
- - "tools/ci/python_packages/tiny_test_fw/**/*"
- - "tools/ci/python_packages/ttfw_idf/**/*"
- - "tools/ci/find_apps_build_apps.sh"
- - "tools/build_apps.py"
- - "tools/find_apps.py"
- - "tools/find_build_apps/**/*"
- - "tools/test_apps/**/*"
- - "tools/ldgen/**/*"
- .patterns-unit_test: &patterns-unit_test
- - "tools/ci/python_packages/gitlab_api.py"
- - "tools/ci/python_packages/tiny_test_fw/**/*"
- - "tools/ci/python_packages/ttfw_idf/**/*"
- - "tools/ci/find_apps_build_apps.sh"
- - "tools/build_apps.py"
- - "tools/find_apps.py"
- - "tools/find_build_apps/**/*"
- - "tools/unit-test-app/**/*"
- .patterns-component_ut: &patterns-component_ut
- - "tools/ci/python_packages/gitlab_api.py"
- - "tools/ci/python_packages/tiny_test_fw/**/*"
- - "tools/ci/python_packages/ttfw_idf/**/*"
- - "tools/ci/find_apps_build_apps.sh"
- - "tools/build_apps.py"
- - "tools/find_apps.py"
- - "tools/find_build_apps/**/*"
- - "components/**/test_apps/**/*"
- .patterns-integration_test: &patterns-integration_test
- - "tools/ci/python_packages/tiny_test_fw/**/*"
- .patterns-host_test: &patterns-host_test
- - ".gitlab/ci/host-test.yml"
- - "components/**/*"
- - "tools/ci/test_autocomplete.py"
- - "tools/ci/test_build_system.sh"
- - "tools/ci/test_build_system_cmake.sh"
- - "tools/ci/test_check_kconfigs.py"
- - "tools/ci/test_configure_ci_environment.sh"
- - "tools/mass_mfg/**/*"
- - "tools/esp_app_trace/**/*"
- - "tools/ldgen/**/*"
- - "tools/idf_monitor_base/*"
- - "tools/idf_monitor.py"
- - "tools/test_idf_monitor/**/*"
- - "tools/idf.py"
- - "tools/idf_py_actions/**/*"
- - "tools/test_idf_py/**/*"
- - "tools/idf_size.py"
- - "tools/idf_size_yaml/*"
- - "tools/test_idf_size/**/*"
- - "tools/tools.json"
- - "tools/tools_schema.json"
- - "tools/idf_tools.py"
- - "tools/test_idf_tools/**/*"
- - "tools/mkdfu.py"
- - "tools/test_mkdfu/**/*"
- - "tools/kconfig_new/**/*"
- - "tools/detect_python.sh"
- - "tools/detect_python.fish"
- .patterns-windows: &patterns-windows
- - "tools/windows/**/*"
- .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_esp32"
- - "components/bt/controller/lib_esp32c3_family"
- - "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_phy/lib"
- - "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/openthread/lib"
- - "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 #
- ##############
- .if-ref-master: &if-ref-master
- if: '$CI_COMMIT_REF_NAME == "master"'
- .if-tag-release: &if-tag-release
- if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/'
- .if-protected: &if-protected
- if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/)'
- .if-protected-no_label: &if-protected-no_label
- if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/) && $BOT_TRIGGER_WITH_LABEL == null'
- .if-dev-push: &if-dev-push
- if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event")'
- .if-schedule: &if-schedule
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- .if-trigger: &if-trigger
- if: '$CI_PIPELINE_SOURCE == "trigger"'
- .if-label-build-only: &if-label-build-only
- if: '$CI_JOB_STAGE == "target_test" && $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*For Maintainers: Only Build Tests(?:,[^,\n\r]+)*$/i'
- #########
- # Rules #
- #########
- .rules:protected:
- rules:
- - <<: *if-protected
- .rules:protected-no_label:
- rules:
- - <<: *if-protected-no_label
- .rules:dev:
- rules:
- - <<: *if-trigger
- - <<: *if-dev-push
- .rules:tag:release:
- rules:
- - <<: *if-tag-release
- .rules:ref:master-schedule:
- rules:
- - <<: *if-ref-master
- - <<: *if-schedule
- .rules:ref:master-schedule-always:
- rules:
- - <<: *if-ref-master
- when: always
- - <<: *if-schedule
- when: always
- .rules:patterns:clang_tidy:
- rules:
- - <<: *if-protected
- - <<: *if-dev-push
- changes: *patterns-c-files
- .rules:patterns:python-files:
- rules:
- - <<: *if-protected
- - <<: *if-dev-push
- changes: *patterns-python-files
- .rules:patterns:static-code-analysis-preview:
- rules:
- - <<: *if-dev-push
- changes: *patterns-c-files
- - <<: *if-dev-push
- changes: *patterns-python-files
- - <<: *if-dev-push
- changes: *patterns-sonarqube-files
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- # DO NOT place comments or maintain any code from this line
- #
- # Use dependencies.yml and generate_rules.py under .gitlab/ci/dependencies dir
- # to generate labels and rules
- # Could also use pre-commit hook to finish this if detected changes on
- # these two files
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- ##################
- # Auto Generated #
- ##################
- .if-label-build: &if-label-build
- if: '$BOT_LABEL_BUILD || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build(?:,[^,\n\r]+)*$/i'
- .if-label-component_ut: &if-label-component_ut
- if: '$BOT_LABEL_COMPONENT_UT || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut(?:,[^,\n\r]+)*$/i'
- .if-label-component_ut_esp32: &if-label-component_ut_esp32
- if: '$BOT_LABEL_COMPONENT_UT_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32(?:,[^,\n\r]+)*$/i'
- .if-label-component_ut_esp32c3: &if-label-component_ut_esp32c3
- if: '$BOT_LABEL_COMPONENT_UT_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32c3(?:,[^,\n\r]+)*$/i'
- .if-label-component_ut_esp32s2: &if-label-component_ut_esp32s2
- if: '$BOT_LABEL_COMPONENT_UT_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s2(?:,[^,\n\r]+)*$/i'
- .if-label-component_ut_esp32s3: &if-label-component_ut_esp32s3
- if: '$BOT_LABEL_COMPONENT_UT_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s3(?:,[^,\n\r]+)*$/i'
- .if-label-custom_test: &if-label-custom_test
- if: '$BOT_LABEL_CUSTOM_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test(?:,[^,\n\r]+)*$/i'
- .if-label-custom_test_esp32: &if-label-custom_test_esp32
- if: '$BOT_LABEL_CUSTOM_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32(?:,[^,\n\r]+)*$/i'
- .if-label-custom_test_esp32c3: &if-label-custom_test_esp32c3
- if: '$BOT_LABEL_CUSTOM_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32c3(?:,[^,\n\r]+)*$/i'
- .if-label-custom_test_esp32s2: &if-label-custom_test_esp32s2
- if: '$BOT_LABEL_CUSTOM_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s2(?:,[^,\n\r]+)*$/i'
- .if-label-custom_test_esp32s3: &if-label-custom_test_esp32s3
- if: '$BOT_LABEL_CUSTOM_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s3(?:,[^,\n\r]+)*$/i'
- .if-label-docker: &if-label-docker
- if: '$BOT_LABEL_DOCKER || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docker(?:,[^,\n\r]+)*$/i'
- .if-label-example_test: &if-label-example_test
- if: '$BOT_LABEL_EXAMPLE_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test(?:,[^,\n\r]+)*$/i'
- .if-label-example_test_esp32: &if-label-example_test_esp32
- if: '$BOT_LABEL_EXAMPLE_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32(?:,[^,\n\r]+)*$/i'
- .if-label-example_test_esp32c3: &if-label-example_test_esp32c3
- if: '$BOT_LABEL_EXAMPLE_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32c3(?:,[^,\n\r]+)*$/i'
- .if-label-example_test_esp32s2: &if-label-example_test_esp32s2
- if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s2(?:,[^,\n\r]+)*$/i'
- .if-label-example_test_esp32s3: &if-label-example_test_esp32s3
- if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s3(?:,[^,\n\r]+)*$/i'
- .if-label-fuzzer_test: &if-label-fuzzer_test
- if: '$BOT_LABEL_FUZZER_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*fuzzer_test(?:,[^,\n\r]+)*$/i'
- .if-label-host_test: &if-label-host_test
- if: '$BOT_LABEL_HOST_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*host_test(?:,[^,\n\r]+)*$/i'
- .if-label-integration_test: &if-label-integration_test
- if: '$BOT_LABEL_INTEGRATION_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*integration_test(?:,[^,\n\r]+)*$/i'
- .if-label-iperf_stress_test: &if-label-iperf_stress_test
- if: '$BOT_LABEL_IPERF_STRESS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*iperf_stress_test(?:,[^,\n\r]+)*$/i'
- .if-label-macos: &if-label-macos
- if: '$BOT_LABEL_MACOS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos(?:,[^,\n\r]+)*$/i'
- .if-label-macos_test: &if-label-macos_test
- if: '$BOT_LABEL_MACOS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos_test(?:,[^,\n\r]+)*$/i'
- .if-label-nvs_coverage: &if-label-nvs_coverage
- if: '$BOT_LABEL_NVS_COVERAGE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*nvs_coverage(?:,[^,\n\r]+)*$/i'
- .if-label-submodule: &if-label-submodule
- if: '$BOT_LABEL_SUBMODULE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*submodule(?:,[^,\n\r]+)*$/i'
- .if-label-unit_test: &if-label-unit_test
- if: '$BOT_LABEL_UNIT_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test(?:,[^,\n\r]+)*$/i'
- .if-label-unit_test_esp32: &if-label-unit_test_esp32
- if: '$BOT_LABEL_UNIT_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32(?:,[^,\n\r]+)*$/i'
- .if-label-unit_test_esp32c3: &if-label-unit_test_esp32c3
- if: '$BOT_LABEL_UNIT_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32c3(?:,[^,\n\r]+)*$/i'
- .if-label-unit_test_esp32s2: &if-label-unit_test_esp32s2
- if: '$BOT_LABEL_UNIT_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s2(?:,[^,\n\r]+)*$/i'
- .if-label-unit_test_esp32s3: &if-label-unit_test_esp32s3
- if: '$BOT_LABEL_UNIT_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s3(?:,[^,\n\r]+)*$/i'
- .if-label-weekend_test: &if-label-weekend_test
- if: '$BOT_LABEL_WEEKEND_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*weekend_test(?:,[^,\n\r]+)*$/i'
- .if-label-windows: &if-label-windows
- if: '$BOT_LABEL_WINDOWS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*windows(?:,[^,\n\r]+)*$/i'
- .rules:build:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- .rules:build:component_ut-esp32:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-component_ut
- .rules:build:component_ut-esp32c3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32c3
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32c3
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-component_ut
- .rules:build:component_ut-esp32s2:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32s2
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32s2
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-component_ut
- .rules:build:component_ut-esp32s3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32s3
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-component_ut
- .rules:build:custom_test-esp32:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32
- - <<: *if-label-weekend_test
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-custom_test
- .rules:build:custom_test-esp32c3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32c3
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-custom_test
- .rules:build:custom_test-esp32s2:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32s2
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-custom_test
- .rules:build:custom_test-esp32s3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-custom_test
- .rules:build:docker:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-docker
- - <<: *if-dev-push
- changes: *patterns-docker
- .rules:build:example_test-esp32:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32
- - <<: *if-label-iperf_stress_test
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-example_test
- .rules:build:example_test-esp32c3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32c3
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-example_test
- .rules:build:example_test-esp32s2:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32s2
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-example_test
- .rules:build:example_test-esp32s3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-example_test
- .rules:build:integration_test:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-integration_test
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-integration_test
- .rules:build:macos:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-macos
- - <<: *if-label-macos_test
- - <<: *if-dev-push
- changes: *patterns-build_system
- .rules:build:target_test:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32
- - <<: *if-label-component_ut_esp32c3
- - <<: *if-label-component_ut_esp32s2
- - <<: *if-label-component_ut_esp32s3
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32
- - <<: *if-label-custom_test_esp32c3
- - <<: *if-label-custom_test_esp32s2
- - <<: *if-label-custom_test_esp32s3
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32
- - <<: *if-label-example_test_esp32c3
- - <<: *if-label-example_test_esp32s2
- - <<: *if-label-example_test_esp32s3
- - <<: *if-label-integration_test
- - <<: *if-label-iperf_stress_test
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32
- - <<: *if-label-unit_test_esp32c3
- - <<: *if-label-unit_test_esp32s2
- - <<: *if-label-unit_test_esp32s3
- - <<: *if-label-weekend_test
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-component_ut
- - <<: *if-dev-push
- changes: *patterns-custom_test
- - <<: *if-dev-push
- changes: *patterns-example_test
- - <<: *if-dev-push
- changes: *patterns-integration_test
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:build:unit_test-esp32:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:build:unit_test-esp32c3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32c3
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:build:unit_test-esp32s2:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32s2
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:build:unit_test-esp32s3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-build_components
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:build:windows:
- rules:
- - <<: *if-protected
- - <<: *if-label-build
- - <<: *if-label-windows
- - <<: *if-dev-push
- changes: *patterns-build_system
- - <<: *if-dev-push
- changes: *patterns-windows
- .rules:labels:example_test-esp32c3:
- rules:
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-example_test_esp32c3
- .rules:labels:fuzzer_test-weekend_test:
- rules:
- - <<: *if-label-fuzzer_test
- - <<: *if-label-weekend_test
- .rules:labels:iperf_stress_test:
- rules:
- - <<: *if-label-iperf_stress_test
- .rules:labels:nvs_coverage:
- rules:
- - <<: *if-label-nvs_coverage
- .rules:labels:weekend_test:
- rules:
- - <<: *if-label-weekend_test
- .rules:test:any_test:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32
- - <<: *if-label-component_ut_esp32c3
- - <<: *if-label-component_ut_esp32s2
- - <<: *if-label-component_ut_esp32s3
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32
- - <<: *if-label-custom_test_esp32c3
- - <<: *if-label-custom_test_esp32s2
- - <<: *if-label-custom_test_esp32s3
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32
- - <<: *if-label-example_test_esp32s2
- - <<: *if-label-example_test_esp32s3
- - <<: *if-label-host_test
- - <<: *if-label-integration_test
- - <<: *if-label-iperf_stress_test
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32
- - <<: *if-label-unit_test_esp32c3
- - <<: *if-label-unit_test_esp32s2
- - <<: *if-label-unit_test_esp32s3
- - <<: *if-label-weekend_test
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-component_ut
- - <<: *if-dev-push
- changes: *patterns-custom_test
- - <<: *if-dev-push
- changes: *patterns-example_test
- - <<: *if-dev-push
- changes: *patterns-host_test
- - <<: *if-dev-push
- changes: *patterns-integration_test
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:test:component_ut-esp32:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32
- - <<: *if-dev-push
- changes: *patterns-component_ut
- .rules:test:component_ut-esp32c3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32c3
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32c3
- - <<: *if-dev-push
- changes: *patterns-component_ut
- .rules:test:component_ut-esp32s2:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32s2
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32s2
- - <<: *if-dev-push
- changes: *patterns-component_ut
- .rules:test:component_ut-esp32s3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32s3
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-component_ut
- .rules:test:custom_test-esp32:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32
- - <<: *if-dev-push
- changes: *patterns-custom_test
- .rules:test:custom_test-esp32c3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32c3
- - <<: *if-dev-push
- changes: *patterns-custom_test
- .rules:test:custom_test-esp32s2:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32s2
- - <<: *if-dev-push
- changes: *patterns-custom_test
- .rules:test:custom_test-esp32s3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-custom_test
- .rules:test:example_test-esp32:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-example_test
- .rules:test:example_test-esp32s2:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32s2
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-example_test
- .rules:test:example_test-esp32s3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-example_test
- .rules:test:host_test:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-host_test
- - <<: *if-dev-push
- changes: *patterns-host_test
- .rules:test:integration_test:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-integration_test
- - <<: *if-dev-push
- changes: *patterns-integration_test
- .rules:test:submodule:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-submodule
- - <<: *if-dev-push
- changes: *patterns-submodule
- .rules:test:target_test:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-component_ut
- - <<: *if-label-component_ut_esp32
- - <<: *if-label-component_ut_esp32c3
- - <<: *if-label-component_ut_esp32s2
- - <<: *if-label-component_ut_esp32s3
- - <<: *if-label-custom_test
- - <<: *if-label-custom_test_esp32
- - <<: *if-label-custom_test_esp32c3
- - <<: *if-label-custom_test_esp32s2
- - <<: *if-label-custom_test_esp32s3
- - <<: *if-label-example_test
- - <<: *if-label-example_test_esp32
- - <<: *if-label-example_test_esp32s2
- - <<: *if-label-example_test_esp32s3
- - <<: *if-label-integration_test
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32
- - <<: *if-label-unit_test_esp32c3
- - <<: *if-label-unit_test_esp32s2
- - <<: *if-label-unit_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-build-example_test
- - <<: *if-dev-push
- changes: *patterns-component_ut
- - <<: *if-dev-push
- changes: *patterns-custom_test
- - <<: *if-dev-push
- changes: *patterns-example_test
- - <<: *if-dev-push
- changes: *patterns-integration_test
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:test:unit_test-esp32:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:test:unit_test-esp32c3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32c3
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:test:unit_test-esp32s2:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32s2
- - <<: *if-dev-push
- changes: *patterns-unit_test
- .rules:test:unit_test-esp32s3:
- rules:
- - <<: *if-protected
- - <<: *if-label-build-only
- when: never
- - <<: *if-label-unit_test
- - <<: *if-label-unit_test_esp32s3
- - <<: *if-dev-push
- changes: *patterns-unit_test
|