Artifacts, files encoding
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
I have a CI flow definition which contains multiple stages (test, build, pack, deploy) and I'm passing artifacts using the built-in gitlab mechanism. The build stage produces a distribution folder which contains multiple files (js, html, css, ...), so I was passing whole folder as an argument:
artifacts:
paths:
- apps/web-app/dist
By doing that I had issues with encoding, some of the files were broken (characters were modified). But if I pass as an archive (tar), then I don't have any issues. Should we always pass artifacts as an archive or is this potentially a bug in GitLab mechanism?
Edited by 🤖 GitLab Bot 🤖