管道 #37652 在阶段准备索引

时间:2021-02-17 10:48:32

标签: git gitlab gitlab-ci pipeline git-push

我分叉了一个目录,以便在主分支上进行更改,然后创建一个合并请求。问题是每次我尝试做一个简单的任务时都会出现上述错误。例如,我删除了一个名为 test.md 的文件和一个名为 .ipynb_checkpoints 的文件夹。我做了一个 git add、一个 git commit -m 'delete test file' 和一个 git push。我收到一封电子邮件,告诉我管道在准备索引阶段失败,但矛盾的是,远程存储库中的文件和文件夹被删除了:这意味着我设法完成了我想做的任务。我很困惑。

enter image description here

当我点击错误时,我得到了这个:

Running with gitlab-runner 13.8.0 (775dd39d)
  on os-gitlab-runner-06 14e2913e
Preparing the "docker" executor
00:01
Using Docker executor with image python ...
Pulling docker image python ...
Using docker image sha256:2a93c239d591553ed9c25ef20ed7c7a1542e8644f57d352e3a1446f0a5f0412d for python with digest python@sha256:ca8bd3c91af8b12c2d042ade99f7c8f578a9f80a0dbbd12ed261eeba96dd632f ...
Preparing environment
00:01
Running on runner-14e2913e-project-2039-concurrent-0 via os-gitlab-runner-06...
Getting source from Git repository
00:03
Fetching changes...
Reinitialized existing Git repository in /builds/nene.barry/howto-cards-internal/.git/
Checking out 8f4ff728 as master...
Removing .tmp/
Skipping Git submodules setup
Downloading artifacts
00:01
Downloading artifacts for clone (234746)...
Downloading artifacts from coordinator... ok        id=234746 responseStatus=200 OK token=BZcLj-Y7
Executing "step_script" stage of the job script
00:04
$ pip install natsort
Collecting natsort
  Downloading natsort-7.1.1-py3-none-any.whl (35 kB)
Installing collected packages: natsort
Successfully installed natsort-7.1.1
$ cp -r .tmp/policies .
cp: cannot stat '.tmp/policies': No such file or directory
Cleaning up file based variables
00:00
ERROR: Job failed: exit code 1

有人可以帮我理解这个吗?

0 个答案:

没有答案