Skip to content

Install Gitaly dependencies for project archiving

Clemens Beck requested to merge fix-empty-bzip-archive into master

What does this MR do?

Install Gitaly dependencies for project archiving 

Install tar, gzip and bzip2 into final Gitaly image.
Fixes empty bzip archives when a project is exported.

Changelog: fixed

Note: tar and gzip are already installed, but I think we should explicitly add them to the list to make sure they are installed even if the base image changes.

Related issues

Closes #817 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • When ready for review, MR is labeled "~workflow::ready for review" per the Distribution MR workflow

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
    • Install a chart with the master images
    • Create a project
    • Export the project as .tar.bz
    • Confirm a 0 bytes archive gets created
    • Upgrade to these images
    • Export the project as .tar.bz
    • Confirm a non empty archive gets created
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
  • New dependencies are managed with dependencies.io
Edited by Clemens Beck

Merge request reports