Commit Graph

38 Commits

Author SHA1 Message Date
Fu Hanxi
1fa6d49f6f ci: remove idf-env.json before install.sh for macos jobs 2024-09-12 20:18:46 +08:00
Fu Hanxi
dca0465095 feat: split pytest requirements to base and test-specific 2024-09-12 20:18:46 +08:00
Fu Hanxi
350f1410d3
ci: checkout back to merged result commit again to get the latest files 2024-08-27 14:39:10 +02:00
Aleksei Apaseev
a6b84b5ccc feat(ci): add retry job functionality to dynamic pipeline report
Introduced changes:

- add a manual ci job to retry failed jobs.
- refactor js scripts in report template
- extract the CI ENV vars related to the report generation script to the predefined constants.py module
- introduce a new action "retry_failed_jobs" in helper script "gitlab_api.py"
2024-08-09 19:05:53 +08:00
igor.udot
e669c7ab5b ci: fast_pipeline yml branch 2024-08-05 16:07:36 +08:00
Alexey Gerenkov
57f61d2311 feat(tools): Update Clang version to esp-17.0.1_20240419 2024-05-03 16:55:13 +03:00
Ivan Grokhotkov
0436d49815
change(version): Update version to v5.4-dev 2024-04-22 22:43:44 +02:00
Fu Hanxi
b5607cf43c
ci: disable ccache on macos build system test 2024-04-16 15:32:10 +02:00
Fu Hanxi
588ac5f4fb
ci: ensure macos selected the correct python installed by pyenv 2024-04-16 15:31:45 +02:00
Fu Hanxi
201d7d19ba
ci: increase ccache size from 20GB to 50GB 2024-03-26 10:58:49 +01:00
Fu Hanxi
7928f46f2d ci: use host mapping volumes to improve the ccache hits 2024-03-20 17:26:19 +08:00
Fu Hanxi
4b17811c86
ci: use full fetch while checking git tags 2024-03-05 15:38:02 +01:00
Fu Hanxi
5af630da20
ci: fix git strategy env var 2024-02-28 15:04:34 +01:00
Fu Hanxi
b70d65444a
ci: always set expire_in and when with artifacts
set it under `default` does not work due to gitlab bugs.
will use `default` back once the bugs are resolved.
2024-02-16 13:43:53 +01:00
igor.udot
f5972ab592 ci: change known_failure_cases workflow 2024-01-21 15:36:25 +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
Fu Hanxi
b709c880dd
ci: add linter for gitlab yaml files
- remove duplicated artifacts default values
- migrate check_artifacts_expire_time.py
- migrate check_rules_yml.py
2024-01-10 15:29:42 +01:00
Fu Hanxi
c633ba167d
ci: fix code_quality_check 2024-01-08 10:13:08 +01:00
Chen Yudong
ff015d1872 ci: differnet cache key for different idf ver
update caches on release tags and nightly schedules
2023-12-19 16:56:53 +08:00
Aleksei Apaseev
0219e8e85d fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one 2023-12-08 10:14:19 +08:00
Ivan Grokhotkov
178b27ed80
ci(qemu): use qemu from tools.json, don't require a special image 2023-12-03 07:45:19 +01:00
Ivan Grokhotkov
71153c7dbb
feat(tools): add 'idf.py qemu' extension
This extension allows running programs in QEMU similar to running
them on a real chip:

- 'idf.py qemu' — builds and runs the program in QEMU. User gets
  a QEMU instance launched, and can work with it as a normal QEMU
  instance.
- 'idf.py qemu monitor' — same, but QEMU is launched in the
  background, and idf_monitor runs in the foreground, showing QEMU
  output. Compared to only running 'idf.py qemu' this enables, for
  example, automatic backtrace decoding.
- 'idf.py qemu gdb' — launches QEMU in the background and opens an
  interactive GDB prompt, connecting it to QEMU.
- 'idf.py qemu --gdb monitor' and 'idf.py gdb' in another shell:
  launches QEMU in the background, keeps it suspended until GDB is
  connected, and opens idf_monitor. GDB can be used in another shell
  to debug the application.
2023-12-03 07:45:19 +01:00
Fu Hanxi
09eec2ba47 Merge branch 'ci/fix_upload_failed_job_log_script' into 'master'
ci: fix upload failed job log script

See merge request espressif/esp-idf!27357
2023-11-27 18:32:45 +08:00
Chen Yu Dong
ab03c2ea13 Merge branch 'ci/fix_fetch_git_diff_on_schedules' into 'master'
ci: fix fetch git diff from pipeline schedules

See merge request espressif/esp-idf!27263
2023-11-24 21:15:41 +08:00
Fu Hanxi
4ef1a8cc3a
ci: fix upload failed job log script 2023-11-23 08:03:42 +01:00
Chen Yudong
294222eabf ci: fix fetch git diff from pipeline schedules 2023-11-20 22:08:57 +08:00
Chen Yudong
d738185ff8 ci: fix fetch_from_mirror_url_if_exists 2023-11-20 16:00:01 +08:00
Fu Hanxi
a6ccc2e18e
ci: optimize git strategy 2023-11-14 15:31:30 +01:00
Aleksei Apaseev
b64da91823 ci: Move upload artifacts execution of build and target_test stages to the after script section 2023-11-06 18:24:10 +08:00
Fu Hanxi
14d8fc82fe
ci: update constraint file to 5.3 2023-10-30 12:00:29 +01:00
Ivan Grokhotkov
8171b22c40
change(version): Update version to 5.3.0 2023-10-27 03:06:55 +02: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
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
eb37150780
ci: add all nightly run env vars while checking 2023-10-23 09:19:31 +02:00
Chen Yudong
1a2953ae13 ci: dynamic integration test child pipeline 2023-10-18 12:59:29 +08:00
Fu Hanxi
4dbf8c8948
ci: remove ttfw related files 2023-10-16 10:23:09 +02: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
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