Skip to content

ci(build): EXCLUDE_ARTIFACT pipeline variable

Vincent Riesop requested to merge exclude-artifact-option into main
  • Option for a wildcard or single path to exclude a build artifact from getting uploaded to the gitlab build artifacts.
  • usually should be ignored, however, example of linux kernel debug symbols: debug symbols are too big for gitlab artifacts. But if we need the debug symbols to be build, this EXCLUDE_ARTIFACT variable makes sure that we dont run into a failed pipeline stage because of "payload too long"
  • deploy job does not take the build artifact from gitlab's artifacts storage. Therefore, it can be deployed without the dependency to having the artifact in gitlabs artifact storage. Thus excluding in build step should not be an issue.

Merge request reports