Dependencies not being downloaded for subsequent builds
We got today an information about this problem from Build Team:
This build has a dependency specified in .gitlab-ci.yml
, but it didn't download any artifacts. Hence the build failed, hence our RC tag failed. Any idea why it didn't download the artifacts? I tried to figure it out but couldn't see any reason. Any help would be great.
https://dev.gitlab.org/gitlab/omnibus-gitlab/-/jobs/1169226
After looking at output of what is being send to runner I see:
"dependencies": [
{
"id": 1169218,
"name": "Ubuntu 16.04",
"token": "xxx",
"artifacts_file": {
"filename": null,
"size": 323616884
}
}
]
If we don't specify a filename, runner will not download dependencies as it assumes that they do not exist.
So, artifacts_file
does exist, but we fail to return a filename
.