Commit Graph

949 Commits

Author SHA1 Message Date
Angus Gratton
429ea0a1c1 Merge branch 'feature/riscv_ulp_s2_example_test' into 'master'
ci: RISCV-ULP example test

Closes IDF-2505

See merge request espressif/esp-idf!12397
2021-03-10 23:53:47 +00:00
Angus Gratton
e39b475af1 Merge branch 'feature/crypto_reserve_gdma_ch' into 'master'
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA

Closes IDF-2856

See merge request espressif/esp-idf!12507
2021-03-09 23:44:26 +00:00
Marius Vikhammer
fe71a8e340 aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
Removed the old dynamically allocated GDMA channel approach.
It proved too unreliable as we couldn't not ensure consumers of the mbedtls
would properly free the channels after use.

Replaced by a single shared GDMA channel for AES and SHA, which won't be
released unless user specifically calls API for releasing it.
2021-03-09 09:23:05 +08:00
Fu Hanxi
04357aa66e ci: add label only build tests for maintainers to control the flow 2021-03-08 10:12:22 +08:00
Fu Hanxi
934abd65f5 ci(docs): improve doc with latest behavior 2021-03-02 16:16:23 +08:00
Fu Hanxi
c7a856db88 ci: remove trigger with commit message method and make it simpler 2021-03-02 11:50:04 +08:00
Fu Hanxi
941574dc2f ci: use CI_MERGE_REQUEST_SOURCE_BRANCH in mr pipelines 2021-03-01 15:20:34 +08:00
Fu Hanxi
bbf2e86c06 fix(ci): check_submodule_sync now will not block ci run 2021-02-26 15:16:55 +08:00
Renz Bagaporo
e5b3824f61 ci: add example test for ulp_riscv example 2021-02-26 13:34:09 +08:00
KonstantinKondrashov
e29b99f1a5 libsodium: Enables UTs for ESP32-S2 & C3 2021-02-25 10:41:59 +00:00
Angus Gratton
608f9471cb Merge branch 'bugfix/test_nvs_host_cleanup' into 'master'
nvs_flash: Fix the random data test cleanup stage

Closes IDFCI-241

See merge request espressif/esp-idf!11659
2021-02-23 10:40:17 +00:00
Fu Hanxi
ef18e78a8d feat(ci): run check_submodule_sync_with_file_patterns 2021-02-23 12:43:52 +08:00
Angus Gratton
7fbf280d93 Merge branch 'ci/run_build_jobs_when_files_under_components_changed' into 'master'
CI: run build jobs when files under components changed

See merge request espressif/esp-idf!12442
2021-02-23 03:44:51 +00:00
Fu Hanxi
e59e245d47 ci(rules): improve rules with build files changed under components folder
- drop target test run with build pattern

- for unit_test on c3, use labels only
2021-02-23 11:32:17 +08:00
Angus Gratton
3b4706d14d ci: Increase test_nvs_on_host job timeout
test labels: nvs_coverage
2021-02-23 10:31:39 +11:00
Fu Hanxi
4ff16f6171 bugfix: deploy_test_result stop using pyenv 2021-02-22 20:44:11 +08:00
Fu Hanxi
06f92003a3 Merge branch 'ci/run_rules_labels_only_with_labels' into 'master'
ci: run rules:labels jobs only with labels

Closes IDFCI-454

See merge request espressif/esp-idf!12427
2021-02-22 03:41:34 +00:00
Fu Hanxi
c49a72b499 ci: run rules:labels job only with labels 2021-02-20 10:41:54 +08:00
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