Merge branch 'ci/move-check_submodule_sync-v5.5' into 'release/v5.5'

ci: move check_submodule_sync to ci/actions/common (v5.5)

See merge request espressif/esp-idf!52091
This commit is contained in:
Fu Hanxi
2026-08-26 10:46:45 +02:00
2 changed files with 1 additions and 26 deletions
+1 -2
View File
@@ -30,9 +30,8 @@ include:
- ".gitlab/ci/manual_gate.yml" - ".gitlab/ci/manual_gate.yml"
- ".gitlab/ci/upload_cache.yml" - ".gitlab/ci/upload_cache.yml"
- ".gitlab/ci/pre_check.yml" - ".gitlab/ci/pre_check.yml"
- ".gitlab/ci/pre_deploy.yml"
- ".gitlab/ci/static-code-analysis.yml" - ".gitlab/ci/static-code-analysis.yml"
- ".gitlab/ci/build.yml" - ".gitlab/ci/build.yml"
- ".gitlab/ci/host-test.yml" - ".gitlab/ci/host-test.yml"
- ".gitlab/ci/post_deploy.yml"
- ".gitlab/ci/test-win.yml" - ".gitlab/ci/test-win.yml"
- ".gitlab/ci/post_deploy.yml"
-24
View File
@@ -1,24 +0,0 @@
.pre_deploy_template:
stage: pre_deploy
image: $ESP_ENV_IMAGE
check_submodule_sync:
extends:
- .pre_deploy_template
- .rules:test:submodule
tags: [ brew, github_sync ]
retry: 2
variables:
GIT_STRATEGY: fetch # use brew local mirror first
SUBMODULES_TO_FETCH: "none"
PUBLIC_IDF_URL: "https://github.com/espressif/esp-idf.git"
script:
- git submodule deinit --force .
- rm -rf .git/modules # remove all the cached metadata
# setting the default remote URL to the public one, to resolve relative location URLs
- git config remote.origin.url ${PUBLIC_IDF_URL}
# check if all submodules are correctly synced to public repository
- git submodule init
- git config --get-regexp '^submodule\..*\.url$' || true
- git submodule update --recursive
- echo "IDF was cloned from ${PUBLIC_IDF_URL} completely"