Skip to content

Commit b7e3d32

Browse files
authored
Add section to built in package repository retention (#2731)
* add section to built in package repository info * add both criteria * update server version and contact michelle notice
1 parent 2928395 commit b7e3d32

File tree

1 file changed

+18
-2
lines changed
  • src/pages/docs/administration/retention-policies

1 file changed

+18
-2
lines changed

src/pages/docs/administration/retention-policies/index.mdx

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2025-04-28
4+
modDate: 2025-06-03
55
title: Retention policies
66
icon: fa-solid fa-broom
77
description: Retention policies allow you to specify the releases, packages and files you want to keep as well as the ones you want cleaned up.
@@ -55,7 +55,7 @@ The disk space calculation for both targets and workers looks at the entire disk
5555

5656
### Built-in repository \{#built-in-repo-whats-deleted}
5757

58-
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.
5959

6060
:::figure
6161
![](/docs/administration/retention-policies/images/built-in-repository.png)
@@ -70,6 +70,22 @@ When a package retention policy is applied, Octopus will delete packages that me
7070
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.
7171
:::
7272

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+
7389
### Build information \{#build-information-whats-deleted}
7490

7591
[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

Comments
 (0)