Commit Graph

69 Commits

Author SHA1 Message Date
Fu Hanxi
112488fbcf
ci: use full fetch while checking git tags 2024-03-05 15:40:01 +01:00
Frantisek Hrbata
713546e8bd ci: add sbom validation using pre-commit's post-commit stage
With 09ba070b7e ("fix: allow to use older pre-commit hook version")
and b93cc581a5 ("fix: set default pre-commit hook stages to pre-commit..")
we set the default pre-commit hook stage to commit/pre-commit, which avoids
running the pre-commit plugins/hooks multiple times for different stages.
Unfortunately this also affects "pre-commit run" used in CI and
now it runs only plugins which are by default using the
commit/pre-commit stage. Meaning the sbom validation, which uses
post-commit, is not run at all. This adds an explicit pre-commit command
for validate-sbom-manifest plugin, which needs to be started in
post-commit stage.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-02 16:10:28 +01:00
Aleksei Apaseev
8dcf3e5f80
ci: Upload report about modified files and components to s3 bucket 2023-12-11 11:15:45 +01:00
Fu Hanxi
0fe3ec63a0
ci: optimize git strategy 2023-12-08 11:00:19 +01:00
Chen Yudong
1a2953ae13 ci: dynamic integration test child pipeline 2023-10-18 12:59:29 +08:00
Fu Hanxi
a3a8c2acb9
ci: move default variables, before(after)_script into a single file
could help reuse the default settings on main pipeline and child
pipeline

renamed:
- .before_script_minimal -> .before_script:minimal
- .before_script_macos -> .before_script:build:macos
- .before_script_build_jobs -> .before_script:build
2023-10-13 12:55:51 +02:00
Jakub Kocka
22dcc26674 fix(tools/kconfig): Moved check_konfigs.py to esp-idf-kconfig package
Closes https://github.com/espressif/esp-idf/issues/10872
2023-10-06 13:02:56 +02:00
Ivan Grokhotkov
8c26ddf4a1
feat(ci): add CI check for EXTRA_COMPONENT_DIRS in examples 2023-09-19 10:38:24 +02:00
Fu Hanxi
60db076a96
ci: add pre-commit to cleanup ignore lists 2023-08-09 12:09:31 +08:00
Armando
3fdddc2f1b change(ci): enable esp32p4 check public header 2023-08-04 14:13:59 +02:00
Chen Yu Dong
5c215405a4 Merge branch 'ci/add_patterns_for_fast_template_job' into 'master'
Ci: add patterns for fast template job

See merge request espressif/esp-idf!24820
2023-07-20 10:40:06 +08:00
Fu Hanxi
e872b69c12
ci: show mr.env env file 2023-07-19 11:50:53 +08:00
Chen Yudong
2c22b74479 ci(rules): add patterns fast template app
Update pre-check job rules
2023-07-18 11:21:24 +08:00
Fu Hanxi
a17abe169b ci: fix regexes 2023-05-31 21:35:47 +08:00
Fu Hanxi
22e2738f78 ci: build and test only modified components related test cases 2023-05-26 22:59:57 +08:00
Tomas Sebestik
1946f5c488 ci(danger): add DangerJS npm modules cache 2023-04-14 09:01:18 +02:00
David Cermak
924bac9956 lwip: Remove AFL based fuzzer tests
Also removed compilation pre-checks and jobs from the CI, and test data
2023-03-20 17:47:23 +00:00
Tomas Sebestik
8e65a673fa Merge branch 'dangerjs/improove_commit_messages' into 'master'
ci: danger: Improve check for git commit messages

Closes IDF-6856 and IDF-6970

