Commit Graph

470 Commits

Author SHA1 Message Date
Fu Hanxi
83965c22b7 ci: cache policy is pull-only for most of the jobs 2022-02-25 14:31:21 +08:00
Fu Hanxi
4cbaf6fbb1 ci: enable pytest panic test 2022-02-23 09:12:46 +08:00
Ondrej Kosta
7512bdecfe Merge branch 'feature/emac_start_stop_test' into 'master'
test_emac: extended Ethernet start/stop stress test

Closes IDF-4540

See merge request espressif/esp-idf!16755
2022-02-15 13:23:01 +00:00
Tomas Sebestik
fce2929083 Add merged target-test-env image 2022-02-15 07:51:38 +01:00
Ondrej Kosta
57225f99c7 Created EMAC start/stop stress test under heavy traffic 2022-02-14 08:21:43 +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
Roland Dobai
dafa2e887a CI: Support using a custom Python constraint file for testing purposes 2022-02-02 08:07:07 +01:00
Fu Hanxi
62a397a9b5 ci: add flaky test 2022-01-24 16:37:23 +08:00
Fu Hanxi
90f8d27985 ci: use pytest-embedded 0.5.1 2022-01-24 15:55:00 +08:00
Marius Vikhammer
f018d3f2f0 docs: update esp-docs, rename esp8684 to esp32c2 2022-01-21 09:26:35 +08:00
Roland Dobai
b28d7e6850 Tools: Improve the Python package system
Introduce features into the Python package management system & manage
package versions outside of ESP-IDF repo.
2022-01-17 16:54:36 +01:00
Fu Hanxi
73c5644044 ci: update dockerfile to 5.0 2022-01-07 16:18:32 +08:00
Chen Yu Dong
e8cfba0745 Merge branch 'bugfix/set_authmode_by_switching_number_to_string' into 'master'
CI: change ap authmode from number to string

Closes IDFCI-1019

See merge request espressif/esp-idf!16552
2021-12-29 04:27:37 +00:00
huchaoru
675a9f95fc CI: change ap authmode from number to string 2021-12-27 19:55:56 +08:00
Marius Vikhammer
82325f6037 docs: update docs to be able to build with esp8684 2021-12-20 10:32:49 +08:00
Fu Hanxi
94578f4658 ci: add pytest-embedded CI jobs 2021-11-30 09:42:12 +08:00
Fu Hanxi
15ed0f1c84 ci: add variable PIPELINE_COMMIT_SHA 2021-10-28 13:32:53 +07:00
Anton Maklakov
762d1ceffd ci: Add retries on runner system failures 2021-10-28 10:28:12 +07:00
Marius Vikhammer
cf0e995fa9 docs: bump esp-docs version to 0.1.1 2021-09-06 14:55:04 +08:00
Fu Hanxi
065fc95369 ci: update pylint to 3.6 2021-08-30 11:18:51 +08:00
Zim Kalinowski
f65c8249af Merge branch 'feature/esp_docs' into 'master'
docs: update to use esp-docs

Closes IDF-3105

See merge request espressif/esp-idf!13333
2021-08-24 00:56:57 +00:00
Marius Vikhammer
7411321603 docs: update to use esp-docs 2021-08-24 08:56:48 +08:00
Fu Hanxi
d66a407eb3 ci: enable clang-tidy check for more components
Use internal project clang-tidy-runner

Move sonarqube related configs to sonar-project.properties
2021-08-19 09:26:20 +08:00
Ivan Grokhotkov
b4e8e9c845 ci: install CMake version from tools.json in espcoredump test
To help achieve reproducible builds.
2021-07-22 10:14:33 +08:00
Fu Hanxi
2800f36416 ci: move target-test unrelated build jobs into host_test stage 2021-06-30 15:36:44 +08:00
Anton Maklakov
a50de383d0 Merge branch 'feature/doc_build_improvement' into 'master'
CI: Use smaller docker image for documentation build

See merge request espressif/esp-idf!14113
2021-06-25 03:13:16 +00:00
Anton Maklakov
ec321ae4df Merge branch 'bugfix/ci_fix_test_build_system_cmake' into 'master'
ci: Fix concurrency issues for macOS build system tests

