Artifact and pages size limits are not consistent
Summary
The documentation (https://about.gitlab.com/gitlab-com/settings/#gitlab-pages) says the size limit for pages is "regulated by the artifacts maximum size", which is 1GB in gitlab.org according to the same document. However it is not clear if this refers to compressed or uncompressed size, and seems to behave different for job artifacts and for the pages:deploy
job.
Steps to reproduce
I don't know if this can be reproduced, but my setting is:
Three jobs, each of them creates an artifacts file with the following sizes:
- 330 MB compressed, 1.6 GB uncompressed
- 1 MB compressed, 5 MB uncompressed
- 2 MB compressed, 7 MB uncompressed
These complete successfully and upload the artifacts to coordinator. Then the pages
job takes these artifacts, moves them into public/
and sets it as an artifact (with the only addition of a minimal index.html
file), this also completes successfully and uploads the artifacts to coordinator, but I can't download or browse the resulting artificats. Finally, the automatic pages:deploy
job is created and fails with "pages:deploy - artifacts for pages are too large: 1459447313", which is approximately the size of the total uncompressed artifacts.
Example Project
Private project: Molcas/molcas.gitlab.io
What is the current bug behavior?
Passing artifacts between jobs works fine, but uploading the pages fails.
What is the expected correct behavior?
Either uploading the pages should work, or the some error or warning should be issued before. At least, the actual behavior should be documented (maybe maximum artifact size is 1 GB compressed, and maximum pages size is 1 GB uncompressed?)
Related feature request
Increase the maximum size for pages or make it depend on the compressed size (though I guess it doesn't make much sense). In my case I want to generate Doxygen documentation with call/caller graphs, and it gets huge...
Output of checks
This bug happens on GitLab.com