
【gitlab CI:shell not found】
摸索一番之后觉得问题可能出在python版本上,以下是gitlab-runner config.toml设置。gitlab-runner在pull的时候,应该是拉了。,最新的镜像应该是兼容性的问题,知道问题出在哪就好办了。
·
gitlab CI:shell not found
在CI test的时候报错:shell not found
错误提示
Running with gitlab-runner 11.5.0 (3afdaba6)
on product schedule ci test e0ce56b5
Using Docker executor with image python:3.8 ...
Pulling docker image python:3.8 ...
shell not found
shell not found
ERROR: Job failed: exit code 1
原因
摸索一番之后觉得问题可能出在python版本上,以下是gitlab-runner config.toml设置
[[runners]]
name = "product schedule ci test"
url = ""
token = ""
executor = "docker"
[runners.docker]
tls_verify = false
image = "python:3.8"
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
gitlab-runner在pull的时候,应该是拉了最新的python3.8镜像,最新的镜像应该是兼容性的问题,知道问题出在哪就好办了
修改gitlab-runner config.toml,指定python版本
[[runners]]
name = "product schedule ci test"
url = ""
token = ""
executor = "docker"
[runners.docker]
image = "python:3.8.9"
更多推荐
所有评论(0)