Skip to content

Avoid downloading artifacts from previous stages

Hi!

I'm using the deploy-to-prod component in my pipelines and I have a few stages that run before doing the deployment. Because the deploy-to-prod component does not define a dependencies: [] property, GitLab CI download/extract every artifact that was produced in a previous stage, which is (at least in my case) useless because everything needed will be rebuilt when deploying on CC. Depending on the amount/size of artifacts, this can result in a significative toll on the job execution time.

Maybe the component should have a dependencies: [] property? Or at least have a new input to allow setting its value if the default [] does not fit one's project?