mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'ci/remove_commit_trigger_and_wip_restriction' into 'master'
CI: remove commit trigger and wip restriction See merge request espressif/esp-idf!12580
This commit is contained in:
commit
8ce9e17718
@ -14,12 +14,6 @@ workflow:
|
||||
# Disable those non-protected push triggered pipelines
|
||||
- if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && $CI_PIPELINE_SOURCE == "push"'
|
||||
when: never
|
||||
- if: '$CI_COMMIT_TITLE =~ /^test[ _]ci:/'
|
||||
when: always
|
||||
- if: '$CI_MERGE_REQUEST_IID && $CI_MERGE_REQUEST_TITLE =~ /^wip|draft:/i'
|
||||
when: never
|
||||
- if: '$CI_COMMIT_TITLE =~ /^wip|draft/i'
|
||||
when: never
|
||||
- when: always
|
||||
|
||||
variables:
|
||||
|
@ -5,7 +5,6 @@
|
||||
- [What if Expected Jobs ARE NOT Created?](#what-if-expected-jobs-are-not-created)
|
||||
- [MR labels for additional jobs](#mr-labels-for-additional-jobs)
|
||||
- [Supported MR Labels](#supported-mr-labels)
|
||||
- [Usages](#usages)
|
||||
- [How to trigger a `detached` pipeline without pushing new commits?](#how-to-trigger-a-detached-pipeline-without-pushing-new-commits)
|
||||
- [How to Develop With `rules.yml`?](#how-to-develop-with-rulesyml)
|
||||
- [General Concepts](#general-concepts)
|
||||
@ -28,19 +27,13 @@
|
||||
3. A `detached` pipeline will be created.
|
||||
4. if you push a new commit, a new pipeline will be created automatically.
|
||||
|
||||
**Details:**
|
||||
|
||||
1. If an MR title starts with `WIP:` or `Draft:`, push commit will NOT trigger a merge-request pipeline
|
||||
2. If a commit message starts with `test ci:`, pushing a commit will trigger a merge-request pipeline even when the MR title starts with `WIP:` or `Draft:`.
|
||||
3. If a commit message starts with `WIP:` or `Draft:`, push commit will NOT trigger a pipeline
|
||||
|
||||
## What if Expected Jobs ARE NOT Created?
|
||||
|
||||
1. check the file patterns
|
||||
|
||||
If you found a job that is not running as expected with some file changes, a git commit to improve the `pattern` will be appreciated.
|
||||
|
||||
2. please add MR labels to run additional tests
|
||||
2. please add MR labels to run additional tests, currently we have to do this only for `target-test` jobs, please use it as few as possible. Our final goal is to remove all the labels and let the file changes decide everything!
|
||||
|
||||
## MR labels for additional jobs
|
||||
|
||||
@ -70,24 +63,15 @@ There are two general labels (not recommended since these two labels will trigge
|
||||
- `target_test`: includes all target for `example_test`, `custom_test`, `component_ut`, `unit_test`, `integration_test`
|
||||
- `all_test`: includes all test labels
|
||||
|
||||
### Usages
|
||||
|
||||
We have two ways to run additional jobs
|
||||
|
||||
- Add these labels in the MR `labels`
|
||||
- Add these labels in the commit message (not the first line). For example:
|
||||
|
||||
```
|
||||
ci: detect file changes to assign jobs
|
||||
|
||||
test labels: example_test_esp32, custom_test_esp32
|
||||
```
|
||||
|
||||
The additional test labels line should start with `test label(s):` and the labels should be separated by space or comma.
|
||||
|
||||
### How to trigger a `detached` pipeline without pushing new commits?
|
||||
|
||||
Go to MR web page -> `Pipelines` tab -> click `Run pipeline` button
|
||||
Go to MR web page -> `Pipelines` tab -> click `Run pipeline` button.
|
||||
|
||||
In very rare case, this tab will not show up because no merge_request pipeline is created before. Please use web API then.
|
||||
|
||||
```shell
|
||||
curl -X POST --header "PRIVATE-TOKEN: [YOUR PERSONAL ACCESS TOKEN]" [GITLAB_SERVER]/api/v4/projects/103/merge_requests/[MERGE_REQUEST_IID]/pipelines
|
||||
```
|
||||
|
||||
## How to Develop With `rules.yml`?
|
||||
|
||||
@ -100,32 +84,21 @@ Go to MR web page -> `Pipelines` tab -> click `Run pipeline` button
|
||||
- "**/*.py"
|
||||
```
|
||||
|
||||
- `label`: (deprecated). Defined in an if clause, similar as the previous bot command. A GitLab job will be created if the pipeline variables contains variables in `BOT_LABEL_xxx` format. For example:
|
||||
- `label`: Defined in an if clause, similar as the previous bot command. A GitLab job will be created if the pipeline variables contains variables in `BOT_LABEL_xxx` format (DEPRECATED) or included in the MR labels. For example:
|
||||
|
||||
```yaml
|
||||
.if-label-build_docs: &if-label-build_docs
|
||||
if: '$BOT_LABEL_BUILD_DOCS'
|
||||
if: '$BOT_LABEL_BUILD_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build_docs(?:,[^,\n\r]+)*$/i'
|
||||
```
|
||||
|
||||
- `title`: Defined in an if clause. A GitLab job will be created if this title included in the MR labels or in the commit message title. For example:
|
||||
|
||||
```yaml
|
||||
.if-title-docs: &if-title-docs
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:\w+,)*docs(?:,\w+)*$/i || $CI_COMMIT_TITLE =~ /\((?:\w+\s+)*docs(?:\s+\w+)*\)$/i'
|
||||
```
|
||||
|
||||
- `rule`: A combination of various patterns, labels, and titles. It will be used by GitLab YAML `extends` keyword to tell GitLab in what conditions will this job be created. For example:
|
||||
- `rule`: A combination of various patterns, and labels. It will be used by GitLab YAML `extends` keyword to tell GitLab in what conditions will this job be created. For example:
|
||||
|
||||
```yaml
|
||||
.rules:build:docs:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-build_docs
|
||||
- <<: *if-title-build_docs
|
||||
- <<: *if-label-docs
|
||||
- <<: *if-title-docs
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-docs
|
||||
```
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
This script can do only two things:
|
||||
|
||||
1. Auto-generate some labels/titles/rules we need and update them in `rules.yml`
|
||||
1. Auto-generate some labels/rules we need and update them in `rules.yml`
|
||||
2. Generate a dependency tree graph
|
||||
|
||||
## Schema
|
||||
@ -14,7 +14,7 @@ This file only used basic YAML grammar and has nothing to do with the GitLab ver
|
||||
It has five custom keywords:
|
||||
|
||||
- `matrix`: An array of sub-arrays, used to replicate rules by formatting strings. You can use the format string everywhere, it will be formatted recursively
|
||||
- `labels`: An array of `labels`. Also indicates `titles` with the same names
|
||||
- `labels`: An array of `labels`.
|
||||
- `patterns`: An array of `patterns`. Patterns that not included
|
||||
- `included_in`: An array of other `rule` names. It indicates the `labels` and `patterns` will be included in all specified `rules` as well
|
||||
- `deploy`: An array of strings, used to replicate rules by adding postfix `-<item in deploy array>`. It indicates the extra `label` used in `rules`, which will explain later.
|
||||
@ -81,11 +81,11 @@ Let's take a complicated example to help understand the process
|
||||
| build-a | a-c, a-d | a |
|
||||
| build-b | b-c, b-d | b |
|
||||
|
||||
3. replace the auto-generated region in `rules.yml` with `labels`, `titles`, and `rules`. Each mapping will generate a `rule` and all the required labels/titles. `patterns` are pre-defined in `rules.yml` and could not be generated automatically. If a mapping is using a `pattern` undefined, the `pattern` will be ignored.
|
||||
3. replace the auto-generated region in `rules.yml` with `labels`, and `rules`. Each mapping will generate a `rule` and all the required labels. `patterns` are pre-defined in `rules.yml` and could not be generated automatically. If a mapping is using a `pattern` undefined, the `pattern` will be ignored.
|
||||
|
||||
- If a mapping key has postfix '-preview', no `if-protected-xxx` clause will be added
|
||||
- else if a mapping key has postfix '-production', `if-protected-no_label` clause will be added
|
||||
- else: a mapping key `if-protected` clause will be added
|
||||
- If a mapping key has postfix `-preview`, no `if-protected-xxx` clause will be added
|
||||
- else if a mapping key has postfix `-production`, an `if-protected-no_label` clause will be added
|
||||
- else, an `if-protected` clause will be added
|
||||
|
||||
## Graph
|
||||
|
||||
|
@ -21,17 +21,22 @@ import sys
|
||||
from collections import defaultdict
|
||||
from itertools import product
|
||||
|
||||
import yaml
|
||||
|
||||
try:
|
||||
import pygraphviz as pgv
|
||||
except ImportError: # used when pre-commit, skip generating image
|
||||
pass
|
||||
|
||||
import yaml
|
||||
try:
|
||||
from typing import Union
|
||||
except ImportError: # used for type hint
|
||||
pass
|
||||
|
||||
IDF_PATH = os.path.abspath(os.getenv('IDF_PATH', os.path.join(os.path.dirname(__file__), '..', '..', '..')))
|
||||
|
||||
|
||||
def _list(str_or_list):
|
||||
def _list(str_or_list): # type: (Union[str, list]) -> list
|
||||
if isinstance(str_or_list, str):
|
||||
return [str_or_list]
|
||||
elif isinstance(str_or_list, list):
|
||||
@ -40,7 +45,7 @@ def _list(str_or_list):
|
||||
raise ValueError('Wrong type: {}. Only supports str or list.'.format(type(str_or_list)))
|
||||
|
||||
|
||||
def _format_nested_dict(_dict, f_tuple):
|
||||
def _format_nested_dict(_dict, f_tuple): # type: (dict[str, dict], tuple[str, ...]) -> dict[str, dict]
|
||||
res = {}
|
||||
for k, v in _dict.items():
|
||||
k = k.split('__')[0]
|
||||
@ -54,7 +59,7 @@ def _format_nested_dict(_dict, f_tuple):
|
||||
return res
|
||||
|
||||
|
||||
def _format_nested_list(_list, f_tuple):
|
||||
def _format_nested_list(_list, f_tuple): # type: (list[str], tuple[str, ...]) -> list[str]
|
||||
res = []
|
||||
for item in _list:
|
||||
if isinstance(item, list):
|
||||
@ -76,17 +81,12 @@ class RulesWriter:
|
||||
|
||||
LABEL_TEMPLATE = inspect.cleandoc(r'''
|
||||
.if-label-{0}: &if-label-{0}
|
||||
if: '$BOT_LABEL_{1}'
|
||||
''')
|
||||
TITLE_TEMPLATE = inspect.cleandoc(r'''
|
||||
.if-title-{0}: &if-title-{0}
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*{0}(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*{0}(?:[, ]+\w+)*/i'
|
||||
if: '$BOT_LABEL_{1} || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*{0}(?:,[^,\n\r]+)*$/i'
|
||||
''')
|
||||
|
||||
RULE_NORM = ' - <<: *if-protected'
|
||||
RULE_PROD = ' - <<: *if-protected-no_label'
|
||||
RULE_PROTECTED = ' - <<: *if-protected'
|
||||
RULE_PROTECTED_NO_LABEL = ' - <<: *if-protected-no_label'
|
||||
RULE_LABEL_TEMPLATE = ' - <<: *if-label-{0}'
|
||||
RULE_TITLE_TEMPLATE = ' - <<: *if-title-{0}'
|
||||
RULE_PATTERN_TEMPLATE = ' - <<: *if-dev-push\n' \
|
||||
' changes: *patterns-{0}'
|
||||
RULES_TEMPLATE = inspect.cleandoc(r"""
|
||||
@ -175,7 +175,7 @@ class RulesWriter:
|
||||
sorted_res[k][vk] = sorted(vv)
|
||||
return sorted_res
|
||||
|
||||
def new_labels_titles_str(self): # type: () -> str
|
||||
def new_labels_str(self): # type: () -> str
|
||||
_labels = set([])
|
||||
for k, v in self.cfg.items():
|
||||
if not v:
|
||||
@ -188,8 +188,6 @@ class RulesWriter:
|
||||
|
||||
res = ''
|
||||
res += '\n\n'.join([self._format_label(_label) for _label in labels])
|
||||
res += '\n\n'
|
||||
res += '\n\n'.join([self._format_title(_label) for _label in labels])
|
||||
return res
|
||||
|
||||
@classmethod
|
||||
@ -200,10 +198,6 @@ class RulesWriter:
|
||||
def bot_label_str(label): # type: (str) -> str
|
||||
return label.upper().replace('-', '_')
|
||||
|
||||
@classmethod
|
||||
def _format_title(cls, title): # type: (str) -> str
|
||||
return cls.TITLE_TEMPLATE.format(title)
|
||||
|
||||
def new_rules_str(self): # type: () -> str
|
||||
res = []
|
||||
for k, v in sorted(self.rules.items()):
|
||||
@ -213,13 +207,12 @@ class RulesWriter:
|
||||
def _format_rule(self, name, cfg): # type: (str, dict) -> str
|
||||
_rules = []
|
||||
if name.endswith('-production'):
|
||||
_rules.append(self.RULE_PROD)
|
||||
_rules.append(self.RULE_PROTECTED_NO_LABEL)
|
||||
else:
|
||||
if not (name.endswith('-preview') or name.startswith('labels:')):
|
||||
_rules.append(self.RULE_NORM)
|
||||
_rules.append(self.RULE_PROTECTED)
|
||||
for label in cfg['labels']:
|
||||
_rules.append(self.RULE_LABEL_TEMPLATE.format(label))
|
||||
_rules.append(self.RULE_TITLE_TEMPLATE.format(label))
|
||||
for pattern in cfg['patterns']:
|
||||
if '.patterns-{}'.format(pattern) in self.rules_cfg:
|
||||
_rules.append(self.RULE_PATTERN_TEMPLATE.format(pattern))
|
||||
@ -231,7 +224,7 @@ class RulesWriter:
|
||||
with open(self.rules_yml) as fr:
|
||||
file_str = fr.read()
|
||||
|
||||
auto_generate_str = '\n{}\n\n{}\n'.format(self.new_labels_titles_str(), self.new_rules_str())
|
||||
auto_generate_str = '\n{}\n\n{}\n'.format(self.new_labels_str(), self.new_rules_str())
|
||||
rest, marker, old = file_str.partition(self.AUTO_GENERATE_MARKER)
|
||||
if old == auto_generate_str:
|
||||
return False
|
||||
|
@ -249,214 +249,111 @@
|
||||
# Auto Generated #
|
||||
##################
|
||||
.if-label-build: &if-label-build
|
||||
if: '$BOT_LABEL_BUILD'
|
||||
if: '$BOT_LABEL_BUILD || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build(?:,[^,\n\r]+)*$/i'
|
||||
|
||||
.if-label-build_docs: &if-label-build_docs
|
||||
if: '$BOT_LABEL_BUILD_DOCS'
|
||||
if: '$BOT_LABEL_BUILD_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build_docs(?:,[^,\n\r]+)*$/i'
|
||||
|
||||
.if-label-component_ut: &if-label-component_ut
|
||||
if: '$BOT_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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
if: '$BOT_LABEL_DOCKER || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docker(?:,[^,\n\r]+)*$/i'
|
||||
|
||||
.if-label-docs: &if-label-docs
|
||||
if: '$BOT_LABEL_DOCS'
|
||||
if: '$BOT_LABEL_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docs(?:,[^,\n\r]+)*$/i'
|
||||
|
||||
.if-label-example_test: &if-label-example_test
|
||||
if: '$BOT_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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
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'
|
||||
|
||||
.if-title-build: &if-title-build
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*build(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-build_docs: &if-title-build_docs
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build_docs(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*build_docs(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-component_ut: &if-title-component_ut
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-component_ut_esp32: &if-title-component_ut_esp32
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut_esp32(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-component_ut_esp32c3: &if-title-component_ut_esp32c3
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32c3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut_esp32c3(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-component_ut_esp32s2: &if-title-component_ut_esp32s2
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s2(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut_esp32s2(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-component_ut_esp32s3: &if-title-component_ut_esp32s3
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut_esp32s3(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-custom_test: &if-title-custom_test
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-custom_test_esp32: &if-title-custom_test_esp32
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test_esp32(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-custom_test_esp32c3: &if-title-custom_test_esp32c3
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32c3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test_esp32c3(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-custom_test_esp32s2: &if-title-custom_test_esp32s2
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s2(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test_esp32s2(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-custom_test_esp32s3: &if-title-custom_test_esp32s3
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test_esp32s3(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-docker: &if-title-docker
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docker(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*docker(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-docs: &if-title-docs
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docs(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*docs(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-example_test: &if-title-example_test
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-example_test_esp32: &if-title-example_test_esp32
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test_esp32(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-example_test_esp32c3: &if-title-example_test_esp32c3
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32c3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test_esp32c3(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-example_test_esp32s2: &if-title-example_test_esp32s2
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s2(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test_esp32s2(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-example_test_esp32s3: &if-title-example_test_esp32s3
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test_esp32s3(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-fuzzer_test: &if-title-fuzzer_test
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*fuzzer_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*fuzzer_test(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-host_test: &if-title-host_test
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*host_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*host_test(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-integration_test: &if-title-integration_test
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*integration_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*integration_test(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-iperf_stress_test: &if-title-iperf_stress_test
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*iperf_stress_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*iperf_stress_test(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-macos: &if-title-macos
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*macos(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-macos_test: &if-title-macos_test
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*macos_test(?:[, ]+\w+)*/i'
|
||||
|
||||
.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'
|
||||
|
||||
.if-title-unit_test_esp32: &if-title-unit_test_esp32
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test_esp32(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-unit_test_esp32c3: &if-title-unit_test_esp32c3
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32c3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test_esp32c3(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-unit_test_esp32s2: &if-title-unit_test_esp32s2
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s2(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test_esp32s2(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-unit_test_esp32s3: &if-title-unit_test_esp32s3
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test_esp32s3(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-weekend_test: &if-title-weekend_test
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*weekend_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*weekend_test(?:[, ]+\w+)*/i'
|
||||
|
||||
.if-title-windows: &if-title-windows
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*windows(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*windows(?:[, ]+\w+)*/i'
|
||||
if: '$BOT_LABEL_WINDOWS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*windows(?:,[^,\n\r]+)*$/i'
|
||||
|
||||
.rules:build:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -466,15 +363,10 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32
|
||||
- <<: *if-title-component_ut_esp32
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32
|
||||
- <<: *if-title-unit_test_esp32
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -486,15 +378,10 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32c3
|
||||
- <<: *if-title-component_ut_esp32c3
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-title-unit_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -506,15 +393,10 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32s2
|
||||
- <<: *if-title-component_ut_esp32s2
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32s2
|
||||
- <<: *if-title-unit_test_esp32s2
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -526,15 +408,10 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32s3
|
||||
- <<: *if-title-component_ut_esp32s3
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32s3
|
||||
- <<: *if-title-unit_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -546,11 +423,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32
|
||||
- <<: *if-title-custom_test_esp32
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -562,11 +436,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32c3
|
||||
- <<: *if-title-custom_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -578,11 +449,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32s2
|
||||
- <<: *if-title-custom_test_esp32s2
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -594,11 +462,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32s3
|
||||
- <<: *if-title-custom_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -610,9 +475,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-docker
|
||||
- <<: *if-title-docker
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-docker
|
||||
|
||||
@ -620,9 +483,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build_docs
|
||||
- <<: *if-title-build_docs
|
||||
- <<: *if-label-docs
|
||||
- <<: *if-title-docs
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-docs
|
||||
|
||||
@ -634,30 +495,21 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build_docs
|
||||
- <<: *if-title-build_docs
|
||||
- <<: *if-label-docs
|
||||
- <<: *if-title-docs
|
||||
|
||||
.rules:build:docs:label-only-preview:
|
||||
rules:
|
||||
- <<: *if-label-build_docs
|
||||
- <<: *if-title-build_docs
|
||||
- <<: *if-label-docs
|
||||
- <<: *if-title-docs
|
||||
|
||||
.rules:build:example_test-esp32:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32
|
||||
- <<: *if-title-example_test_esp32
|
||||
- <<: *if-label-iperf_stress_test
|
||||
- <<: *if-title-iperf_stress_test
|
||||
- <<: *if-label-weekend_test
|
||||
- <<: *if-title-weekend_test
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -671,11 +523,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
- <<: *if-title-example_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -689,11 +538,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32s2
|
||||
- <<: *if-title-example_test_esp32s2
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -707,11 +553,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32s3
|
||||
- <<: *if-title-example_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -725,7 +568,6 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-integration_test
|
||||
- <<: *if-title-integration_test
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-integration_test
|
||||
|
||||
@ -733,11 +575,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-macos
|
||||
- <<: *if-title-macos
|
||||
- <<: *if-label-macos_test
|
||||
- <<: *if-title-macos_test
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_system
|
||||
|
||||
@ -745,49 +584,27 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32
|
||||
- <<: *if-title-component_ut_esp32
|
||||
- <<: *if-label-component_ut_esp32c3
|
||||
- <<: *if-title-component_ut_esp32c3
|
||||
- <<: *if-label-component_ut_esp32s2
|
||||
- <<: *if-title-component_ut_esp32s2
|
||||
- <<: *if-label-component_ut_esp32s3
|
||||
- <<: *if-title-component_ut_esp32s3
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32
|
||||
- <<: *if-title-custom_test_esp32
|
||||
- <<: *if-label-custom_test_esp32c3
|
||||
- <<: *if-title-custom_test_esp32c3
|
||||
- <<: *if-label-custom_test_esp32s2
|
||||
- <<: *if-title-custom_test_esp32s2
|
||||
- <<: *if-label-custom_test_esp32s3
|
||||
- <<: *if-title-custom_test_esp32s3
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32
|
||||
- <<: *if-title-example_test_esp32
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
- <<: *if-title-example_test_esp32c3
|
||||
- <<: *if-label-example_test_esp32s2
|
||||
- <<: *if-title-example_test_esp32s2
|
||||
- <<: *if-label-example_test_esp32s3
|
||||
- <<: *if-title-example_test_esp32s3
|
||||
- <<: *if-label-integration_test
|
||||
- <<: *if-title-integration_test
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32
|
||||
- <<: *if-title-unit_test_esp32
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-title-unit_test_esp32c3
|
||||
- <<: *if-label-unit_test_esp32s2
|
||||
- <<: *if-title-unit_test_esp32s2
|
||||
- <<: *if-label-unit_test_esp32s3
|
||||
- <<: *if-title-unit_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -809,11 +626,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32
|
||||
- <<: *if-title-unit_test_esp32
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -825,9 +639,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-title-unit_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -837,11 +649,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32s2
|
||||
- <<: *if-title-unit_test_esp32s2
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -853,11 +662,8 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32s3
|
||||
- <<: *if-title-unit_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_components
|
||||
- <<: *if-dev-push
|
||||
@ -869,9 +675,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-windows
|
||||
- <<: *if-title-windows
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build_system
|
||||
- <<: *if-dev-push
|
||||
@ -880,72 +684,45 @@
|
||||
.rules:labels:fuzzer_test-weekend_test:
|
||||
rules:
|
||||
- <<: *if-label-fuzzer_test
|
||||
- <<: *if-title-fuzzer_test
|
||||
- <<: *if-label-weekend_test
|
||||
- <<: *if-title-weekend_test
|
||||
|
||||
.rules:labels:iperf_stress_test:
|
||||
rules:
|
||||
- <<: *if-label-iperf_stress_test
|
||||
- <<: *if-title-iperf_stress_test
|
||||
|
||||
.rules:labels:nvs_coverage:
|
||||
rules:
|
||||
- <<: *if-label-nvs_coverage
|
||||
- <<: *if-title-nvs_coverage
|
||||
|
||||
.rules:labels:weekend_test:
|
||||
rules:
|
||||
- <<: *if-label-weekend_test
|
||||
- <<: *if-title-weekend_test
|
||||
|
||||
.rules:test:any_test:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32
|
||||
- <<: *if-title-component_ut_esp32
|
||||
- <<: *if-label-component_ut_esp32c3
|
||||
- <<: *if-title-component_ut_esp32c3
|
||||
- <<: *if-label-component_ut_esp32s2
|
||||
- <<: *if-title-component_ut_esp32s2
|
||||
- <<: *if-label-component_ut_esp32s3
|
||||
- <<: *if-title-component_ut_esp32s3
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32
|
||||
- <<: *if-title-custom_test_esp32
|
||||
- <<: *if-label-custom_test_esp32c3
|
||||
- <<: *if-title-custom_test_esp32c3
|
||||
- <<: *if-label-custom_test_esp32s2
|
||||
- <<: *if-title-custom_test_esp32s2
|
||||
- <<: *if-label-custom_test_esp32s3
|
||||
- <<: *if-title-custom_test_esp32s3
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32
|
||||
- <<: *if-title-example_test_esp32
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
- <<: *if-title-example_test_esp32c3
|
||||
- <<: *if-label-example_test_esp32s2
|
||||
- <<: *if-title-example_test_esp32s2
|
||||
- <<: *if-label-example_test_esp32s3
|
||||
- <<: *if-title-example_test_esp32s3
|
||||
- <<: *if-label-host_test
|
||||
- <<: *if-title-host_test
|
||||
- <<: *if-label-integration_test
|
||||
- <<: *if-title-integration_test
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32
|
||||
- <<: *if-title-unit_test_esp32
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-title-unit_test_esp32c3
|
||||
- <<: *if-label-unit_test_esp32s2
|
||||
- <<: *if-title-unit_test_esp32s2
|
||||
- <<: *if-label-unit_test_esp32s3
|
||||
- <<: *if-title-unit_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -965,13 +742,9 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32
|
||||
- <<: *if-title-component_ut_esp32
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32
|
||||
- <<: *if-title-unit_test_esp32
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-component_ut
|
||||
|
||||
@ -979,13 +752,9 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32c3
|
||||
- <<: *if-title-component_ut_esp32c3
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-title-unit_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-component_ut
|
||||
|
||||
@ -993,13 +762,9 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32s2
|
||||
- <<: *if-title-component_ut_esp32s2
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32s2
|
||||
- <<: *if-title-unit_test_esp32s2
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-component_ut
|
||||
|
||||
@ -1007,13 +772,9 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32s3
|
||||
- <<: *if-title-component_ut_esp32s3
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32s3
|
||||
- <<: *if-title-unit_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-component_ut
|
||||
|
||||
@ -1021,9 +782,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32
|
||||
- <<: *if-title-custom_test_esp32
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-custom_test
|
||||
|
||||
@ -1031,9 +790,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32c3
|
||||
- <<: *if-title-custom_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-custom_test
|
||||
|
||||
@ -1041,9 +798,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32s2
|
||||
- <<: *if-title-custom_test_esp32s2
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-custom_test
|
||||
|
||||
@ -1051,9 +806,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32s3
|
||||
- <<: *if-title-custom_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-custom_test
|
||||
|
||||
@ -1061,9 +814,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32
|
||||
- <<: *if-title-example_test_esp32
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -1073,9 +824,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
- <<: *if-title-example_test_esp32c3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -1085,9 +834,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32s2
|
||||
- <<: *if-title-example_test_esp32s2
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -1097,9 +844,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32s3
|
||||
- <<: *if-title-example_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -1109,7 +854,6 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-host_test
|
||||
- <<: *if-title-host_test
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-host_test
|
||||
|
||||
@ -1117,7 +861,6 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-integration_test
|
||||
- <<: *if-title-integration_test
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-integration_test
|
||||
|
||||
@ -1125,7 +868,6 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-submodule
|
||||
- <<: *if-title-submodule
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-submodule
|
||||
|
||||
@ -1133,47 +875,26 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-component_ut
|
||||
- <<: *if-title-component_ut
|
||||
- <<: *if-label-component_ut_esp32
|
||||
- <<: *if-title-component_ut_esp32
|
||||
- <<: *if-label-component_ut_esp32c3
|
||||
- <<: *if-title-component_ut_esp32c3
|
||||
- <<: *if-label-component_ut_esp32s2
|
||||
- <<: *if-title-component_ut_esp32s2
|
||||
- <<: *if-label-component_ut_esp32s3
|
||||
- <<: *if-title-component_ut_esp32s3
|
||||
- <<: *if-label-custom_test
|
||||
- <<: *if-title-custom_test
|
||||
- <<: *if-label-custom_test_esp32
|
||||
- <<: *if-title-custom_test_esp32
|
||||
- <<: *if-label-custom_test_esp32c3
|
||||
- <<: *if-title-custom_test_esp32c3
|
||||
- <<: *if-label-custom_test_esp32s2
|
||||
- <<: *if-title-custom_test_esp32s2
|
||||
- <<: *if-label-custom_test_esp32s3
|
||||
- <<: *if-title-custom_test_esp32s3
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-title-example_test
|
||||
- <<: *if-label-example_test_esp32
|
||||
- <<: *if-title-example_test_esp32
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
- <<: *if-title-example_test_esp32c3
|
||||
- <<: *if-label-example_test_esp32s2
|
||||
- <<: *if-title-example_test_esp32s2
|
||||
- <<: *if-label-example_test_esp32s3
|
||||
- <<: *if-title-example_test_esp32s3
|
||||
- <<: *if-label-integration_test
|
||||
- <<: *if-title-integration_test
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32
|
||||
- <<: *if-title-unit_test_esp32
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-title-unit_test_esp32c3
|
||||
- <<: *if-label-unit_test_esp32s2
|
||||
- <<: *if-title-unit_test_esp32s2
|
||||
- <<: *if-label-unit_test_esp32s3
|
||||
- <<: *if-title-unit_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-build-example_test
|
||||
- <<: *if-dev-push
|
||||
@ -1191,9 +912,7 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32
|
||||
- <<: *if-title-unit_test_esp32
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-unit_test
|
||||
|
||||
@ -1201,15 +920,12 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-unit_test_esp32c3
|
||||
- <<: *if-title-unit_test_esp32c3
|
||||
|
||||
.rules:test:unit_test-esp32s2:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32s2
|
||||
- <<: *if-title-unit_test_esp32s2
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-unit_test
|
||||
|
||||
@ -1217,8 +933,6 @@
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-unit_test
|
||||
- <<: *if-title-unit_test
|
||||
- <<: *if-label-unit_test_esp32s3
|
||||
- <<: *if-title-unit_test_esp32s3
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-unit_test
|
||||
|
@ -1,4 +1,3 @@
|
||||
.gitlab/ci/dependencies/generate_rules.py
|
||||
components/app_update/otatool.py
|
||||
components/efuse/efuse_table_gen.py
|
||||
components/efuse/test_efuse_host/efuse_tests.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user