Commit Graph

476 Commits

Author SHA1 Message Date
Aleksei Apaseev
63bd3a18ad ci: add failed jobs report generator. Improve Target Test Report
Introduced changes:
- refactor the cli script used for report generation
- introduce failed jobs report generator
- cover job report generation with tests
- add job failure rate
- add test cases failure rate
- add current branch / other branches statistic for failed jobs / testcases
2024-06-20 14:40:54 +08:00
Marek Fiala
a97e355e74 feat(tools): Run Tools related host tests on Win 2024-02-02 14:58:04 +01:00
Chen Yudong
b27cf4d444 ci: update pre_commit jobs 2024-01-30 22:45:21 +08:00
Fu Hanxi
fba96d58c2
ci: dynamic pipeline
build:
- upgrade idf-build-apps to 2.x
- unify get_pytest_apps and get_cmake_apps to get_all_apps
	- returns (test_apps, non_test_apps) tuple
- add tests for the new get_all_apps

assign:
- generate build report
- generate target test pipeline based on the build report

target test:
- download artifacts from minio server
- users can use `pytest --pipeline-id xxxxx` to download and flash
the binaries from the artifacts

.post:
- generate target test reports
2024-01-10 15:37:34 +01:00
Tomas Sebestik
742ec21371
ci(danger-gitlab): migrate code; Danger Gitlab from Shared-CI-Danger
- set only brew runners to run danger, tag "dangerjs"
2023-11-27 09:36:34 +01:00
Fu Hanxi
a6ccc2e18e
ci: optimize git strategy 2023-11-14 15:31:30 +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
Fu Hanxi
4dbe541f80
ci: replace internal clang-tidy runner with the pypi project 2023-09-27 10:25:49 +02:00
Fu Hanxi
28c9953ffe
ci: pylint with codeclimate 2023-08-15 08:31:45 +08:00
radim.karnis
8acde05a5c feat: Drop Python 3.7 support 2023-08-08 08:37:29 +02:00
Alexey Gerenkov
d4e1935ba8 Merge branch 'feature/compiler_rt_support' into 'master'
build: Adds support for compiler-rt in Clang toolchain

See merge request espressif/esp-idf!21213
2023-06-09 04:41:34 +08:00
Alexey Gerenkov
532182a557 ci: Allows to use custom clang distro specified by 'CI_CLANG_DISTRO_URL' var 2023-06-08 16:49:42 +03:00
harshal.patil
0b86bcd35f efuse: use esp32 qemu target for a efuses example test.
The efuses example test with secure boot v2 and flash encryption enabled can be run on the esp32 qemu image.
2023-06-07 18:19:56 +05:30
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
Fu Hanxi
2cbcafc4d3 ci: remove unused variables 2023-05-26 22:59:57 +08:00
Ivan Grokhotkov
39580dd08c
version: update to v5.2.0
Starting IDF v5.2 development
2023-04-23 21:52:21 +02:00
Tomas Sebestik
1946f5c488 ci(danger): add DangerJS npm modules cache 2023-04-14 09:01:18 +02:00
Fu Hanxi
c8064d0b2e ci: rename target test jobs names 2023-04-07 12:29:30 +08: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
Alexey Gerenkov
47c2c13de5 build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
KonstantinKondrashov
1a9ca94ac6 ci: Fix environment variable IDF_CI_BUILD is not set 2022-11-08 18:23:39 +08:00
Fu Hanxi
43f58f724d ci: install pytest packages if job name has _pytest_ 2022-10-20 20:34:51 +08:00
Fu Hanxi
f10e6145dc ci: simplify the python env to idf venv only 2022-08-18 11:40:22 +08:00
Jiang Jiang Jian
10330d153c Merge branch 'ci/add_integration_test_env' into 'master'
CI: add integration test env

Closes TRM-82 and TRM-83

See merge request espressif/esp-idf!19368
2022-08-16 12:14:19 +08:00
Roland Dobai
bab3830797 Tools: Fix flake8 version 5 warnings 2022-08-12 08:13:13 +00:00
Chen Yudong
38bd98acf0 CI: add integration test env 2022-08-08 22:07:40 +08:00
Ivan Grokhotkov
3eec11005c
ci: upgrade qemu to 20220802 release
Changes accumulated since 20210826 release:

- Fixed cache flush emulation
- Fixed loading of baremetal ELF files via -kernel arg
- Added emulation of AES peripheral
- Fixed division by zero in UART emulation
- Fixed APP CPU using same ROM code as PRO CPU
- Base QEMU version upgraded from 6.1.0 to 7.0.0
2022-08-07 11:00:41 +02:00
Ivan Grokhotkov
012fafb827
versions: Update version to 5.1.0 2022-08-04 09:55:43 +02:00
Fu Hanxi
b684730da2 ci: use the new requirement txt
will be cleaned up in IDFCI-1347
2022-08-01 15:52:21 +08:00
Fu Hanxi
e4ba92ce69 ci: remove comment for dash compatibility 2022-07-27 14:02:00 +08:00
Fu Hanxi
a8f6cfb97d ci: export INCLUDE_NIGHTLY_RUN when mr got label 2022-07-25 16:24:23 +08:00
Fu Hanxi
9653af8d04 Merge branch 'ci/cache_submodules' into 'master'
CI: cache submodules

Closes IDFCI-1158

See merge request espressif/esp-idf!19009
2022-07-14 20:34:34 +08:00
Fu Hanxi
62ca8e2fb4 ci: cache submodules 2022-07-14 14:08:16 +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
Fu Hanxi
f20a747a26 ci: upload cache only when requirements txt changed 2022-06-08 08:19:35 +08:00
Fu Hanxi
5a0a14504d ci: split pytest requirements to requirements.json 2022-06-08 08:19:35 +08:00
Harshit Malpani
9e5a97c23f .gitlab-ci.yml: Add netifaces depedency for pytest examples 2022-06-03 16:00:52 +05:30
Harshit Malpani
e9201edab8 .gitlab-ci.yml: Add websocket-client depedency for pytest examples 2022-05-27 10:31:21 +05:30
Fu Hanxi
e0a41cd816 ci: fix protobuf 4.0 incompatible issue 2022-05-26 14:42:16 +08:00
Fu Hanxi
a5bb129c37 ci: skip auto parse coredump 2022-05-25 11:28:29 +08:00
Fu Hanxi
4746a71028 ci: add qemu example 2022-05-21 00:11:59 +08:00
Fu Hanxi
5c997bd5dd ci(pytest): upgrade to 0.7.0 2022-05-13 11:54:42 +08:00
Tomas Sebestik
8dde0b1676 Update target-test-env-v5.0:2 2022-05-06 16:31:50 +00:00
radim.karnis
ba62e17d40 ci: Allow testing IDF Python tools in the CI context 2022-05-05 15:36:34 +02:00
Fu Hanxi
c82adde67d ci: fix missing esptool for integration tests 2022-04-27 20:43:05 +08:00
Fu Hanxi
609d5a4e77 Merge branch 'ci/force_based_on_commit' into 'master'
ci: support one pipeline must based on commmits

Closes IDFCI-1175

See merge request espressif/esp-idf!17817
2022-04-27 10:59:23 +08:00
morris
ab6bfcfd4b Merge branch 'feature/esp_docs_1.0.0' into 'master'
docs: update esp-docs to 1.0.0

See merge request espressif/esp-idf!17845
2022-04-26 19:03:59 +08:00