name: gitlab-runner-cm data: REGISTRATION_TOKEN:"gitlab-CICD-Runner中获取到的token"REGISTER_NON_INTERACTIVE:"true"REGISTER_LOCKED:"false"CI_SERVER_URL:"gitlab-CICD-Runner中获取到的Url"METRICS_SERVER:"0.0.0.0:9100"RUNNER_CONCURRENT_BUILDS:"4"RUNNER_REQUEST_CONCURRENCY:"4"RUNNER_TAG_LIST:"prom...
默认的 GitLab 的 Runner 在构建时不会去拉取GitSubmodules 仓库,将会提示 Skipping Git submodules setup 跳过初始化 Git Submodule 仓库 如官方文档的描述,只需要加上以下代码在.gitlab-ci.yml文件即可 代码语言:javascript 代码运行次数:0 运行 AI代码解释 ...
git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851) Skipping Git submodules setup Executing "step_script" stage of the job script 00:01 $ pwd Path --- C:\gitlab-runner-windows-amd64\builds\xhyz8oiW\0\g1\p1 $ get-host Name : ConsoleHost Version : 5.1.19041.1320 ...
第三步,查看注册gitlab-runner的token,看你是想注册项目的runner,组的runner还是共享的runner,如果是项目runner或者是组的runner,那么权限有限,只能按照项目或者组去运行,如果share共享类型的runnner,那么可以执行任何项目,我这里注册一个share类型的runner 第四步,安装gitlab-runner,这里安装gitlab-runner也可以裸机安装...
默认的 GitLab 的 Runner 在构建时不会去拉取 Git Submodules 仓库,将会提示 Skipping Git submodules setup 跳过初始化 Git Submodule 仓库 如官方文档 的描述,只需要加上以下代码在 .gitlab-ci.yml 文件即可 variables: ...
原因: 从一个分支(此分支没有报错的子模块)切换到另一个分支(有报错子模块的) 然后直接提交父项目,gitlab runner 执行的时候就会找不到该子项目, 就需要运行一下 git submodule sync && git submodule update --init --recursive 这个命令把子项目同步到主项目,然后再提交即可。
Introduced in GitLab Runner 15.11.For example, your generated .gitmodules configuration might look like the following if:Your project is located at https://gitlab.com/secret-group/my-project. Your project depends on https://gitlab.com/group/project, which you want to include as a submodule....
--recursiveshould be used in either both or none (sync/update) depending on whether you have recursive submodules. The rationale to set thesyncandupdateinbefore_scriptis because of the way Git submodules work. On a fresh Runner workspace, Git will set the submodule URL including the token in...
++ git submodule init Submodule '<mysubmodule>' (http://gitlab.lan/companyname/<mysubmodule>.git/) registered for path '<mysubmodule>' ++ git submodule sync --recursive Synchronizing submodule url for '<mysubmodule>' ++ git submodule foreach --recursive 'git clean -ffdx' ++ git submodule...
Description We have a repository consisting of many submodules. So seeing as this is a feature we eagerly adapted to it...