Wykres commitów

489 Commity (b7382c60f982ba43379d4f467068e7bbec18af94)

Autor SHA1 Wiadomość Data
Fu Hanxi 135b75dd53
ci: ensure macos selected the correct python installed by pyenv 2024-06-05 16:01:58 +02:00
Fu Hanxi 048042df08
ci: make fast_template_app optional 2024-05-21 05:55:36 +02:00
Fu Hanxi 7bbe28ccc5
ci: use github repo for mac runners 2024-05-21 05:48:55 +02:00
Marius Vikhammer f00e5a042f Merge branch 'ci/new-known_failure_cases_workflow(v5.0)' into 'release/v5.0'
ci: change known_failure_cases workflow(v5.0)

See merge request espressif/esp-idf!27964
2024-03-01 15:04:04 +08:00
David Čermák 539f326fd2 Merge branch 'ci/enable_ip101_jobs_v5.0' into 'release/v5.0'
ci(esp_eth): enabled Ethernet ip101 jobs (v5.0)

See merge request espressif/esp-idf!28606
2024-02-29 19:28:18 +08:00
Peter Dragun 575e924d61 fix(tools): catch more general errors in python dependency checker 2024-02-22 11:33:52 +01:00
igor.udot 8003214fd5 ci: change known_failure_cases workflow 2024-01-30 14:27:42 +08:00
Ondrej Kosta 8c305d182b ci(esp_eth): enabled Ethernet ip101 jobs 2024-01-22 12:48:41 +01:00
Fu Hanxi 96c9c43c5e
ci: remove ip101 jobs and twai_std jobs 2024-01-10 10:33:18 +01:00
Ondrej Kosta 44252caf3f ci(esp_eth): moved LAN8720 test to a new runner 2024-01-04 13:19:36 +01:00
Frantisek Hrbata 54f5ade84e 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:30:34 +01:00
Frantisek Hrbata b20cd8ccfa 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-19 12:55:35 +01:00
Chen Yudong 81350e30f3 ci: fix assign test jobs 2023-11-15 05:49:32 +00:00
Chen Yudong 4d4b89755c ci: add label rules for integration test 2023-11-15 05:49:32 +00:00
Chen Yudong 249468e5bc ci: add qa-test-tag rules 2023-11-15 05:49:32 +00:00
Chen Yudong 29a2249170 ci: dynamic integration test child pipeline 2023-11-15 05:49:32 +00:00
Peter Dragun 34a6d8ebe7 fix(tools/coredump): ignore missing project description 2023-11-08 13:10:10 +01:00
Harshit Malpani 88a815c84e
fix(ci): update HTTP client example tests runner assignment
HTTP client example tests now connect with locally hosted httpbin service
for more stable results across multiple runs
2023-07-21 17:15:35 +05:30
Frantisek Hrbata b947cab073 tools: add sbom information for submodules
This adds SBOM information for submodules, which are not managed
by Espressif. Meaning there is no fork for them in the espressif
namespace. Other submodules should add sbom.yml manifest file to
the root of their git repository.

The SBOM information for submodules is stored in the .gitmodules file.
Each SBOM related variable has the "sbom-" prefix and the following
variables may be used:

sbom-version:
   submodule version

sbom-cpe:
   CPE record if available in NVD. This will be used by the SBOM
   tool to check for possible submodule vulnerabilities. The
   version in the CPE can be replaced with the "{}" placeholder,
   which will be replaced by the "sbom-version" value from above.

sbom-supplier:
   Person or organization who is providing the submodule.
   It has to start with "Person:" or "Organization:" prefix
   as required by the SPDX-2.2 standard.

sbom-url:
   URL to the project if exists, e.g. github.

sbom-description:
   Project description.

sbom-hash:
   Submodule SHA as recorded in the git-tree. This field is used by
   CI to check that the submodule checkout hash and info in .gitmodules
   are in sync. IOW if submodule is updated and it has SBOM info in
   .gitmodules, the .gitmodules has to be updated too. The test is
   part of this commit. The checkout has of the submodule can be found
   by using "git submodule status".

Example for micro-ecc submodule
---8<---
[submodule "components/bootloader/subproject/components/micro-ecc/micro-ecc"]
	path = components/bootloader/subproject/components/micro-ecc/micro-ecc
	url = ../../kmackay/micro-ecc.git
	sbom-version = 1.0
	sbom-cpe = cpe:2.3🅰️micro-ecc_project:micro-ecc:{}:*:*:*:*:*:*:*
	sbom-supplier = Person: Ken MacKay
	sbom-url = https://github.com/kmackay/micro-ecc
	sbom-description = A small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors
	sbom-hash = d037ec89546fad14b5c4d5456c2e23a71e554966
---8<---

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-27 10:05:29 +02:00
Alexey Lapshin e092b58696 coredump: remove tests (moved to esp-coredump repo) 2023-05-16 12:49:13 +08:00
Jiang Jiang Jian 834ca549a2 Merge branch 'feature/remove-cxx-experimental-v5.0' into 'release/v5.0'
cxx: removed cxx experimental components (v5.0)

