See the.gitlab-ci.ymlreferencefor more details aboutGIT_SUBMODULE_STRATEGY. If you are using an older version ofgitlab-ci-multi-runner, then usegit submodule sync/updateinbefore_script: before_script:-git submodule sync --recursive-git submodule update --init --recursive --recursiveshould be ...
Git Submodule Strategy 需要GitLab Runner v1.10+。 GIT_SUBMODULE_STRATEGY变量用于在构建之前拉取代码时,Git子模块是否或者如何被引入。就像GIT_STRATEGY一样,它可在全局variables或者是单个job的variables模块中设置。 它的可用值有:none,normal和recursive: none意味着在拉取项目代码时,子模块将不会被引入。这个是...
我已经将这些环境变量添加到 .gitlab-ci.yml 中,如下所示: ---stages:-lint-build-deployvariables:GIT_SUBMODULE_STRATEGY:recursiveGIT_SUBMODULE_FORCE_HTTPS:"true" Run Code Online (Sandbox Code Playgroud) 这是我运行管道的项目中的 .gitmodules 文件: [submodule"build-tools"] path = build-tools url...
See the.gitlab-ci.ymlreferencefor more details aboutGIT_SUBMODULE_STRATEGY. If you are using an older version ofgitlab-ci-multi-runner, then usegit submodule sync/updateinbefore_script: before_script:-git submodule sync --recursive-git submodule update --init --recursive --recursiveshould be ...
See the.gitlab-ci.ymlreferencefor more details aboutGIT_SUBMODULE_STRATEGY. If you are using an older version ofgitlab-ci-multi-runner, then usegit submodule sync/updateinbefore_script: before_script:-git submodule sync --recursive-git submodule update --init --recursive ...
See the.gitlab-ci.ymlreferencefor more details aboutGIT_SUBMODULE_STRATEGY. If you are using an older version ofgitlab-runner, then usegit submodule sync/updateinbefore_script: before_script:-git submodule sync --recursive-git submodule update --init --recursive ...
See the.gitlab-ci.ymlreferencefor more details aboutGIT_SUBMODULE_STRATEGY. If you are using an older version ofgitlab-ci-multi-runner, then usegit submodule sync/updateinbefore_script: before_script:-git submodule sync --recursive-git submodule update --init --recursive ...
See the.gitlab-ci.ymlreferencefor more details aboutGIT_SUBMODULE_STRATEGY. If you are using an older version ofgitlab-runner, then usegit submodule sync/updateinbefore_script: before_script:-git submodule sync --recursive-git submodule update --init --recursive ...
See the.gitlab-ci.ymlreferencefor more details aboutGIT_SUBMODULE_STRATEGY. If you are using an older version ofgitlab-ci-multi-runner, then usegit submodule sync/updateinbefore_script: before_script:-git submodule sync --recursive-git submodule update --init --recursive ...
GIT_SUBMODULE_STRATEGY变量用于在构建之前拉取代码时,Git子模块是否或者如何被引入。 它的可用值有:none,normal和recursive: 1)none意味着在拉取项目代码时,子模块将不会被引入。这个是默认值. 2)normal意味着在只有顶级子模块会被引入。它相当于 git submodule sync ...