Merge branch 'fix/gitlab_esptool_install_v5.3' into 'release/v5.3'

CI: Use overwritten IDF_TOOLS_PATH (v5.3)

See merge request espressif/esp-idf!49165
This commit is contained in:
Roland Dobai
2026-06-02 15:55:42 +02:00
+3 -3
View File
@@ -136,8 +136,8 @@ variables:
# download constraint file for dev
if [[ -n "$CI_PYTHON_CONSTRAINT_BRANCH" ]]; then
wget -O /tmp/constraint.txt --header="Authorization:Bearer ${ESPCI_TOKEN}" ${GITLAB_HTTP_SERVER}/api/v4/projects/2581/repository/files/${CI_PYTHON_CONSTRAINT_FILE}/raw?ref=${CI_PYTHON_CONSTRAINT_BRANCH}
mkdir -p ~/.espressif
mv /tmp/constraint.txt ~/.espressif/${CI_PYTHON_CONSTRAINT_FILE}
mkdir -p "${IDF_TOOLS_PATH:-$HOME/.espressif}"
mv /tmp/constraint.txt "${IDF_TOOLS_PATH:-$HOME/.espressif}/${CI_PYTHON_CONSTRAINT_FILE}"
fi
# Mirror
@@ -179,7 +179,7 @@ variables:
# we need the latest DEV release for esptool to be installed in every job without bumping the minimal requirement in
# the constraint file.
pip install --upgrade --pre esptool -c ~/.espressif/${CI_PYTHON_CONSTRAINT_FILE}
pip install --upgrade --pre esptool -c "${IDF_TOOLS_PATH:-$HOME/.espressif}/${CI_PYTHON_CONSTRAINT_FILE}"
# Custom clang
if [[ ! -z "$CI_CLANG_DISTRO_URL" ]]; then