@@ -415,16 +415,9 @@ sign_aarch64-apple-darwin:
415
415
- pack_aarch64-apple-darwin
416
416
417
417
.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
-
424
418
# Use custom idf in case custom branch is present
425
419
if [ -n "${TEST_APP_IDF_CUSTOM_BRANCH:-}" ]; then
426
420
echo "TEST_APP_IDF_CUSTOM_BRANCH=$TEST_APP_IDF_CUSTOM_BRANCH"
427
- # pushd $BUILD_TEST_APP_DIR
428
421
# Clone esp-idf
429
422
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
430
423
export IDF_PATH=$PWD/esp-idf
@@ -437,7 +430,6 @@ sign_aarch64-apple-darwin:
437
430
# in the image and `export.sh` fails w/o adding tools to $PATH
438
431
idf_exports=$(${IDF_PATH}/tools/idf_tools.py export) || true
439
432
eval "${idf_exports}"
440
- # popd
441
433
fi
442
434
idf.py --version || true
443
435
pushd $IDF_PATH/components
@@ -459,7 +451,8 @@ test_esp_dsp:
459
451
needs :
460
452
- job : " pack_x86_64-linux-gnu"
461
453
variables :
462
- TEST_APP_IDF_CUSTOM_BRANCH : " master"
454
+ # use IDF 'master' from docker image
455
+ TEST_APP_IDF_CUSTOM_BRANCH : " "
463
456
TEST_APP_ESP_DSP_CUSTOM_BRANCH : " master"
464
457
CONF_HOST : " x86_64-linux-gnu"
465
458
UNPACK_TOOL : " tar xJf"
0 commit comments