Skip to content

Ignore special files when creating tar archive

Fabien Catteau requested to merge hotfix-tar-write-too-long into master

What does this MR do?

Don't attempt to add special files (including symlinks) to the tar archive that's copied to the containers of the analyzers.

Why was this MR needed?

Otherwise the SAST command may fail to create the tar archive: archive/tar: write too long .

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/6066

Merge request reports