Skip to content

Commit

Permalink
esp/ci: Use CI_JOB_TOKEN instead of BOT_TOKEN to clone repos
Browse files Browse the repository at this point in the history
  • Loading branch information
gerekon committed Oct 25, 2024
1 parent 1a9d4ac commit 39ebe16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ sign_aarch64-apple-darwin:
if [ -n "${TEST_APP_IDF_CUSTOM_BRANCH:-}" ]; then
echo "TEST_APP_IDF_CUSTOM_BRANCH=$TEST_APP_IDF_CUSTOM_BRANCH"
# Clone esp-idf
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
git clone --shallow-submodules --recursive --single-branch --branch $TEST_APP_IDF_CUSTOM_BRANCH -- https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/espressif/esp-idf.git esp-idf
export IDF_PATH=$PWD/esp-idf
# Activate pyenv
if [ $(command -v pyenv) ]; then
Expand All @@ -426,7 +426,7 @@ sign_aarch64-apple-darwin:
fi
idf.py --version || true
pushd $IDF_PATH/components
git clone --shallow-submodules --recursive --single-branch --branch $TEST_APP_ESP_DSP_CUSTOM_BRANCH -- https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/idf/esp-dsp.git esp-dsp
git clone --shallow-submodules --recursive --single-branch --branch $TEST_APP_ESP_DSP_CUSTOM_BRANCH -- https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/idf/esp-dsp.git esp-dsp
pushd $PWD/esp-dsp/test_app

test_esp_dsp:
Expand Down

0 comments on commit 39ebe16

Please sign in to comment.