Commit Graph

349 Commits

Author SHA1 Message Date
Fu Hanxi
12f0b55ca9 test(coredump): refactor coredump test and add esp32s2/esp32c3 tests 2021-07-22 10:17:59 +08:00
Ivan Grokhotkov
b4e8e9c845 ci: install CMake version from tools.json in espcoredump test
To help achieve reproducible builds.
2021-07-22 10:14:33 +08:00
KonstantinKondrashov
59bbfe5e38 ci: Adds eFuse host test for ESP32-H2 chip 2021-07-21 17:19:01 +05:00
He Yin Ling
9f8f929e25 CI: rename log path of IT jobs 2021-07-21 10:02:52 +08:00
Michael (XIAO Xufeng)
acad1ce1f0 Merge branch 'feat/codeowners_touch_element' into 'master'
codeowner: add peripherals to touch_element codeowners

See merge request espressif/esp-idf!14336
2021-07-20 17:26:03 +00:00
Michael (XIAO Xufeng)
f7d8052068 codeowner: add peripherals to touch_element codeowners 2021-07-21 01:25:56 +08:00
Fu Hanxi
fab4c0ce41 ci: fix label only dependencies 2021-07-20 14:37:54 +08:00
Fu Hanxi
7997591f56 ci: update hosts test patterns 2021-07-20 10:00:25 +08:00
morris
7cd4c4d542 gitlab: update codeowner for unit-test-app 2021-07-18 16:10:10 +08:00
Angus Gratton
ae04cbe48f ci: Bump S3 UT count 2021-07-16 20:14:28 +08:00
Omar Chebib
9dd02354d2 Merge branch 'feature/riscv_panic_backtrace' into 'master'
espsystem: add support for RISC-V panic backtrace

Closes IDF-2064

See merge request espressif/esp-idf!12070
2021-07-16 04:13:44 +00:00
Marius Vikhammer
126c6405f1 Merge branch 'feature/s3_default_2_config' into 'master'
CI: add S3 default_2 unit test config

See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
Omar Chebib
0771bd1711 espsystem: Rearchitecture and fix eh_frame_parser bugs
eh_frame_parser is architecture independent, thus the files have
been rearchitectured. Some bugs have been fixed in the test.
A README file has also been added to eh_frame_parser host test
directory.

eh_frame_parser is now able to detect empty gaps in .eh_frame_hdr
table (missing DWARF information).
Fix a bug occuring when parsing backtraces originated from abort().
Fix build missing dependencies issue.
2021-07-15 12:47:51 +08:00
Shu Chen
bdaeeb3169 ieee802154: add IEEE 802.15.4 component 2021-07-14 19:14:30 +08:00
Marius Vikhammer
6800d3f0ee ci: add system group as codeowners to soc/ 2021-07-14 09:52:44 +08:00
Angus Gratton
4fe4df8770 Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
bootloader: Add configurable pin level for factory reset (PR)

Closes IDFGH-5337

See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
Angus Gratton
4502a6a5ae Merge branch 'ci/test_apps_codeowners' into 'master'
ci: Add codeowners for test_apps categories