Closes IDFCI-708

See merge request espressif/esp-idf!14121
2021-06-25 03:09:57 +00:00
Roland Dobai
95d0afbe69 CI: Use smaller docker image for documentation build 2021-06-24 16:15:56 +02:00
Sergei Silnov
cc5a229bdb ci: Fix concurrency issues for macos buildsystem tests 2021-06-24 11:37:14 +02:00
Roland Dobai
395575d94c CI: Use the tagged image for static analysis 2021-06-22 15:58:45 +02:00
Roland Dobai
407053592e Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
Marius Vikhammer
e8b7d2ca08 docs: add warning for outdated versions 2021-04-27 09:02:11 +08:00
Marius Vikhammer
4429bc83ea ci: update docker image version for docs 2021-03-12 16:15:56 +08:00
Marius Vikhammer
4e9d810dfb Docs: build doc with new layout for target and version select 2021-03-12 16:15:56 +08:00
Alexey Gerenkov
a86bd8e768 ci: Install custom OpenOCD for target tests only 2021-03-10 14:13:26 +03:00
Fu Hanxi
8ce9e17718 Merge branch 'ci/remove_commit_trigger_and_wip_restriction' into 'master'
CI: remove commit trigger and wip restriction

See merge request espressif/esp-idf!12580
2021-03-05 02:27:03 +00:00
Ivan Grokhotkov
cc209d0098 Merge branch 'ci/run_testss_with_custom_oocd' into 'master'
CI target tests with custom OpenOCD distro

See merge request espressif/esp-idf!12062
2021-03-04 09:44:39 +00:00
Fu Hanxi
b4f8b250e8 ci: remove wip/draft rule, make it simpler. Run pipeline for every push 2021-03-02 11:45:49 +08:00
Fu Hanxi
611fe8794b ci: move doc build jobs into build_doc stage to run in parallel 2021-02-10 14:50:07 +08:00
Fu Hanxi
86287504ba ci: add general pipeline create rules
- If a commit message starts with "test ci", push commit will trigger a
pipeline

- If an MR title starts with "WIP:" or "Draft:", push commit will NOT
trigger a pipeline

- If a commit message starts with "WIP:" or "Draft:", push commit will
NOT trigger a pipeline
2021-02-10 14:50:07 +08:00
Fu Hanxi
b24b06d16c ci(rules): auto generate rules.yml labels titles and rules
Also simplified the labels and ci

- Remove label regular_test, weekend_test

- Remove apply_job_filter

