You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A retention policy can be applied to packages in the built-in Octopus package repository. By default, the policy is set to keep all packages indefinitely. This policy is *separate* from the [release retention policy](#releases-whats-deleted) described above.
58
+
A retention policy can be applied to packages in the [built-in Octopus package repository](/docs/packaging-applications/package-repositories/built-in-repository). By default, the policy is set to keep all packages indefinitely. This policy is *separate* from the [release retention policy](#releases-whats-deleted) described above.
@@ -70,6 +70,22 @@ When a package retention policy is applied, Octopus will delete packages that me
70
70
When configuring the repository retention policy, it's also worth making note of your [release retention policy](#releases-whats-deleted) settings too. When releases are deleted as a result of your release retention policy, then packages associated with those releases may become subject to cleanup by your repository policy.
71
71
:::
72
72
73
+
:::div{.info}
74
+
From Octopus Cloud version 2025.3.672, packages associated with releases in the Octopus Built-in repository can be deleted. This feature is behind a feature toggle, please contact [email protected] if you would like to turn this feature on.
75
+
:::
76
+
77
+
From the Built-in Repository Retention configuration page:
78
+
79
+
- Select **A limited time** and configure the number of days to retain packages.
80
+
- Select **Always keep packages used by releases and runbook runs on the dashboard**
81
+
82
+
This option ensures that packages associated with releases and runbook runs are deleted from the Built-in Repository. Any packages associated with releases displayed on either the main dashboard or a [project dashboard](/docs/projects/project-dashboard) are **never deleted**. Any packages associated with runbooks displayed on the projects runbook dashboard are also **never deleted**.
83
+
84
+
When this option is selected and a package retention policy is applied, Octopus will delete packages that meet *both* of the following criteria:
85
+
86
+
1. The time span from the package's initial publish date exceeds the configured time period in the policy
87
+
2. The package is **not associated with a release or runbook run displayed on the dashboard**
88
+
73
89
### Build information \{#build-information-whats-deleted}
74
90
75
91
[Build information](/docs/packaging-applications/build-servers/build-information) stored in Octopus is associated with **packages**. Octopus will decide how long to keep the build information based on the package they are linked to:
0 commit comments