Commit Graph

951 Commits

Author SHA1 Message Date
Roland Dobai
9e9ff8f17c Merge branch 'ci/pre_commit_sbom_validation_v5.2' into 'release/v5.2'
ci: add sbom validation using pre-commit's post-commit stage (v5.2)

See merge request espressif/esp-idf!28228
2024-02-18 15:35:22 +08:00
Fu Hanxi
f317bb15fd
ci: remove ip101 jobs and twai_std jobs 2024-01-10 10:27:51 +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
Jiang Jiang Jian
17654970e9 Merge branch 'tools/use_recommended_tool_priority_backport_v_5_2' into 'release/v5.2'
fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one (v5.2)

See merge request espressif/esp-idf!27796
2023-12-26 10:35:56 +08:00
Aleksei Apaseev
786c23bcfa fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one 2023-12-12 14:25:25 +08:00
Marius Vikhammer
4435437501
ci(docs): revert git strategy change for deploy docs 2023-12-11 11:34:04 +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
8ce0b8bf73
ci: fix upload failed job log script 2023-12-11 11:15:08 +01:00
Chen Yudong
ceb9e42058
ci: fix fetch git diff from pipeline schedules 2023-12-11 11:14:48 +01:00
Chen Yudong
6947dd533a
ci: fix fetch_from_mirror_url_if_exists 2023-12-11 11:14:43 +01:00
Aleksei Apaseev
e6a4ad3d55
ci: Move upload artifacts execution of build and target_test stages to the after script section 2023-12-11 11:13:56 +01:00
igor udot (horw)
21b06f43bf
ci: added build log artifacts for linux 2023-12-11 11:12:14 +01:00
Aleksei Apaseev
911ad39808
ci: Upload artifacts of target stage jobs to s3 bucket 2023-12-11 11:12:02 +01:00
Fu Hanxi
651f60e663
ci: improve check pylint get files command 2023-12-11 11:11:39 +01:00
Fu Hanxi
0fe3ec63a0
ci: optimize git strategy 2023-12-08 11:00:19 +01:00
Frantisek Hrbata
a6cbcb91d2 feat: use esp-idf-sbom pre-commit plugin
Currently sbom manifest is checked only in .gitmodules and
this check is done in pre-commit and also in CI. Meaning it's running
three times(pre-commit before push if user has it enabled, in CI
as there is the pre-commit run again and again with test in CI). Since
esp-idf-sbom contains a full manifest validation support and pre-commit
plugin for it, let's use it. This removes all the current sbom testing
and replaces it with a signle pre-commit plugin which validates all
manifests files(sbom.yml, idf_component.yml, .gitmodules and also
referenced manifests) in repository. Note that this checks all
manifests, not only ones which were modified. The check is reasonably
fast though, so it should not cause any problem. The reason for
validating all manifest files is that we want to make sure that the sbom
information in .gitmodules is updated too and that the hash
recorded in .gitmodules is up-to-date. Meaning submodule update
would not trigger this plugin, because no manifest was changed.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-07 13:22:47 +01:00
Liu Linyan
ba7b323c3e fix(ble_mesh): Use submodule for mesh 1.1 lib files 2023-12-01 10:00:37 +08:00
Marius Vikhammer
99f06b7c56 Merge branch 'ci/docs_no_download_artifacts_v5.2' into 'release/v5.2'
ci(docs): stop build docs jobs from downloading artifacts (v5.2)

See merge request espressif/esp-idf!26973
2023-11-13 11:55:25 +08:00
Marius Vikhammer
1f9d4c5c5c ci(docs): stop build docs jobs from downloading artifacts 2023-11-07 11:45:21 +08:00
Chen Yudong
3c67e1ba01 ci: add label rules for integration test
fix typo
2023-11-03 19:21:34 +08:00
Chen Yudong
4400846c61 ci: remove unused integration test files 2023-11-03 19:21:30 +08:00
Ivan Grokhotkov
dec0bc482c
change(gitlab): simplify approvals for backports (v5.2) 2023-10-26 16:00:52 +02:00
Marius Vikhammer
eceefa878f Merge branch 'ci/build_test_add_known_failure' into 'master'
ci(build_test): add known-failure check

See merge request espressif/esp-idf!26618
2023-10-26 15:30:19 +08:00
Marius Vikhammer
4ea0538a88 Merge branch 'ci/system_example_test_reduction' into 'master'
ci: reduce the number of system examples built/tested in regular pipelines

See merge request espressif/esp-idf!26519
2023-10-26 10:36:18 +08:00
Marius Vikhammer
7559a1eccf Merge branch 'ci/delay_build_docs_master' into 'master'
ci: run build_docs jobs after target tests on protected branches

