Skip to content

Draft: Added CI Retention policy - Hackathon

Jose Ivan Vargas requested to merge add-ci-retention-pipeline-hackathon into master

What does this MR do and why?

This is part of the Verify Hackathon

Added CI Retention policy feature

This allows to cleanup CI data to reduce overall data footprint in instances configured with this setting.

A List of record types that will be deleted if we delete the Pipeline record

  1. Ci::Pipeline
  2. Ci::PipelineArtifact
  3. Ci::Build
  4. Ci::JobArtifact
  5. Ci::BuildTraceChunk
  6. Ci::BuildMetadata
  7. CI::Stage
  8. Ci::SourcesPipelines
  9. Ci::PipelineVariables
  10. Ci::SourcesProjects
  11. Ci::PipelineMetadata
  12. Ci::PipelineChatData
  13. Ci::PipelineMessages
  14. Ci::PipelinesConfig
  15. Ci::DailyBuildGroupReportResults
  16. Ci::BuildPendingState
  17. Ci::RunnerManagerBuild
  18. Ci::BuildReportResult
  19. Ci::BuildNeed
  20. Ci::BuildTraceMetadata

Screenshots or screen recordings

Screenshot_2023-05-30_at_17.26.15

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by drew stachon

Merge request reports