From f94331736ac6c16aa4637a1c60d4c8213872fd27 Mon Sep 17 00:00:00 2001 From: aleks Date: Mon, 1 Sep 2025 16:35:10 +0200 Subject: [PATCH] check the build artifacts download issue --- .gitlab-ci.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d107b1..5cc44ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,7 +60,7 @@ after_script: .before_script_build_jobs: before_script: - pip install idf-component-manager --upgrade - - pip install "idf_build_apps~=1.0.1" + - pip install "idf_build_apps" --upgrade .check_idf_ver: &check_idf_ver | export IDF_PATH=$(find /opt -type d -name "*idf*" \ @@ -113,7 +113,6 @@ after_script: - *check_idf_ver # This is workaround to build library under esp-idf v4.4 - pip install idf-component-manager --upgrade - - ${IDF_PATH}/install.sh --enable-ci - cd ${TEST_DIR}/test_apps - *build_cur_folder - cd ${TEST_DIR}/examples @@ -179,7 +178,7 @@ build_idf_latest: extends: .build_pytest_template image: espressif/idf:latest variables: - TEST_TARGETS: "esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c5 esp32c61 esp32c6 esp32h2 esp32p4" + TEST_TARGETS: "esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c5 esp32c6 esp32h2 esp32p4" build_idf_v5.5: extends: .build_pytest_template @@ -218,12 +217,12 @@ build_idf_v5.1: - pip install -r ${TEST_DIR}/tools/test_requirements.txt # Upgrade the packages (workaround for esp-idf v5.0) - pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf --upgrade - - ${IDF_PATH}/install.sh --enable-ci .test_cur_folder: &test_cur_folder | export IDF_VER=$(cat ${TEST_DIR}/idf_version_info.txt) echo "Start test job: ${CI_JOB_NAME}, version: ${IDF_VER%-*}, folder: ${PWD##*/}" - python -m pytest --junit-xml=${TEST_DIR}/${PWD##*/}/results_${IDF_VER%-*}_${PWD##*/}.xml --target=${IDF_TARGET} -m multi_dut_modbus_${TEST_MARKER} + echo "Check built artifacts:" $(find . -type d -regex '^\./.*build_esp32[a-z]*[0-9]*[_a-z]*' -print) + python -m pytest --junit-xml=${TEST_DIR}/${PWD##*/}/results_${IDF_VER%-*}_${PWD##*/}.xml -m multi_dut_modbus_${TEST_MARKER} ls -lh > test_dir_${PWD##*/}.txt .test_template: @@ -233,8 +232,6 @@ build_idf_v5.1: - .before_script_pytest_jobs tags: - multi_dut_modbus_${TEST_MARKER} - variables: - IDF_TARGET: "esp32" # the only esp32 runners are available for now script: - cd ${TEST_DIR}/test_apps/ - *test_cur_folder @@ -247,13 +244,11 @@ build_idf_v5.1: - "${TEST_DIR}/**/*.xml" - "${TEST_DIR}/**/results_*.xml" - "${TEST_DIR}/**/pytest_embedded_log/" - - "${TEST_DIR}/**/test_dir*.txt" + - "${TEST_DIR}/**/test_dir*.txt" - "${TEST_DIR}/**/idf_version_info.txt" - - "${TEST_DIR}/**/log.html" + - "${TEST_DIR}/**/log.html" # robot framework related files - "${TEST_DIR}/**/report.html" - "${TEST_DIR}/**/*.pcap" - reports: - junit: ${TEST_DIR}/results_${IDF_VER%-*}.xml when: always expire_in: 1 week