variables: GIT_SUBMODULE_STRATEGY: recursive Run Code Online (Sandbox Code Playgroud) 触发了MASTER的CI管道。因此,在运行 MASTER 的 CI 时,不会应用 SLAVE 项目中所做的任何更改小智 0 您需要添加GIT_SUBMODULE_UPDATE_FLAGS到.gitlab-ci.yml。 variables: GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE...
git submodule foreach ' a=$(git config -f $toplevel/.gitmodules --get submodule.$name.shallow) if [ $a = true ]; then git submodule update --init --recursive --depth=1 else git submodule update --init --recursive fi ' Author anishathalye commented Sep 5, 2020 That's already ...
We're on 15.1 and this appears to happen infrequently so far. Clearing just requires dumping the local runner cache directory for the job and allowing it to do a full clone. before_script:-git submodule foreach --quiet --recursive "${CI_PROJECT_DIR}/ci/scripts/fix_submodules.sh" And h...