@@ -415,16 +415,9 @@ sign_aarch64-apple-darwin:
415415 - pack_aarch64-apple-darwin
416416
417417.prepare_test_app_build : &prepare_test_app_build |
418- if [ -z "${TEST_APP_IDF_CUSTOM_BRANCH:-}" ]; then
419- # Use the same idf branch name if exists
420- git ls-remote https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/espressif/esp-idf.git | grep "refs/heads/$CI_COMMIT_REF_NAME"
421- test $? -eq 0 && echo "Use IDF branch \"$CI_COMMIT_REF_NAME\"" && TEST_APP_IDF_CUSTOM_BRANCH=$CI_COMMIT_REF_NAME
422- fi
423-
424418 # Use custom idf in case custom branch is present
425419 if [ -n "${TEST_APP_IDF_CUSTOM_BRANCH:-}" ]; then
426420 echo "TEST_APP_IDF_CUSTOM_BRANCH=$TEST_APP_IDF_CUSTOM_BRANCH"
427- # pushd $BUILD_TEST_APP_DIR
428421 # Clone esp-idf
429422 git clone --shallow-submodules --recursive --single-branch --branch $TEST_APP_IDF_CUSTOM_BRANCH -- https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/espressif/esp-idf.git esp-idf
430423 export IDF_PATH=$PWD/esp-idf
@@ -437,7 +430,6 @@ sign_aarch64-apple-darwin:
437430 # in the image and `export.sh` fails w/o adding tools to $PATH
438431 idf_exports=$(${IDF_PATH}/tools/idf_tools.py export) || true
439432 eval "${idf_exports}"
440- # popd
441433 fi
442434 idf.py --version || true
443435 pushd $IDF_PATH/components
@@ -459,7 +451,8 @@ test_esp_dsp:
459451 needs :
460452 - job : " pack_x86_64-linux-gnu"
461453 variables :
462- TEST_APP_IDF_CUSTOM_BRANCH : " master"
454+ # use IDF 'master' from docker image
455+ TEST_APP_IDF_CUSTOM_BRANCH : " "
463456 TEST_APP_ESP_DSP_CUSTOM_BRANCH : " master"
464457 CONF_HOST : " x86_64-linux-gnu"
465458 UNPACK_TOOL : " tar xJf"
0 commit comments