Commit Graph

131 Commits

Author SHA1 Message Date
Fu Hanxi
7742f1e135 ci(docs): fix missing build doc for target esp32c3 2021-02-19 17:43:07 +08:00
Fu Hanxi
4c1fca4a77 ci(rules): improve docs related jobs rules
- build_docs_pdf: now ignore docs related file patterns

- deploy_docs_preview: now ignore docs related file patterns

- .rules:build:docs: related jobs will not be triggered with `build` label
2021-02-19 17:28:09 +08:00
Fu Hanxi
2399128500 ci: improve docs pattern from Kconfig to Kconfig*
for example: Kconfig.spiram.common will now be included
2021-02-19 17:09:51 +08:00
Fu Hanxi
0c57d1fef1 ci: update codeowner for new ci configs path 2021-02-19 09:59:43 +08:00
Fu Hanxi
bb1be1e07e ci(rules): add missing scripts under tools folder 2021-02-19 09:59:43 +08:00
Fu Hanxi
516ac9a813 ci: allow failure for code quality report 2021-02-19 09:59:43 +08:00
Angus Gratton
9830fcaff9 Merge branch 'bugfix/c3_unit_test_cleanup' into 'master'
System: C3 shared stack watchpoint & unit test cleanups

Closes IDF-2458, IDF-2719, and IDF-1422

See merge request espressif/esp-idf!12183
2021-02-18 23:15:53 +00:00
Ivan Grokhotkov
3bce823523 Merge branch 'ci/mr_labels_regex_includes_more_chars' into 'master'
ci: supports more special characters for MR labels

See merge request espressif/esp-idf!12404
2021-02-18 10:33:55 +00:00
Ivan Grokhotkov
6e4eb981b8 Merge branch 'bugfix/deploy_test_result_no_need_python_env' into 'master'
ci: no setup_python for deploy_test_result

See merge request espressif/esp-idf!12394
2021-02-18 10:33:31 +00:00
Marius Vikhammer
eec2419390 system: enable shared stack watchpoint
Enable shared stack watchpoint for overflow detection

Enable unit tests:
 * "test printf using shared buffer stack" for C3
 * "Test vTaskDelayUntil" for S2
 * "UART can do poll()" for C3
2021-02-18 15:38:30 +08:00
Fu Hanxi
43668cf79f ci: supports more special characters for MR labels 2021-02-18 14:25:48 +08:00
Fu Hanxi
24e8109cc3 ci: no setup_python for deploy_test_result 2021-02-17 00:45:06 +08:00
Fu Hanxi
a01b6c0382 ci: run all static code analysis jobs when the gitlab yaml changes 2021-02-17 00:31:08 +08:00
Fu Hanxi
1f12eaf6ea ci: ensure clang_tidy_deploy artifacts downloaded 2021-02-17 00:17:33 +08:00
Ivan Grokhotkov
22cc1121fb Merge branch 'ci/detect_file_changes_to_assign_jobs' into 'master'
CI: Detect file changes to assign jobs

See merge request espressif/esp-idf!10652
2021-02-16 11:08:17 +00:00
Fu Hanxi
611fe8794b ci: move doc build jobs into build_doc stage to run in parallel 2021-02-10 14:50:07 +08:00
Fu Hanxi
fea3939980 docs(ci): add docs about rules.yml and the auto-generate feature 2021-02-10 14:50:07 +08:00
Fu Hanxi
b24b06d16c ci(rules): auto generate rules.yml labels titles and rules
Also simplified the labels and ci

- Remove label regular_test, weekend_test

- Remove apply_job_filter

- check_submodule_sync: only run on protected branch
2021-02-10 14:50:06 +08:00
Fu Hanxi
8ff6461b4c ci(rules): add check_tools_file_patterns.py
this file is used to check if all files under `tools` folder are
recorded in patterns or in exclude list
2021-02-10 14:48:51 +08:00
Fu Hanxi
b33e344484 ci: move config dir to .gitlab/ci 2021-02-10 14:48:51 +08:00
daiziyan
2e3367b97e update api-guides/build-system.rst to keep EN and CN in sync 2021-01-13 19:23:30 +08:00
Dai Zi Yan
d490376f37 docs: add checklist for updating get-started section into merge request template 2021-01-12 17:46:15 +08:00
Angus Gratton
5c49987bf6 Merge branch 'feature/template_add_ci' into 'master'
Add pipeline related requirements into the Gitlab MR template

See merge request espressif/esp-idf!10800
2020-11-13 18:40:07 +08:00
Fu Hanxi
bcc8f2628c CI: Add pre-commit for esp-idf project.
add tools/ci/python_packages/idf_ci.py for some util functions used in
ci and needs multi-os solution
2020-11-02 15:49:13 +08:00
Renz Bagaporo
988be69466 esp_hw_support: create component 2020-10-28 07:21:29 +08:00
Ivan Grokhotkov
5cdb973ee0 gitlab: add esp_pm component to CODEOWNERS 2020-10-15 07:58:27 +00:00
Roland Dobai
ed8f1aedf2 Add pipeline related requirements into the Gitlab MR template 2020-10-12 11:48:07 +02:00
Ivan Grokhotkov
042d66dbce gitlab: add hal component to CODEOWNERS 2020-09-25 12:47:48 +02:00
Michael (XIAO Xufeng)
4152904b10 gitlab: add template for merge requests 2020-09-23 10:52:08 +08:00
Ivan Grokhotkov
00c3e0e8ec codeowners: fix directory patterns
The previous version used an incorrect /dir1/dir2 pattern to match the
content of dir2. The correct pattern should be /dir1/dir2/ (with the
trailing slash). This commit fixes these patterns.

Regarding codeowners.py:

'git ls-files' can not be used to correctly implement the logic of
CODEOWNERS file patterns, since it doesn't distinguish between
/path/* and /path/. The former pattern in CODEOWNERS file should only
match the files inside /path/, while the latter also matches files in
nested directories.

Because of this, the logic for evaluating patterns is re-implemented,
by converting CODEOWNERS patterns into regular expressions.
Gitlab CODEOWNERS parsing code was used as a reference, in addition to
the approach for converting glob patterns into regular expressions
proposed in https://stackoverflow.com/a/29354254.
2020-09-15 11:10:36 +02:00
Ivan Grokhotkov
c23a9d91d8 add code owners list 2020-09-02 18:04:27 +02:00