Do you set retention policy?

Last updated by Danijelmalik almost 8 years ago.See history

Octopus Deploy will by default keep all packages (NuGet, ZIP, …) as well as files deployed on all Tentacles. Because of that your hard drive will fill up very fast as you keep pushing in more packages and creating more releases, especially if you are using Continuous Integration and pushing out new packages with every commit to a repository.

That's why you need to set up a retention policy. Octopus Deploy supports two options:

  • Retention policy for packages
  • Retention policy for deployments (via Lifecycle phases)

You should set up both.

Package Policy

2016 05 30 15 00 04

Bad Example - Retention policy is set to Keep forever

2016 05 30 15 00 29

Good Example - Retention policy is set to a number of days

Lifecycle Policy

2016 05 30 15 01 55

Bad Example - Lifecycle's retention policy is set to Keep all

2016 05 30 15 49 37

Good Example - Lifecycle's retention policy is set to 3 Releases

We open source. Powered by GitHub