- check_submodule_sync: only run on protected branch
2021-02-10 14:50:06 +08:00
Fu Hanxi
ffe0b7af32 ci: Move static code analysis related jobs to static-code-analysis.yml 2021-02-10 14:48:51 +08:00
Fu Hanxi
7dd7c6c072 ci(docs): Move doc related jobs to docs.yml 2021-02-10 14:48:51 +08:00
Fu Hanxi
a00b2a7e7b ci: re-enable MR push triggered pipeline 2021-02-10 14:48:50 +08:00
Alexey Gerenkov
80d8351895 ci: Run target tests with custom OpenOCD distro 2021-02-10 03:14:16 +00:00
dependabot[bot]
88aa3c2463 docs: bump cairosvg from 2.4.2 to 2.5.1 in /docs
Bumps [cairosvg](https://github.com/Kozea/CairoSVG) from 2.4.2 to 2.5.1.
- [Release notes](https://github.com/Kozea/CairoSVG/releases)
- [Changelog](https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst)
- [Commits](https://github.com/Kozea/CairoSVG/compare/2.4.2...2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Closes https://github.com/espressif/esp-idf/pull/6365
2021-01-13 19:41:16 +11:00
Ivan Grokhotkov
129eefa5cb ci: use HTTPS for cloning in IT jobs 2020-10-30 10:07:51 +01:00
Fu Hanxi
7951152f7b CI: Refactor CI rules into rules.yml.
- Add `utils.sh` for some widely used shell scripts
- Change `dependencies` into `needs` for strict dependency relationships
2020-10-26 10:23:46 +08:00
Chen Yu Dong
f38321a218 test: move auto_test_script to new repo
clone repo by https instead of ssh
2020-10-24 09:21:17 +08:00
Fu Hanxi
f103c2664e CI: Disable pipelines generated by push on dev branches 2020-09-25 17:06:52 +08:00
Roland Dobai
883cbc416e tools: Use kconfiglib from package 2020-09-22 11:29:30 +02:00
Ivan Grokhotkov
00072fe2e2 Merge branch 'ci/standalone_unit_test_app' into 'master'
CI: add standalone unit test app for esp_netif

See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
martin.gano
7a9abe3ec5 add chart of version support to version.rst 2020-09-09 11:32:44 +02:00
Fu Hanxi
edc7cc9c00 add component_ut in assign-test and target-test stage.
Add one template_test python file to get test case
2020-09-07 12:12:11 +08:00
Michael (XIAO Xufeng)
ad6609a561 ci: build s2 template app in pre_build of pre_check stage
This will fail pipeline earlier if template project of S2 cannot pass
the build.

The other builds for the template app, which is not CMake or default
optimization level are put into the build_template_app of build stage.
2020-08-10 18:00:39 +08:00
Marius Vikhammer
ccdd3d3db8 docs: update sphinx_idf_theme documentation
Bump CI doc-env docker image to v5
2020-07-06 10:45:43 +08:00
Michael (XIAO Xufeng)
f9f617cd4f ci: fix the issue that build_docs label has to be used with regular_test
The deploy_docs_preview used to be in the last stage (deploy), which is
later than the post_check. However the label check in the post_check
stage will fail when build_docs is used without regular test. Move the
deploy_docs_preview to new earlier stage (test_deploy) to fix this.

Also move related job `clang_tidy_deploy` there.
2020-06-12 10:59:46 +08:00
Ivan Grokhotkov
ac686ccd00 Merge branch 'feature/make_support_in_find_build_apps' into 'master'
ci: make supported in find_apps/build_apps

Closes IDF-1587

See merge request espressif/esp-idf!8429
2020-05-29 04:48:30 +08:00
Fu Hanxi
961a8cf85e remove artifact config in ci. 2020-05-22 19:08:02 +08:00
Fu Hanxi
dc89e6df6e make supported in find_apps/build_apps 2020-05-22 19:08:02 +08:00
morris
fef40fdb72 ci: do fetch submodules for python lint 2020-05-20 10:50:10 +08:00
Fu Hanxi
01ff4f621f Add build_unit_test.sh to do find_apps and build_apps to unit_tests
modify unit-test-apps config files, use CONFIG_IDF_TARGET to set target.
if not set, then treat them as supported both targets.
2020-04-30 06:47:49 +00:00
Marius Vikhammer
8a3d806798 doc: update CI to build PDF 2020-04-15 17:14:27 +08:00
Ivan Grokhotkov
9e0c368a6a ci: do fetch submodules in test_build_system_cmake_macos
Also install Python packages required by the CI scripts, and install
build tools (CMake, ninja).
2020-03-17 09:30:59 +01:00
Angus Gratton
1a2ddcb77a docs: deploy docs to production server from CI 2020-03-16 14:36:23 +11:00
Anton Maklakov
d6a5bb60da ci: remove using IDF_XTENSA_TOOLCHAIN_URL because there are idf_tools.json and multi-target support 2020-02-10 18:05:21 +07:00
Anton Maklakov
69d8eddbe4 ci: Use ARTIFACT_DOWNLOAD_ATTEMPTS and others from the project settings 2020-02-10 18:01:03 +07:00
Angus Gratton
ee03e04947 docs: Run build_docs script in ci 2020-02-07 16:37:44 +11:00
He Yin Ling
a11b15b92b CI: build system do not check submodule for CI 2019-12-08 20:32:10 +08:00
He Yin Ling
b4863551a9 CI: modify fetch submodule method:
download archive for submodules instead of clone
2019-12-08 20:32:10 +08:00
Roland Dobai
b52b49c8b6 CI: Do check first in order to save build time 2019-12-02 09:58:31 +01:00
Ivan Grokhotkov
cfe9244a96 ci: add build system test on macOS 2019-10-30 19:44:15 +01:00
Ivan Grokhotkov
5830f529d8 Merge branch 'master' into feature/esp32s2beta_merge 2019-10-02 19:01:39 +02:00
Roland Dobai
5a916ce126 Support ELF files loadable with gdb 2019-09-24 07:19:50 +00:00
Michael (XIAO Xufeng)
852ccd127a ci: switch to use cmake as build system for example test 2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
eac802357a ci: support build esp32s2beta UT 2019-09-04 10:53:25 +10:00
He Yin Ling
e390dd3eab CI: use include to split large CI config file 2019-07-03 16:59:50 +08:00
He Yin Ling
6eca80a989 CI: try to use the correct branch of other projects used in CI:
1. revision defined in bot message
2. branch name (or tag name) of current IDF
3. CI_MERGE_REQUEST_TARGET_BRANCH_NAME
4. branch name parsed from `git describe`
5. default branch
2019-07-03 16:53:34 +08:00
He Yin Ling
81dd9d4e27 CI: use parallel attribute in CI config file 2019-07-03 16:53:34 +08:00
Ivan Grokhotkov
56a624e305 ci: add unit test job 2019-07-02 15:21:34 +02:00
Anton Maklakov
008ad9af47 ci: Use relative submodule URLs over IDF. Correct CI accordindly
Clean up `before_script`s

    Update `check_submodule_sync`

    Remove tools/ci/mirror* stuff
2019-06-25 22:24:45 +07:00
Anton Maklakov
3b3b891282 ci: Remove unused IS_PRIVATE and IS_PUBLIC environment 2019-06-25 22:24:45 +07:00
Chen Sheng
f14563a47d test: modify test cases for bluedroid 2019-06-25 23:14:32 +08:00
Dmitry
aebcbd98bf ci: fix a duplicate job the CI. 2019-06-19 00:22:23 +07:00
Michael (XIAO Xufeng)
1036a091fe spi_flash: support working on differnt buses and frequency 2019-06-18 06:32:52 +00:00
David Cermak
c4f3afd4b5 ci: add clang static analysis jobs
Clang tidy 9.0.0 is to perform static analysis of IDF sources. All component sources are analysed with default sdkconfig configuration, based on examples/get-started/hello_world project (compilation commands are extracted from default build commands for this project). Configuration of static analysis is defined in tools/ci/static-analysis-rules.yml

Closes https://github.com/espressif/esp-idf/issues/145
2019-06-14 20:24:36 +02:00
Angus Gratton
eac356ef4a Merge branch 'feature/idf_version_header' into 'master'
esp_common: add esp_idf_version.h header to define IDF version

Closes IDF-253

See merge request idf/esp-idf!4596
2019-06-13 09:41:35 +08:00
Ivan Grokhotkov
57f7c77aff ci: don't do idf_tools.py install in target_test stage 2019-06-07 01:17:29 +08:00
Angus Gratton
19f176eb71 Merge branch 'feature/net_test_suite' into 'master'
execute net test suite for esp32 network stack in ci as weekend tests

Closes IDF-210

See merge request idf/esp-idf!3439
2019-06-06 15:25:03 +08:00
Anton Maklakov
dcc9459690 tools, ci: Use non-interactive mode for idf_tools in CI 2019-06-05 15:56:03 +07:00
Ivan Grokhotkov
6af7697820 ci: use the toolchain from tools.json 2019-06-04 23:37:46 +08:00
David Cermak
684514b3d6 ci: added standard set of network suite for lwip as a part of weekend test 2019-06-04 08:27:53 +02:00
Ivan Grokhotkov
8f7e01baed tools: add metadata file and idf_tools.py 2019-05-24 17:04:23 +08:00
Ivan Grokhotkov
6ca07eca68 esp_common: add version definitions in code and build system
Closes https://github.com/espressif/esp-idf/issues/2482
Closes IDF-253
2019-05-20 13:14:56 +08:00
Sachin Parekh
e6a714480d unit-test-app: freertos_compliance config added
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
He Yin Ling
50ecd6c3b6 CI: always deploy test result to Jira on master 2019-04-21 13:14:28 +08:00
He Yin Ling
9549ae4c12 test: sync integration test cases 2019-04-19 16:44:00 +08:00
He Yin Ling
b7d26ddfe3 CI: add job to sync test to Jira 2019-04-19 14:39:44 +08:00