Skip to content

CI: UBI: cleanup artifacts after completion of tarball

Jason Plum requested to merge assets-413-ubi8 into master

What does this MR do?

CI: add list_artifacts to build-job-base

Add list_artifacts function, and add to before and after script of UBI's .build-job-base. This is to help in debugging 413 payload too large messages from UBI pipelines.

CI: UBI: cleanup artifacts after completion of tarball

Cleanup the artifacts/ubi/*.tar.gz at the completion of copy_assets function. Ideally, this prevents "ever growing" pile of assets being output / uploaded to the artifacts coordinator.

Related issues

Related to gitlab-org/charts/gitlab#3837 (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

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
Edited by Robert Marshall

Merge request reports