Skip to content

Increment max size of artifacts for child/dynamic pipelines

At the moment, on Gitlab.com there is no option to increment the max artifact size for child pipelines. My company workflow uses child/dynamic pipelines to generate dynamic jobs based on certain factors, and this process occurs in a job where we also install some dependencies, enlarging the artifact size and thus not permitting us to consume the newly generated yaml file to trigger a child pipeline from.

The proposal is to add an option to change this limit, or to make this limit higher. This change would allow there to be a more lax limit, and thus more flexibility when writing our pipelines & jobs.

The code the support team identified as where the limit is set is: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/artifact_file_reader.rb#L11

Proposal

  • Introduce an ApplicationLimit at the instance level, similar to what we did to configure YAML file size and depth
  • Add instrumentation metrics to measure feature adoption
Edited by Max Orefice