See merge request espressif/esp-idf!22531
2023-03-30 09:34:01 +08:00
aleks be59a273c6 modbus remove example tests 2023-03-20 13:12:30 +01:00
Ivan Grokhotkov 72d59d1ced ci: add .cpp and .hpp files, but ignore nvs_storage.cpp
* nvs_storage.cpp seems to produce a false positive
2023-03-09 17:38:53 +08:00
Zim Kalinowski 20db248fb2 cxx: removed cxx experimental components 2023-03-05 10:23:28 +01:00
Chen Yudong a62e103109 CI: add example adc tests 2023-03-01 22:40:34 +08:00
Chen Yudong c8e7ab7f17 CI: add generic to xtal_40mhz jobs 2023-03-01 22:40:32 +08:00
Jiang Jiang Jian 335ad04cba Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2_backport_v5.0' into 'release/v5.0'
esp32c2: support feature(rtc time) depend on rtc fast mem(backport v5.0)

See merge request espressif/esp-idf!22224
2023-02-27 15:06:31 +08:00
jingli 99c6be712d ci: fix ci error 2023-02-16 10:55:50 +08:00
Tomas Rezucha 05f30c1052 usb: Refactor USB Host tests
* USB tests migrated to pytest
* Error messages improved
* Configurable for different mock devices
2023-01-09 17:55:20 +08:00
Tomas Rezucha b4f281f523 tinyusb: Add TinyUSB example tests 2023-01-09 17:55:02 +08:00
Ivan Grokhotkov 5efbb7171d Merge branch 'bugfix/sdmmc_target_test_v5.0' into 'release/v5.0'
ci: add missing target-test jobs for sdcard and extflash examples (v5.0)

See merge request espressif/esp-idf!21700
2022-12-21 17:03:55 +08:00
Chen Yudong 50ec3e0145 CI: fix ethernet throughput test 2022-12-20 11:26:43 +08:00
Ivan Grokhotkov 2f0ed546f5
ci: add missing target-test jobs for sdcard and extflash examples 2022-12-19 14:06:11 +01:00
Island 12a069d593 Merge branch 'feature/seperate_ble_wifi_test_environment_v5.0' into 'release/v5.0'
seperate ble wifi environment and support ci esp32c2 (backport v5.0)

See merge request espressif/esp-idf!20084
2022-12-12 16:36:20 +08:00
Chen Sheng 96ff16199a seperate ble wifi environment and support ci esp32c2 (backport v5.0) 2022-12-12 16:36:20 +08:00
Fu Hanxi 85e1927add ci: use different tag for runners to run the cache jobs 2022-12-09 20:20:35 +08:00
Fu Hanxi 6688ba7b8e Merge branch 'ci/upload_elf_map_to_minio_v5.0' into 'release/v5.0'
ci: upload elf map file to s3 server to reduce artifacts size (v5.0)

See merge request espressif/esp-idf!19902
2022-12-05 18:17:59 +08:00
Zim Kalinowski 759f7ec13d Merge branch 'feature/add_int_task_wdt_esp32c2_v5.0' into 'release/v5.0'
WDT: implement interrupt wdt and task wdt for ESP32-C2 (backport v5.0)

See merge request espressif/esp-idf!20980
2022-12-05 16:38:35 +08:00
Jiang Jiang Jian f8aeda2d45 Merge branch 'ci/optimize_test_wifi_get_started_v5.0' into 'release/v5.0'
CI: optimize wifi get started example test (v5.0)

See merge request espressif/esp-idf!20607
2022-12-05 10:45:52 +08:00
Fu Hanxi 02cf6230e7 ci: build apps only on shiny server 2022-12-02 15:42:40 +00:00
Fu Hanxi 283ba0f074 ci: fix check_test_scripts_build_test_rules not install pytest error 2022-12-02 15:42:40 +00:00
Fu Hanxi bd386775b1 ci: adjust build jobs parallel count 2022-12-02 15:42:40 +00:00
Fu Hanxi 3eb66d2ef0 ci: move LDGEN_CHECK_MAPPING to configure_ci_environment.sh 2022-12-02 15:42:40 +00:00
Fu Hanxi 1d40386215 ci: upload elf map file to s3 server to reduce artifacts size
f
2022-12-02 15:42:40 +00:00
Marius Vikhammer 5968ca76aa ci: enable running C2 tests by default 2022-12-02 11:15:58 +00:00
Roland Dobai e08150e534 Merge branch 'fix/tools-gdbinit-with-elf-symbols_v5.0' into 'release/v5.0'
tools: fixed elf symbols load if gdbinit specified (v5.0)

See merge request espressif/esp-idf!20467
2022-12-02 19:09:48 +08:00
Omar Chebib b675bb2a4d WDT: implement interrupt wdt and task wdt for ESP32-C2
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-12-01 10:45:35 +00:00
Martin Vychodil af81bd1b0a Storage: Partition APIs moved to the new component 'esp_partition'
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
Tomas Rezucha 61191a5ce5 tinyusb: Use TinyUSB from component registry 2022-10-25 06:44:56 +02:00
Chen Yudong a77617e673 CI: optimize wifi get started example test 2022-10-14 15:02:24 +08:00