See merge request espressif/esp-idf!26508
2023-10-26 10:28:56 +08:00
Fu Hanxi
b4268c874a Merge branch 'ci/tune_build_jobs_parallel_count_master' into 'master'
ci: tune build test jobs parallel count

See merge request espressif/esp-idf!26627
2023-10-24 21:19:51 +08:00
Marius Vikhammer
d98e77a4a7 ci: run build_docs jobs after target tests on protected branches
On master running costly build docs jobs for every pipeline uses a lot of resources.
This refactor moves the build doc stage after target tests for protected branches.

For regular MRs we still get the desired behavior of build docs being independent of targets tests,
as we dont want developers to have to pass all target tests to test their doc changes.
2023-10-24 09:33:39 +08:00
Fu Hanxi
1726ce888d
ci: tune build test jobs parallel count 2023-10-23 10:43:51 +02:00
Fu Hanxi
eb37150780
ci: add all nightly run env vars while checking 2023-10-23 09:19:31 +02:00
Fu Hanxi
ad9b07f589
ci: add idf_pytest package into patterns to trigger target test jobs 2023-10-23 08:54:02 +02:00
Anton Maklakov
57e03f05e3 Merge branch 'ci/optimize_deploy_job_dependencies' into 'master'
ci: optimize deploy jobs dependencies

See merge request espressif/esp-idf!26610
2023-10-23 12:08:52 +08:00
Marius Vikhammer
9b8aa6a792 ci(build_test): add known-failure check 2023-10-22 09:12:45 +08:00
Marius Vikhammer
6a3cf1faa2 ci(build): add idf.py and idf.py actions as trigger for build-system test 2023-10-21 12:40:02 +08:00
Chen Yudong
a91f692358 ci: optimize deploy jobs dependencies 2023-10-20 18:51:30 +08:00
Chen Yudong
f1d8927ba0 ci: add qa-test-tag rules 2023-10-18 13:01:07 +08:00
Chen Yudong
1a2953ae13 ci: dynamic integration test child pipeline 2023-10-18 12:59:29 +08:00
Fu Hanxi
321d3c9ba6 Merge branch 'ci/remove_ttfw' into 'master'
ci: remove ttfw

See merge request espressif/esp-idf!26313
2023-10-17 20:43:56 +08:00
Kirill Chalov
d6a5d55c02 Merge branch 'docs/add-vale-config' into 'master'
docs: add vale config

See merge request espressif/esp-idf!26227
2023-10-17 16:28:08 +08:00
Fu Hanxi
4dbf8c8948
ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
Fu Hanxi
786a641851 Merge branch 'ci/build_jobs_use_cache' into 'master'
ci: Upload Artifacts to Minio Server Instead of Gitlab Server

Closes IDFCI-1653

See merge request espressif/esp-idf!25664
2023-10-16 00:49:47 +08:00
Chen Yudong
02f91d4f25 ci: fix pytest components ethernet rules 2023-10-13 21:33:25 +08:00
Fu Hanxi
79bc66b323
ci: upload to minio server instead of gitlab artifacts for pytest jobs 2023-10-13 13:01:23 +02:00
Fu Hanxi
9bef0db402
ci: remove SETUP_TOOLS since now we run install.sh for all jobs 2023-10-13 13:01:23 +02:00
Fu Hanxi
6be05d415b
ci: remove unit-test-app ci jobs 2023-10-13 13:01:16 +02: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
Ondrej Kosta
4f6c86ebb8 Merge branch 'feature/extend_eth_test_targets' into 'master'
CI tests for all supported Ethernet tests

Closes IDF-5704

See merge request espressif/esp-idf!24468
2023-10-13 18:44:10 +08:00
Peter Dragun
95b764970e Merge branch 'feat/uf2-to-esptool' into 'master'
feat(tools): move uf2 file generation to esptool

Closes IDF-7434

See merge request espressif/esp-idf!25655
2023-10-12 16:03:16 +08:00
Ondrej
3a3656ba38 ci(esp_eth): added tests of all supported Etherent chips 2023-10-12 07:23:51 +00:00
Anton Maklakov
db2224e544 Merge branch 'ci/danger_parse_backslash_in_releasenotes' into 'master'
ci(danger): Allow backslash in Release notes

See merge request espressif/esp-idf!26241
2023-10-11 16:17:42 +08:00
Anton Maklakov
2472c62fff Merge branch 'feature/add_qemu_to_tools-json' into 'master'
Add QEMU to tools.json

Closes QEMU-164

See merge request espressif/esp-idf!25973
2023-10-11 12:54:46 +08:00