我正在使用以下方法部署 HELM 图表:
helm upgrade -i -f <发布参数>
当我在自定义 docker 映像中本地运行它时,该版本运行良好。
当我尝试使用 GilabRunner(自托管运行器)运行相同的版本时,出现此错误:
错误:作业失败:退出代码 1
更多细节:
头盔版本:
version.BuildInfo 版本:“v3.5.0”
Kubectl 版本:
客户端版本:version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56: 40Z”,GoVersion:“go1.13.9”,编译器:“gc”,平台:“linux/amd64”}
Gitlab 亚军版本:
版本:13.2.2
添加更多信息来自 gitlab-runner 的 --debug 的输出
执行作业脚本的“step_script”阶段 job=job_id project=project_id runner=runner_id
正在寻找图像 index.docker.io/repository... job=job_id project=project_id runner=runner_id
从网络作业中删除容器 runner-runner_id-project-project_id-concurrent-0-e6d1019ef7fea87c-build-2 job=job_id project=project_id runner=runner_id 断开容器 runner-runner_id-project-project_id-concurrent-0-e6d1019ef7fea87c-build-2 =job_id project=project_id runner=runner_id 删除容器 runner-runner_id-project-project_id-concurrent-0-e6d1019ef7fea87c-build-2 finished with error 错误:没有这样的容器:runner-runner_id-project-project_id-concurrent-0-e6d1019ef7fea87c- build-2 (docker.go:845:0s) job=job_id project=project_id runner=runner_id
创建容器 runner-runner_id-pro
工作=job_id 项目=project_id 跑步者=runner_id
附加到容器 container_id ... job=job_id project=project_id runner=runner_id
启动容器 container_id ... job=job_id project=project_id runner=runner_id
将跟踪附加到协调器... ok code=202 job=job_id job-log=0-2763 job-status=running runner=runner_id sent-log=894-2762 status=202 Accepted update-interval=3s
执行构建阶段 build_stage=after_script job=job_id project=project_id runner=runner_id
跳过阶段(无事可做) build_stage=after_script job=job_id project=project_id runner=runner_id
执行构建阶段 build_stage=upload_artifacts_on_failure job=job_id project=project_id runner=runner_id
跳过阶段(无事可做) build_stage=upload_artifacts_on_failure job=job_id project=project_id runner=runner_id
跳过裁判执行job=job_id project=project_id runner=runner_id
警告:作业失败:退出代码 1 持续时间=7.163806778s job=job_id project=project_id runner=runner_id
将跟踪附加到协调器... ok code=202 job=job_id job-log=0-3369 job-status=running runner=runner_id sent-log=2763-3368 status=202 Accepted update-interval=3s
正在向协调员提交工作... ok code=200 job=job_id job-status= runner=runner_id
移除容器 container_id job=job_id project=project_id runner=runner_id
从网络断开容器 container_id job=job_id project=project_id runner=runner_id
删除容器 container_id_2 job=job_id project=project_id runner=runner_id
断开容器 container_id_2 与网络的连接 job=job_id project=project_id runner=runner_id
删除容器 container_id_3 job=job_id project=project_id runner=runner_id
断开容器 container_id_3 与网络的连接 job=job_id project=project_id runner=runner_id
删除了容器 container_id_3 job=job_id project=project_id runner=runner_id
删除容器 container_id job=job_id project=project_id runner=runner_id
删除容器 container_id_2 job=job_id project=project_id runner=runner_id
警告:无法处理运行程序构建=0 错误=退出代码 1 执行程序=docker 运行程序=runner_id