See merge request espressif/esp-idf!22655
2023-03-17 19:45:41 +08:00
zhangwenxu
b596c28a22 coex: support esp32h2 coex lib 2023-03-16 17:23:43 +08:00
Tomas Sebestik
58d7db6e5d dangerjs: Improve check for git commit messages 2023-03-13 08:36:05 +01:00
Tomas Sebestik
7c58a38e88 Add improved check for Jira links
Break DangerJS checks to modules
Improove "Release notes" section detection
Change check for size MR to async/await syntax
Update check for MR title - exact match WIP and DRAFT
Add check for incorrect format closing Jira link
Update check WIP in MR title
2023-03-06 13:43:25 +01:00
liuning
38316b38b5 esp_wifi: move coex part from esp_wifi to esp_coex 2023-02-26 06:58:18 +00:00
Tomas Sebestik
229d192b2a Add DangerJS MR review tool
Add retry link for Danger checks CI job
File dangerfile.js in .gitlab directory
Add notes about future development
Add record to CODEOWNERS
2023-02-13 08:34:17 +01:00
Fu Hanxi
fba7920569 ci: use brew runners by default for host test jobs 2023-01-18 07:41:35 +00:00
Fu Hanxi
59304efa9a test: add test to make sure the build flags are the same as the CI ones 2023-01-04 09:12:47 +08:00
Cao Sen Miao
4e67332b74 ESP32H2: Add small CI test for ESP32H2 2022-12-29 11:00:42 +08:00
wuzhenghui
fca7d70e05 esp32c6: add minimal ci support
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Fu Hanxi
1ffa222c23 ci: fix check_test_scripts_build_test_rules not install pytest error 2022-08-29 16:57:31 +08:00
Fu Hanxi
1daf541b6c ci: remove check_python_style since flake8 is included in pre-commit 2022-08-18 11:40:22 +08:00
Fu Hanxi
f10e6145dc ci: simplify the python env to idf venv only 2022-08-18 11:40:22 +08:00
Fu Hanxi
54f69d35a3 ci: add check job and pre-commit 2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
Fu Hanxi
46bac6427a ci: default python version 3.7.10 2022-07-14 08:26:01 +08:00
Ivan Grokhotkov
42654927d5
esp_system: add a script to check the startup priorities 2022-07-12 16:58:14 +02:00
David Čermák
46fe7dbc8c Merge branch 'component/mdns_migration' into 'master'
mdns: Remove internal component, examples, test and docs

Closes IDF-4074

See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
Ivan Grokhotkov
4c3dec9705
ci: check_public_headers: run for all targets 2022-06-29 22:49:51 +02:00
gabsuren
d413a71f61 mdns: Remove internal component, examples, test and docs 2022-06-29 17:30:34 +04:00
Fu Hanxi
f20a747a26 ci: upload cache only when requirements txt changed 2022-06-08 08:19:35 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
In c4bcf111, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.

Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.

This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Fu Hanxi
ce0533b75c ci: change scan test labels to scan_test 2022-03-03 11:25:10 +08:00
Fu Hanxi
83965c22b7 ci: cache policy is pull-only for most of the jobs 2022-02-25 14:31:21 +08:00
Tomas Sebestik
fce2929083 Add merged target-test-env image 2022-02-15 07:51:38 +01:00
Roland Dobai
51bfd280f8 Merge branch 'update/drop_python36' into 'master'
Drop Python 3.6

See merge request espressif/esp-idf!16676
2022-02-10 13:09:42 +00:00
Tomas Sebestik
fb12d03dc3 Drop Python 3.6 2022-02-10 07:20:52 +01:00
Chen Yudong
de7e67ccec CI: add expire_in and timeout for jobs
add timeout 4 hours and retry for deploy_test_result
add missing expire_in for artifacts
add timeout 1 hour for tartget test jobs
add retry when job_execution_timeout
2022-02-09 22:06:37 +08:00
Fu Hanxi
e761153cff ci: adjust parallel count based on build item count 2022-02-07 10:55:54 +08:00
Fu Hanxi
30f098cd49 ci: add build_non_test_component_apps 2022-02-07 10:55:54 +08:00
Fu Hanxi
b91f8fb4eb ci: skip building pytest apps in normal find_apps build_apps 2022-02-07 10:55:54 +08:00
Fu Hanxi
a801555299 ci: replace all component ut with pytest-embedded 2022-01-24 16:37:23 +08:00
morris
3b371d2d64 ci: check unstable soc headers wont be leaked by public api 2022-01-06 21:43:12 +08:00