Skip to content

To support no-zip flag for artifacts

Description

Do not zip the artifact if it is not useful.

Sometimes, the build script generates a single zip file (due to some issues of gitlab: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/1057#note_19230975).

However, gitlab re-zip artifact even it is a single zip file.

Proposal

  • Do not zip artifacts if it is a single file.
  • Support no-zip flag for artifacts

Links to related issues and merge requests/references

https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/1057#note_19230975

Edited by maso