Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dac patch 5 1 #166

Closed
wants to merge 117 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
77492f3
fix(freertos): Updated IDLE task names for each core to have the core…
sudeep-mohanty Sep 8, 2023
94730db
feat(lwip): Fixes and Improvements for NAPT and SBOM Support
espressif-abhikroy Oct 6, 2023
31b4b0a
idf.py: gdb action incorrectly generated EOL gdbinit scripts
jendo42 Aug 10, 2023
1f6f539
fatfs: raw diskio: Fixed handling read-only filesystem
jendo42 Aug 10, 2023
d4b6952
fix(bt/bluedroid): ble fails to load bonded device info after reboot
ESP-YTGerd Aug 18, 2023
ae04d7b
fix(bt/bluedroid): Send device status of AG to HF with a different api
ESP-YTGerd Oct 7, 2023
f54e3eb
fix(bt/bluedroid): update the newest active device in bluetooth
ESP-YTGerd Sep 8, 2023
15f8e67
Fixed bluedroid host build warning when log is disabled
Weijian-Espressif May 31, 2023
567bf57
Add new mesh types for exception list on ESP32-C3 and ESP32-S3
Weijian-Espressif Sep 4, 2023
0a57fb4
Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
esp-cjh Sep 15, 2023
74a6475
Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
esp-cjh Sep 22, 2023
95e3dbc
Add mesh adv type for exception list
Weijian-Espressif Aug 30, 2023
51ebdfc
change: enable pll track by default on ESP32
Weijian-Espressif Sep 6, 2023
5677692
feat: add config to disable ble hci uart flow control
Weijian-Espressif Sep 22, 2023
1d1939a
Update BLE lib on ESP32-C3 and ESP32-S3
Weijian-Espressif Oct 9, 2023
9b4a42e
feat(mcpwm): support update timer period dynamically
suda-morris Oct 11, 2023
9d97513
change(Power Management): the xpd_xtal32k value depends on system slo…
esp-lis Oct 20, 2023
b9cdadc
fix(adc): fix adc oneshot mod do not split clk
Bruce297 Oct 26, 2023
d64a29c
fix(examples/iperf): Update and rename default TCP/UDP buffer sizes
nachiketkukade Sep 22, 2023
3a436b0
doc(WiFi/Vendor): Update the ESPNOW example for the recv callback fun…
zhangyanjiaoesp Sep 7, 2023
92b9474
feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM
esp-jiangguangming Aug 8, 2023
336bb85
feat(mbedtls): add new option CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL for …
esp-jiangguangming Aug 16, 2023
e3a6001
docs: add the description of CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL
esp-jiangguangming Aug 9, 2023
76bd3ab
docs: Update COPYRIGHT.rst since mbedtls supported in C2 ROM
esp-jiangguangming Sep 18, 2023
d9b36af
fix(wpa_supplicant): Fix compilation issue in EAP disabled
kapilkedawat Oct 25, 2023
35afc37
fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices
esp-zhp Oct 24, 2023
6a94399
feat(bt/bluedroid): Support hid device control point
esp-zhp Oct 24, 2023
b35c41a
fix(bt/bluedroid): Optimize compatibility with Android 10 and later d…
esp-zhp Oct 23, 2023
bb587cd
fix(bt/bluedroid): Fix key size check in BLE smp
esp-zhp Oct 26, 2023
568919e
feat(bt/bluedroid): Support BLE gattc notify registration number
esp-zhp Oct 24, 2023
c7e8219
fix(bt/bluedroid): Fix max BLE gattc notify number to improve compati…
esp-zhp Oct 24, 2023
4aa8a73
feat(bt/bluedroid): Display BLE permission check handle in error trace
esp-zhp Oct 24, 2023
b1ba1db
fix(coex): fix esp32c6 wrong reg offset
gytxxsy Oct 20, 2023
653008f
fix(spi): fixed undesired touching to DMA
ginkgm Oct 23, 2023
85fbfae
fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro
MaxwellAlan Oct 31, 2023
7e1b2a2
fix(phy): Fix ESP32C6 rx pkts fail in light sleep mode
MaxwellAlan Oct 30, 2023
6c5b3c5
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is f…
Shreyas0-7 Aug 24, 2023
8bea4c4
docs(esp_wifi): Fix inconsistency in NAN documentation
ShyamalKhachane Nov 1, 2023
8dd9310
Merge branch 'bugfix/fix_compilation_issue_v5.1' into 'release/v5.1'
jack0c Nov 1, 2023
8d9035c
feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free…
wmy-espressif Sep 27, 2023
716a470
feat(bt/bluedroid): Support to build HID Host and HID Device in singl…
BetterJincheng Oct 9, 2023
9c44a4e
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file
rahult-github Oct 27, 2023
0e80568
Merge branch 'docs/update_nan_docs_v5.1' into 'release/v5.1'
jack0c Nov 1, 2023
095eae5
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()
kapilkedawat Nov 1, 2023
ed9d5e7
fix(wifi): Fix key install issue in PTK renew
kapilkedawat Nov 1, 2023
2a96eb9
Merge branch 'bugfix/fix_wifi_enabled_macro_v5.1' into 'release/v5.1'
jack0c Nov 2, 2023
f58e8b3
fix(ble): fixed ble disconnection issue under temperature change
zhaoweiliang2021 Nov 1, 2023
70aedc8
fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example
ESP-YTGerd Nov 1, 2023
358c53e
Merge branch 'bugfix/supplicant_tls_fix_v5.1' into 'release/v5.1'
jack0c Nov 2, 2023
8df1e1a
Merge branch 'bugfix/install_key_issue_v5.1' into 'release/v5.1'
jack0c Nov 2, 2023
e20f68d
Merge branch 'backport/bugfix/fix_c6_wrong_reg_offset' into 'release/…
jack0c Nov 2, 2023
dce3b64
feat(PowerManagement/lightsleep): Define and export a strong symbol o…
10086loutianhao Jul 6, 2023
15f6639
feat(PowerManagement/lightsleep): Support PM_LIGHT_SLEEP_CALLBACKS
10086loutianhao Jul 6, 2023
925da11
feat(PowerManagement/lightsleep): Support ESP_SLEEP_EVENT_CALLBACKS
10086loutianhao Jul 6, 2023
42ec7a5
change(pm): Change sleep callback implement
10086loutianhao Oct 13, 2023
b6fa48e
Merge branch 'bugfix/fixed_ble_disconnect_under_temp_change_v5.1' int…
jack0c Nov 2, 2023
6dce3d7
fix (wifi_prov): Retry provisioning on `WIFI_AUTH_EXPIRE` event
laukik-hase Jul 3, 2023
7e2e82a
fix(hal): Fix incorrect behavior of hal_memcpy
KonstantinKondrashov Oct 31, 2023
cda65b7
fix(examples): Fix usage of SNTP netif API in examples
david-cermak Oct 27, 2023
b31a07b
fix(esp_system): increase esp32h2 slow clock calibration timeout watc…
esp-wzh Oct 23, 2023
537bea2
ci: dynamic integration test child pipeline
ydesp Sep 8, 2023
655ff32
ci: add qa-test-tag rules
ydesp Oct 18, 2023
d4af3af
ci: remove unused integration test rules
ydesp Oct 24, 2023
acd503c
ci: add label rules for integration test
ydesp Nov 3, 2023
bb7544e
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
mythbuster5 Oct 12, 2023
263a27b
bugfix(esp_hw_support): allow reject for lightsleep
esp-wzh Nov 7, 2023
6de9757
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
Icarus113 Oct 13, 2023
d9b776c
feat(efuse): Adds efuse ADC calibration data for ESP32H2
KonstantinKondrashov Oct 4, 2023
88af68f
ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175
luomanruo Oct 27, 2023
8353ea3
change(ble): added option for msys buffer source
ChrysalisChenJ Oct 25, 2023
00f51f7
ble: update c2 rom.ld
luomanruo Oct 27, 2023
2872550
change(ble): update c2 lib to 6ed444f2
luomanruo Oct 27, 2023
97aa578
Merge branch 'bugfix/allow_sleep_reject_for_lightsleep' into 'release…
jack0c Nov 9, 2023
5b3a8ac
Merge branch 'bugfix/hal_memcpy_v5.1' into 'release/v5.1'
jack0c Nov 9, 2023
9f2a2db
Merge branch 'bugfix/ble_update_lib_1027_5.1' into 'release/v5.1'
jack0c Nov 9, 2023
d3b403f
ci(fix): Improve the stability of the autocomplete tests
dobairoland Nov 6, 2023
482a8fb
change(version): Update version to 5.1.2
AdityaHPatwardhan Nov 10, 2023
666ba33
fix(wifi): fix deinit init wifi scan fail issue
Nov 6, 2023
abfd0cb
change(hal): remove useless code from periph_ll_wifi_bt_module_enable…
Nov 9, 2023
51b03d3
fix(esp_hw_support): move fe_32m to fe/adc common clock
esp-wzh Nov 9, 2023
73e5a4c
Merge branch 'update/version_5_1_2' into 'release/v5.1'
AdityaHPatwardhan Nov 10, 2023
8f24e27
fix(bt/bluedroid): Fix build error when both of the HFP roles are ena…
wmy-espressif Nov 10, 2023
afd53b0
Merge branch 'feature/esp32h2_adds_adc_calib_efuses_v5.1' into 'relea…
ESP-Marius Nov 13, 2023
37fd9f4
Merge branch 'bugfix/fix_adc_oneshot_do_not_spilt_clk' into 'release/…
suda-morris Nov 13, 2023
d0f8428
Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.1' into 'relea…
suda-morris Nov 13, 2023
efafaca
Merge branch 'feature/mcpwm_timer_change_freq_v5.1' into 'release/v5.1'
suda-morris Nov 13, 2023
3515fb4
Merge branch 'feat/dynamic_integration_pipeline_v5.1' into 'release/v…
jack0c Nov 13, 2023
14241ae
fix(coredump-info): set default gdb timeout as 3 seconds
erhankur Nov 1, 2023
e100ffa
Merge branch 'coredump-gdb-timeout_v5.1' into 'release/v5.1'
dobairoland Nov 13, 2023
305e781
Merge branch 'fix/ci_autocomplete_v5.1' into 'release/v5.1'
dobairoland Nov 13, 2023
0931041
ci: fix assign test jobs
ydesp Nov 14, 2023
0f15eec
Merge branch 'feature/include_hf_and_ag_in_single_build_v5.1' into 'r…
wmy-espressif Nov 14, 2023
1ed4072
Merge branch 'bugfix/lp_active_slow_clock_domain_default_power_down_v…
jack0c Nov 14, 2023
84cd6e8
Merge branch 'bugfix/napt_updatesV5.1' into 'release/v5.1'
jack0c Nov 14, 2023
822aa69
Merge branch 'feature/support_esp32c2_rom_mbedtls_v5.1' into 'release…
jack0c Nov 14, 2023
378bb1f
Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs_v5.1'…
jack0c Nov 14, 2023
894cf04
Merge branch 'fix/remove_esp_hf_ag_devices_status_indchage_in_example…
jack0c Nov 14, 2023
93a6cb9
Merge branch 'bugfix/spi_master_fifo_use_dma_v5.1' into 'release/v5.1'
jack0c Nov 14, 2023
8f4c9bd
Merge branch 'backport/fix_ble_bugs_v5.1' into 'release/v5.1'
jack0c Nov 14, 2023
0172c33
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v5.1' into …
jack0c Nov 14, 2023
cee24a6
Merge branch 'bringup/support_callback_mechanism_in_lightsleep_flow_v…
jack0c Nov 14, 2023
c21d2b2
Merge branch 'bugfix/increase_esp32h2_slow_clock_calibration_wdt_thre…
jack0c Nov 14, 2023
d1842fa
Merge branch 'bugfix/ota_fail_on_octal_flash_v5.1' into 'release/v5.1'
jack0c Nov 14, 2023
9c5b538
Merge branch 'bugfix/remove_iram_attr_from_ceva_files_v5.1' into 'rel…
jack0c Nov 14, 2023
5a128c1
Merge branch 'doc/update_espnow_example_v5.1' into 'release/v5.1'
jack0c Nov 14, 2023
c467750
Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.1' into 'rele…
wmy-espressif Nov 14, 2023
87f58d5
Merge branch 'bugfix/move_fe_32m_to_adc_fe_common_clock_v5.1' into 'r…
jack0c Nov 14, 2023
55f5b42
Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.1' into 're…
jack0c Nov 14, 2023
0f61bd2
Merge branch 'bugfix/iperf_improvements_v5.1' into 'release/v5.1'
jack0c Nov 14, 2023
3d29672
Merge branch 'bugfix/fix_freertos_system_task_names_v5.1' into 'relea…
ESP-Marius Nov 14, 2023
684a093
Merge branch 'contrib/github_pr_12052_v5.1' into 'release/v5.1'
igrr Nov 14, 2023
cc7c93c
Merge branch 'fix/netif_sntp_examples_v5.1' into 'release/v5.1'
david-cermak Nov 14, 2023
230119a
Merge branch 'ci/fix_assign_test' into 'release/v5.1'
antmak Nov 15, 2023
b7db75e
Merge branch 'fix/wifi_prov_mgr_retry_auth_expire_v5.1' into 'release…
mahavirj Nov 15, 2023
5c61c89
Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor_v5.…
jack0c Nov 15, 2023
832e7e4
Fix audio DAC, remove split buffers
s-hadinger Nov 16, 2023
b868d9d
Merge branch 'release/v5.1' into dac_patch_5_1
s-hadinger Nov 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ stages:
workflow:
rules:
# Disable those non-protected push triggered pipelines
- if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && $CI_PIPELINE_SOURCE == "push"'
- if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && $CI_COMMIT_TAG !~ /^qa-test/ && $CI_PIPELINE_SOURCE == "push"'
when: never
# when running merged result pipelines, it would create a temp commit id. use $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA instead of $CI_COMMIT_SHA.
# Please use PIPELINE_COMMIT_SHA at all places that require a commit sha
Expand Down Expand Up @@ -72,9 +72,6 @@ variables:

