我刚刚使用跑步者配置了gitlab-ci,并以[:]的身份运行模板bash
ci任务:>
# This file is a template, and might need editing before it works on your project. # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options # you can delete this line if you're not using Docker #image: busybox:latest before_script: - echo "Before script section" - echo "For example you might run an update here or install a build dependency" - echo "Or perhaps you might print out some debugging details" after_script: - echo "After script section" - echo "For example you might do some cleanup here" build1: stage: build script: - echo "Do your build here" test1: stage: test script: - echo "Do a test here" - echo "For example run a test suite" test2: stage: test script: - echo "Do another parallel test here" - echo "For example run a lint test" deploy1: stage: deploy script: - echo "Do your deploy here"
但是工作失败了:
然后我登录到跑步机,发现所需位置下只有一个$ {projectname} .tmp文件夹
我错过了什么吗?
我刚刚为gitlab-ci配置了运行程序,并按以下方式运行bash ci模板任务:#此文件是模板,在您的项目上运行之前可能需要进行编辑。 #参见https://docs.gitlab ....
我有类似的问题,但我的问题是由cdebootstrap
引起的
最终发现这是gitlab-runner和Debian / Buster的错误,注释掉.bash_logout
处的/home/gitlab-runner
文件将解决此问题