See merge request espressif/esp-idf!14312
2021-07-13 03:56:02 +00:00
Angus Gratton
a06929cf29 ci: Fix example Python matching, update ordering check
For matches like **/*.py we need to place the wildcard last, so that
it can override previous directory matches (otherwise the directory
matches override the wildcard). Relax the check_codeowners.py order
check to allow this.
2021-07-12 11:30:11 +10:00
Michael (XIAO Xufeng)
ade0e9e7ff gitlab: add codeowner for usb component. 2021-07-09 10:40:24 +08:00
Angus Gratton
7b75befb18 ci: Add codeowners for test_apps categories 2021-07-09 10:03:37 +10:00
Marius Vikhammer
80acc1a002 CI: add S3 default_2 unit test config 2021-07-08 18:39:57 +08:00
Shu Chen
d93887f9f0 Merge branch 'feature/openthread-lib' into 'master'
openthread: provide prebuilt libopenthread libraries

See merge request espressif/esp-idf!14177
2021-07-08 09:15:33 +00:00
Jiang Jiang Jian
f9e37ea4d6 Merge branch 'fix/add_wifi_bt_group_as_owners' into 'master'
add wifi bt group to rom and pm components

See merge request espressif/esp-idf!14275
2021-07-07 08:58:48 +00:00
Jiacheng Guo
0050248918 openthread: provide prebuilt libopenthread libraries 2021-07-07 15:27:47 +08:00
Marius Vikhammer
18453920df CI: Update docs codeowners 2021-07-07 12:19:46 +08:00
Jack
cea4deb218 add wifi bt group to rom and pm components 2021-07-06 14:09:22 +08:00
Angus Gratton
634db50fcb ci: Bump UT count 2021-07-05 12:08:36 +08:00
Angus Gratton
b462484f98 Merge branch 'ci/move_build_test_jobs' into 'master'
ci: move target-test unrelated build jobs into host_test stage

See merge request espressif/esp-idf!14188
2021-07-02 05:46:56 +00:00
Fu Hanxi
2800f36416 ci: move target-test unrelated build jobs into host_test stage 2021-06-30 15:36:44 +08:00
Marius Vikhammer
bc5d86974c ci: only run check_docs_gh_links job once per pipeline
Job simply walks all .rst files and check links. No need to
run for multiple targets/languages
2021-06-30 13:30:42 +08:00
Roland Dobai
95d0afbe69 CI: Use smaller docker image for documentation build 2021-06-24 16:15:56 +02:00
Roland Dobai
395575d94c CI: Use the tagged image for static analysis 2021-06-22 15:58:45 +02:00
Roland Dobai
b22fcbef96 Merge branch 'feature/drop_py2_support' into 'master'
Drop support for unsupported Python versions

Closes IDF-1676

See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
morris
4c0ddd34b4 ci: added script to check api violations 2021-06-22 11:28:01 +08:00
Roland Dobai
407053592e Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
Marius Vikhammer
fae5185916 CI: regenerate esp_err_to_name.c
Move esp err to name check to pre-check stage in CI to prevent failures like this.
2021-06-21 11:19:56 +08:00
Ivan Grokhotkov
ae0657083b Merge branch 'feature/move-filters-from-idf-monitor' into 'master'
Moved GDB utils and logging utils out of idf_monitor.py

See merge request espressif/esp-idf!13555
2021-06-18 10:27:14 +00:00
Konstantin Kondrashov
4c0cf40a39 efuse: Burn operation does not block reading 2021-06-18 11:52:47 +08:00
Martin Gaňo
252036567c Moved filters out of idf_monitor.py 2021-06-17 21:38:38 +02:00
David Čermák
4d604ee6d2 Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
CI: Move mqtt publish tests from regular pipeline to weekend tests

Closes IDFCI-653

See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Marius Vikhammer
d9f5126d24 CI: enable running unit tests in CI for S3 2021-06-15 11:13:50 +08:00
David Cermak
74fd8d7af8 CI: Enable publish tests only when started from weekend pipeline 2021-06-11 16:52:43 +02:00
David Cermak
4cdc583ccd CI: Removed weekend network tests
Temporarily, before getting reworked and stable for running in the CI
2021-06-10 09:11:40 +02:00
David Cermak
32fb96734c CI/mqtt: Execute mqtt weekend tests from test apps 2021-06-10 09:10:16 +02:00
Michael (XIAO Xufeng)
1322a44588 Merge branch 'feature/mcpwm_refactor_and_support_esp32s3' into 'master'
MCPWM: refactor driver and support ESP32-S3

Closes IDF-1765

See merge request espressif/esp-idf!11907
2021-06-09 16:45:20 +00:00
Angus Gratton
bc4eb2071c Merge branch 'feature/toolchain_2021r1' into 'master'
Bring 2021r1 toolchains

Closes IDFGH-5009

See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
morris
b47d012720 mcpwm: refactor unit test 2021-06-09 12:27:01 +08:00
Marius Vikhammer
bdfda351bd build docs: enable building of S3 docs
* Added suport for building esp32s3 docs
 * Fixed all related warnings
 * Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Anton Maklakov
2e47854c10 Merge branch 'ci/unify_all_target_test_artifacts_paths' into 'master'
ci: unify target test artifacts to all .log file and $LOG_PATH

Closes IDFCI-661

See merge request espressif/esp-idf!13838
2021-06-07 15:54:22 +00:00
Anton Maklakov
3b60c2e131 ci: add debug artifacts for test_idf_tools 2021-06-07 18:48:38 +07:00
Shu Chen
6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
Fu Hanxi
a998b3db74 ci: unify target test artifacts to all .log file and $LOG_PATH 2021-06-03 10:34:51 +08:00
Jakob Hasse
0ea20caa71 [log]: Normal log works on Linux now
* also removed strlcpy dependency from log
* added Kconfig option for linux target

Closes IDF-3245
2021-05-28 11:05:22 +08:00
Fu Hanxi
48e4723839 fix(ci): deploy_test_result missing logs artifacts from target_test stage 2021-05-21 15:31:34 +08:00
Michael (XIAO Xufeng)
e941bc838c Merge branch 'feature/lcd_driver' into 'master'
esp_lcd component panel driver

Closes IDF-2933 and IDF-2934

See merge request espressif/esp-idf!12813
2021-05-13 04:29:07 +00:00
morris
e10202a608 lcd: add esp_lcd component
* Support intel 8080 LCD panel IO on ESP32-S3
* Support RGB LCD panel on ESP32-S3
* Support SPI && I2C LCD panel IO on all esp chips
2021-05-12 17:53:32 +08:00
Ivan Grokhotkov
1248ddaf3c ci: add component_ut_test_{esp32s2,esp32c3} jobs 2021-05-10 21:23:04 +02:00
Angus Gratton
ca89608f22 Merge branch 'feature/doc_fast_build' into 'master'
docs: add fast build feature and activate it in CI

See merge request espressif/esp-idf!13352
2021-05-06 03:56:56 +00:00
Ivan Grokhotkov
0bd9f6fe12 tools: spiffsgen: fix length error, add test case 2021-05-03 11:37:42 +02:00
Martin Vychodil
99aa037793 * SD card example split (SDMMC/SDSPI)
JIRA IDF-1456
2021-04-29 10:38:55 +02:00
Marius Vikhammer
89179dc286 docs: add fast build feature and activate it in CI
Adds feature for skipping include of doxygen headers into sphinx build
when env variable is set.

Builds incomplete docs (no function API documention)
but speeds up building (20min to 1<min).

Add this fast build as the default way of building docs in CI on
non protected branches.
2021-04-28 16:32:35 +08:00
zwj
3c06fea8a1 fix esp32c3 and esp32s3 ble disconnect due to connection paramters update 2021-04-25 20:18:21 +08:00
Ivan Grokhotkov
dda851c923 ci: increase test_app_test_esp32_generic parallel test count 2021-04-22 23:34:04 +02:00
Shubham Kulkarni
691e30e659 advanced_https_ota: Add example test for OTA with OpenSSL server with binary file aligned to 289 byte boundary 2021-04-21 20:57:58 +05:30
Ivan Grokhotkov
d34421dd7b Merge branch 'feature/build_nvs_host_test_ci' into 'master'
Add nvs page host test to CI

Closes IDF-2425

See merge request espressif/esp-idf!12417
2021-04-20 23:32:01 +00:00
Jakob Hasse
2fb5b42eb1 [nvs] add nvs page host test to CI
Closes IDF-2425
2021-04-20 14:40:16 +08:00
Fu Hanxi
4d4abf428b ci: add helper info for tests with no config 2021-04-20 11:18:12 +08:00
Ivan Grokhotkov
cff3f18ce0 ci: increase parallel count for ESP32C3_IDF, UT_T1_1 tag 2021-04-16 15:51:32 +02:00
Ivan Grokhotkov
fa72ef6bd8 Merge branch 'feature/add-eventfd' into 'master'
vfs: add eventfd support

See merge request espressif/esp-idf!12573
2021-04-16 10:33:06 +00:00
Michael (XIAO Xufeng)
58758486b2 Merge branch 'ci/enable_flash_suspend_test' into 'master'
spi_flash: enable unit-test for flash suspend

Closes IDF-3081

See merge request espressif/esp-idf!13115
2021-04-16 10:16:25 +00:00
Angus Gratton
bc3d45026c Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled

See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
Jiacheng Guo
bbb0e7a573 vfs: fix build & ci errors 2021-04-15 15:19:00 +08:00
Angus Gratton
b68d46c8a0 deep sleep example: Extend test coverage to ESP32-S2
* Modify the example on ESP32-S2 to print same output pattern as ESP32
* Add example test verification that "fast booting" (skipping of verification) is working
2021-04-15 16:20:58 +10:00
Cao Sen Miao
ed16e9b5d6 spi_flash: enable unit-test for flash suspend 2021-04-15 12:05:40 +08:00
Shubham Kulkarni
0a395134d4 Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols 2021-04-15 04:00:06 +00:00
Angus Gratton
ec01a66557 Merge branch 'feature/esp32c3_memprot_test3' into 'master'
ESP32C3/ESP32S2: memprot API upgrade and test application

Closes IDF-2641

See merge request espressif/esp-idf!12941
2021-04-13 18:42:46 +00:00
KonstantinKondrashov
af3cbe2888 simple_ota_example: Adds configs to test on_update_no_secure_boot option (RSA&ECDSA) 2021-04-13 11:28:13 +00:00
Ivan Grokhotkov
b51a7e0cc7 Merge branch 'feature/win_inst_offline' into 'master'
Feature/win inst offline

Closes IDF-2636, IDF-2664, IDFGH-4549, IDFGH-3424, IDFGH-4260, IDFGH-4664, IDFGH-2202, IDFGH-4697, IDF-2742, and IDF-2955

See merge request espressif/esp-idf!12003
2021-04-12 06:54:24 +00:00
Martin Vychodil
f27c9c5139 esp32c3: memprot API upgrade and test application
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Fu Hanxi
1a51e325e4 ci: components and build_system patterns will run build_ssc as well 2021-04-09 12:27:41 +08:00
Cao Sen Miao
c3da21a93f I2C: enable all unit test for i2c on esp32c3 2021-04-06 17:37:55 +08:00
Chen Shu
6be0ed9077 Merge branch 'feature/add-openthread' into 'master'
openthread: add OpenThread and porting

Closes IDF-2911

See merge request espressif/esp-idf!12570
2021-04-02 06:49:55 +00:00
Guo Jia Cheng
7c38989309 OpenThread: add OpenThread and porting
* Adds the OpenThread submodule.
* Adds porting on ESP32.
* Adds the OpenThread cli example.
2021-04-02 14:49:49 +08:00
Fu Hanxi
d7341eb78f ci: fix test_app_test_001 missing junit report 2021-03-31 11:39:11 +08:00
Angus Gratton
2a6dd33d35 Merge branch 'feature/c3_flash_enc_tests' into 'master'
flash enc: add flash encryption unit and example test for C3

Closes IDF-2936

See merge request espressif/esp-idf!12774
2021-03-29 06:45:32 +00:00
Fu Hanxi
d64eafcd7c ci: add example c3 as a special case for build only 2021-03-29 11:11:02 +08:00
Marius Vikhammer
d3d145285d flash enc: add flash encryption unit and example test for C3 2021-03-25 17:51:22 +08:00
Juraj Michalek
70e06a46ba tools: IDF Windows installer offline mode support 2021-03-24 12:27:46 +01:00
Anton Maklakov
93a9803378 Merge branch 'bugfix/c3_unit_test_rule' into 'master'
ci: run c3 unit tests when other unit test run

See merge request espressif/esp-idf!12595
2021-03-22 04:06:44 +00:00
Michael (XIAO Xufeng)
d5543c3dae Merge branch 'bugfix/spi_slv_dual_boad_test_slv_fail_issue' into 'master'
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3

See merge request espressif/esp-idf!12332
2021-03-18 06:41:28 +00:00
Anton Maklakov
e7d8337d9a Merge branch 'ci/ignore_check_link_result' into 'master'
CI: ignore result from check_doc_links

Closes IDFCI-503 and IDFCI-383

See merge request espressif/esp-idf!12754
2021-03-18 04:06:29 +00:00
No One
2e5a334831 ci: run c3 unit test when other unit test run
C3 unit test were only being ran by unit_test_esp32c3 label/title,
should also be trigger by unit_test label/title
2021-03-18 10:36:08 +08:00
Anton Maklakov
93c0d0b4b8 Merge branch 'ci/build_unit_test_in_parallel' into 'master'
ci: build unit_test in parallel

See merge request espressif/esp-idf!12510
2021-03-18 02:10:05 +00:00
Marius Vikhammer
6a46a77356 CI: ignore result from check_doc_links
check_doc_links will always fail due to:
 * No rate limitation for requests
 * Not being able to handle github links with anchors
2021-03-16 18:45:11 +08:00
Armando
01b5ef31b4 spi_slave: enable spi slave dual board test on esp32c3 2021-03-16 16:08:49 +08:00
Fu Hanxi
2229e3635f ci(UT): add argument "node_index" in UnitTestParser 2021-03-15 16:04:42 +08:00
Fu Hanxi
f8061a898e ci: build unit_test in parallel 2021-03-15 12:48:04 +08:00
Marius Vikhammer
c85d949c1f ci: run Example_GENERIC for C3
Add support for running example_GENERIC tests for C3 on label.

Fix examples that fail.
2021-03-15 10:27:07 +08:00
suren.gabrielyan
55716945a9 mdns: Removed freeRTOS dependancies from fuzzer tests 2021-03-11 08:57:36 +00:00
Renz Bagaporo
2fc86716cf ci: add ldgen test to custom test pattern 2021-03-11 11:59:31 +08:00
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