PRE_COMMIT_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-pre-commit:1"

# target test config file, used by assign test job
CI_TARGET_TEST_CONFIG_FILE: "$CI_PROJECT_DIR/.gitlab/ci/target-test.yml"

# target test repo parameters
TEST_ENV_CONFIG_REPO: "https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/qa/ci-test-runner-configs.git"

Expand Down Expand Up @@ -236,6 +233,7 @@ include:
- '.gitlab/ci/pre_check.yml'
- '.gitlab/ci/build.yml'
- '.gitlab/ci/assign-test.yml'
- '.gitlab/ci/integration_test.yml'
- '.gitlab/ci/host-test.yml'
- '.gitlab/ci/target-test.yml'
- '.gitlab/ci/deploy.yml'
12 changes: 4 additions & 8 deletions .gitlab/ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
- [Shell Script Related](#shell-script-related)
- [Manifest File to Control the Build/Test apps](#manifest-file-to-control-the-buildtest-apps)
- [Grammar](#grammar)
- [Operands](#operands)
- [Operators](#operators)
- [Limitation:](#limitation)
- [How does it work?](#how-does-it-work)
- [Example](#example)

## General Workflow

Expand Down Expand Up @@ -56,7 +51,7 @@
- `example_test[_esp32/esp32s2/...]`
- `fuzzer_test`
- `host_test`
- `integration_test[_wifi/ble]`
- `integration_test`
- `iperf_stress_test`
- `macos`
- `macos_test`
Expand Down Expand Up @@ -144,10 +139,11 @@ check if there's a suitable `.if-<if-anchor-you-need>` anchor
1. if there is, create a rule following [`rules` Template Naming Rules](#rules-template-naming-rules).For detail information, please refer to [GitLab Documentation `rules-if`](https://docs.gitlab.com/ee/ci/yaml/README.html#rulesif). Here's an example.

```yaml
.rules:dev:
.rules:patterns:python-files:
rules:
- <<: *if-trigger
- <<: *if-protected
- <<: *if-dev-push
changes: *patterns-python-files
```

2. if there isn't
Expand Down
32 changes: 1 addition & 31 deletions .gitlab/ci/assign-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- assign_test
variables:
SUBMODULES_TO_FETCH: "none"
CI_TARGET_TEST_CONFIG_FILE: "$CI_PROJECT_DIR/.gitlab/ci/target-test.yml"
artifacts:
paths:
- ${TEST_DIR}/test_configs/
Expand Down Expand Up @@ -66,34 +67,3 @@ assign_unit_test:
variables:
TEST_TYPE: unit_test
TEST_DIR: components/idf_test/unit_test

assign_integration_test:
extends:
- .assign_test_template
- .rules:test:integration_test
- .before_script_minimal
image: ${CI_INTEGRATION_TEST_ENV_IMAGE}
needs:
- build_ssc_esp32
- build_ssc_esp32c3
- build_ssc_esp32c2
artifacts:
paths:
- $TEST_DIR/test_configs
expire_in: 1 week
variables:
TEST_DIR: ${CI_PROJECT_DIR}/tools/ci/integration_test
BUILD_DIR: ${CI_PROJECT_DIR}/SSC/ssc_bin
INTEGRATION_TEST_CASE_PATH: "${CI_PROJECT_DIR}/auto_test_script/TestCaseFiles"
ASSIGN_TEST_CASE_SCRIPT: "${CI_PROJECT_DIR}/auto_test_script/bin/CIAssignTestCases.py"
PYTHONPATH: ${CI_PROJECT_DIR}/auto_test_script/packages
GIT_LFS_SKIP_SMUDGE: 1
script:
- add_gitlab_ssh_keys
# clone test script to assign tests
- retry_failed git clone ${CI_AUTO_TEST_SCRIPT_REPO_URL} auto_test_script
- python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script
- cd auto_test_script
- ./tools/ci/setup_idfci.sh
# assign integration test cases
- python ${ASSIGN_TEST_CASE_SCRIPT} -t ${INTEGRATION_TEST_CASE_PATH} -c $CI_TARGET_TEST_CONFIG_FILE -b ${BUILD_DIR} -o $TEST_DIR/test_configs
145 changes: 0 additions & 145 deletions .gitlab/ci/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,151 +452,6 @@ fast_template_app:
BUILD_COMMAND_ARGS: "-p"
#------------------------------------------------------------------------------

.build_ssc_template:
extends:
- .build_template
- .rules:build:integration_test
needs:
- job: fast_template_app
artifacts: false
artifacts:
paths:
- SSC/ssc_bin
expire_in: 1 week
script:
- retry_failed git clone $SSC_REPOSITORY
- python $CHECKOUT_REF_SCRIPT SSC SSC
- cd SSC
- MAKEFLAGS= ./ci_build_ssc.sh $TARGET_NAME

build_ssc_esp32:
extends: .build_ssc_template
parallel: 3
variables:
TARGET_NAME: "ESP32"

build_ssc_esp32s2:
extends: .build_ssc_template
parallel: 2
variables:
TARGET_NAME: "ESP32S2"

build_ssc_esp32c2:
extends: .build_ssc_template
parallel: 2
variables:
TARGET_NAME: "ESP32C2"

build_ssc_esp32c3:
extends: .build_ssc_template
parallel: 3
variables:
TARGET_NAME: "ESP32C3"

build_ssc_esp32s3:
extends: .build_ssc_template
parallel: 3
variables:
TARGET_NAME: "ESP32S3"

build_ssc_esp32c6:
extends: .build_ssc_template
parallel: 3
variables:
TARGET_NAME: "ESP32C6"

build_ssc_esp32h2:
extends: .build_ssc_template
parallel: 2
variables:
TARGET_NAME: "ESP32H2"

.build_esp_idf_tests_cmake_template:
extends:
- .build_cmake_template
- .before_script_build_jobs
artifacts:
paths:
- "**/build*/size.json"
- "**/build*/build_log.txt"
- "**/build*/*.bin"
# upload to s3 server to save the artifacts size
# - "**/build*/*.map"
# ttfw tests require elf files
- "**/build*/*.elf"
- "**/build*/flasher_args.json"
- "**/build*/flash_project_args"
- "**/build*/config/sdkconfig.json"
- "**/build*/sdkconfig"
- "**/build*/bootloader/*.bin"
- "**/build*/partition_table/*.bin"
- list_job_*.json
- size_info.txt
- components/idf_test/unit_test/*.yml
when: always
expire_in: 4 days
script:
# CI specific options start from "--collect-size-info xxx". could ignore when running locally
- run_cmd python tools/ci/ci_build_apps.py tools/unit-test-app -v
-t $IDF_TARGET
--config "configs/*="
--copy-sdkconfig
--preserve-all
--collect-size-info size_info.txt
--collect-app-info list_job_${CI_NODE_INDEX:-1}.json
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
- run_cmd python tools/unit-test-app/tools/UnitTestParser.py tools/unit-test-app ${CI_NODE_INDEX:-1}

build_esp_idf_tests_cmake_esp32:
extends:
- .build_esp_idf_tests_cmake_template
- .rules:build:unit_test-esp32
variables:
IDF_TARGET: esp32

build_esp_idf_tests_cmake_esp32s2:
extends:
- .build_esp_idf_tests_cmake_template
- .rules:build:unit_test-esp32s2
variables:
IDF_TARGET: esp32s2

build_esp_idf_tests_cmake_esp32s3:
extends:
- .build_esp_idf_tests_cmake_template
- .rules:build:unit_test-esp32s3
variables:
IDF_TARGET: esp32s3

build_esp_idf_tests_cmake_esp32c2:
extends:
- .build_esp_idf_tests_cmake_template
- .rules:build:unit_test-esp32c2
variables:
IDF_TARGET: esp32c2

build_esp_idf_tests_cmake_esp32c3:
extends:
- .build_esp_idf_tests_cmake_template
- .rules:build:unit_test-esp32c3
variables:
IDF_TARGET: esp32c3

build_esp_idf_tests_cmake_esp32c6:
extends:
- .build_esp_idf_tests_cmake_template
- .rules:build:unit_test-esp32c6
variables:
IDF_TARGET: esp32c6

build_esp_idf_tests_cmake_esp32h2:
extends:
- .build_esp_idf_tests_cmake_template
- .rules:build:unit_test-esp32h2
variables:
IDF_TARGET: esp32h2

build_examples_cmake_esp32:
extends:
- .build_cmake_template
Expand Down
27 changes: 0 additions & 27 deletions .gitlab/ci/dependencies/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,6 @@
- "build:{0}"
- build:target_test

build:integration_test:
labels:
- build
patterns:
- build_components
- build_system
included_in:
- build:target_test


####################
# Target Test Jobs #
####################
Expand Down Expand Up @@ -182,23 +172,6 @@ build:integration_test:
- "build:example_test"
- build:target_test

"test:integration_test_{0}":
matrix:
- - wifi
- ble
labels:
- integration_test_{0}
- integration_test
- target_test
patterns:
- integration_test-{0}
- target_test-{0}
# - maybe others
included_in:
- test:integration_test
- build:integration_test
- build:target_test

"test:host_test":
labels:
- host_test
Expand Down
45 changes: 3 additions & 42 deletions .gitlab/ci/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,50 +32,11 @@ push_to_github:
extends:
- .deploy_job_template
- .before_script_minimal
- .rules:protected-no_label
dependencies: []
- .rules:push_to_github
needs:
- check_submodule_sync
script:
- add_github_ssh_keys
- git remote remove github &>/dev/null || true
- git remote add github [email protected]:espressif/esp-idf.git
- tools/ci/push_to_github.sh

deploy_test_result:
extends:
- .deploy_job_template
- .before_script_minimal
- .rules:ref:master-always
image: $CI_DOCKER_REGISTRY/bot-env:1
dependencies: []
tags:
- deploy_test
artifacts:
when: always
paths:
- ${CI_PROJECT_DIR}/test-management/*.log
expire_in: 1 week
variables:
BOT_ACCOUNT_CONFIG_FILE: "${CI_PROJECT_DIR}/test-management/Config/Account.local.yml"
TEST_RESULTS_PATH: "${CI_PROJECT_DIR}/TEST_RESULTS"
script:
- add_gitlab_ssh_keys
- export GIT_SHA=$(echo ${CI_COMMIT_SHA} | cut -c 1-8)
- export REV_COUNT=$(git rev-list --count ${GIT_SHA} --)
- export SUMMARY="IDF CI test result for $GIT_SHA (r${REV_COUNT})"
# Download test result
- export PYTHONPATH="$IDF_PATH/tools:$IDF_PATH/tools/ci/python_packages:$PYTHONPATH"
- python3 ${IDF_PATH}/tools/ci/get_all_test_results.py --path ${TEST_RESULTS_PATH} --include_retried
- if [[ -z $(find ${TEST_RESULTS_PATH} -name "*.xml") ]]; then exit 0; fi
# Clone test-management repo
- retry_failed git clone $TEST_MANAGEMENT_REPO
- python3 $CHECKOUT_REF_SCRIPT test-management test-management
- cd test-management
- echo $BOT_JIRA_ACCOUNT > ${BOT_ACCOUNT_CONFIG_FILE}
# Make sure all requirements are installed
- pip3 install -r requirements.txt
# Update test cases
- python3 ImportTestCase.py $JIRA_TEST_MANAGEMENT_PROJECT from_xml -d ${TEST_RESULTS_PATH} -r $GIT_SHA -l IDFCI
# update test results
- python3 ImportTestResult.py -r "$GIT_SHA (r${REV_COUNT})" -j $JIRA_TEST_MANAGEMENT_PROJECT -s "$SUMMARY" -l IDFCI -p ${TEST_RESULTS_PATH} --pipeline_url ${CI_PIPELINE_URL}
# May need a long time to upload all test results.
timeout: 4 hours
9 changes: 8 additions & 1 deletion .gitlab/ci/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,22 @@
.if-protected-no_label: &if-protected-no_label
if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/) && $BOT_TRIGGER_WITH_LABEL == null'

.if-qa-test-tag: &if-qa-test-tag
if: '$CI_COMMIT_TAG =~ /^qa-test/'

.if-label-build_docs: &if-label-build_docs
if: '$BOT_LABEL_BUILD_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build_docs(?:,[^,\n\r]+)*$/i'

.if-label-docs_full: &if-label-docs_full
if: '$BOT_LABEL_DOCS_FULL || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docs_full(?:,[^,\n\r]+)*$/i'

.if-dev-push: &if-dev-push
if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event")'
if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && $CI_COMMIT_TAG !~ /^qa-test/ && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event")'

.doc-rules:build:docs-full:
rules:
- <<: *if-qa-test-tag
when: never
- <<: *if-protected
- <<: *if-label-build_docs
- <<: *if-label-docs_full
Expand All @@ -44,6 +49,8 @@

.doc-rules:build:docs-partial:
rules:
- <<: *if-qa-test-tag
when: never
- <<: *if-dev-push
changes: *patterns-docs-full
when: never
Expand Down
Loading
Loading