Skip to content

Commit 9df20af

Browse files
Merge branch 'main' into ellen/user-invites-new-role
2 parents 98a5de0 + 6c7da50 commit 9df20af

20 files changed

Lines changed: 1176 additions & 678 deletions

File tree

.octopus/deployment_process.ocl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ step "slack-notify-feed-website-automation" {
6565
action {
6666
properties = {
6767
Channel = "#feed-website-automation"
68-
DeploymentInfoText = "#{Octopus.Project.Name} release #{Octopus.Release.Number} to #{Octopus.Environment.Name} #{AWS.Website}"
68+
DeploymentInfoText = "#{Octopus.Project.Name} release #{Octopus.Release.Number} to <#{AWS.Website}|#{Octopus.Environment.Name} ↗️>"
6969
HookUrl = "#{FeedWebsiteAutomation.WebHook}"
7070
IconUrl = "https://octopus.com/content/resources/favicon.png"
7171
IncludeErrorMessageOnFailure = "false"

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
"watch": "onchange 'src/**/*.{js,mjs,ts,astro,css}' 'public/docs/js/**/*.js' 'public/docs/css/**/*.css' -- prettier --write --plugin=prettier-plugin-astro {{changed}}"
2424
},
2525
"dependencies": {
26-
"@astrojs/mdx": "^4.2.3",
27-
"@pnpm/exe": "^10.8.0",
28-
"astro": "^5.6.1",
29-
"astro-accelerator-utils": "^0.3.40",
30-
"cspell": "^8.18.1",
31-
"glob": "^11.0.1",
26+
"@astrojs/mdx": "^4.3.0",
27+
"@pnpm/exe": "^10.11.1",
28+
"astro": "^5.9.0",
29+
"astro-accelerator-utils": "^0.3.43",
30+
"cspell": "^8.19.4",
31+
"glob": "^11.0.2",
3232
"gray-matter": "^4.0.3",
3333
"hast-util-from-selector": "^3.0.1",
3434
"html-to-text": "^9.0.5",
@@ -39,7 +39,7 @@
3939
"sharp": "^0.33.5"
4040
},
4141
"devDependencies": {
42-
"@playwright/test": "^1.51.1",
42+
"@playwright/test": "^1.52.0",
4343
"csv-parse": "^5.6.0",
4444
"npm-run-all": "^4.1.5",
4545
"onchange": "^7.1.0",

pnpm-lock.yaml

Lines changed: 851 additions & 645 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
36.9 KB
Loading
36.5 KB
Loading
57.6 KB
Loading
42.4 KB
Loading

src/pages/docs/administration/managing-infrastructure/server-configuration/managing-configuration.md

Lines changed: 7 additions & 19 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: 2023-01-01
4+
modDate: 2025-06-10
55
title: Managing server configuration
66
description: The Octopus Server configuration can be managed programmatically through the Octopus.Client library and the API
77
navOrder: 1801
@@ -22,19 +22,8 @@ In the Octopus Web Portal, you can access configuration by navigating to **Confi
2222

2323
Using [Octopus.Client](/docs/octopus-rest-api/octopus.client), each of the configuration types can be managed programmatically, reading from and writing back to the Octopus Deploy database.
2424

25-
The class definitions for each of the configurations is available by referencing the relevant `Octopus.Client.Extensibility.*` library, which are available via NuGet:
26-
27-
- [Octopus.Client.Extensibility.Authentication.Guest](https://www.nuget.org/packages/Octopus.Client.Extensibility.Authentication.Guest/)
28-
- [Octopus.Client.Extensibility.Authentication.DirectoryServices](https://www.nuget.org/packages/Octopus.Client.Extensibility.Authentication.DirectoryServices/)
29-
- [Octopus.Client.Extensibility.Authentication.UsernamePassword](https://www.nuget.org/packages/Octopus.Client.Extensibility.Authentication.UsernamePassword/)
30-
- [Octopus.Client.Extensibility.Authentication.AzureAD](https://www.nuget.org/packages/Octopus.Client.Extensibility.Authentication.AzureAD/)
31-
- [Octopus.Client.Extensibility.Authentication.GoogleApps](https://www.nuget.org/packages/Octopus.Client.Extensibility.Authentication.GoogleApps/)
32-
- [Octopus.Client.Extensibility.Authentication.Okta](https://www.nuget.org/packages/Octopus.Client.Extensibility.Authentication.Okta/)
33-
34-
Web Portal and Authentication types are available in [Octopus.Client](https://www.nuget.org/packages/Octopus.Client/)
35-
3625
:::div{.hint}
37-
This requires version 4.27.0 or later of the client library.
26+
This requires version 15.2.0 or later of the client library.
3827
:::
3928

4029
### .Net / C#
@@ -58,22 +47,21 @@ var server = "http://myoctopusserver/";
5847
var apiKey = "API-XXXXXXXX"; // Get this from your 'profile' page in the Octopus Web Portal
5948
var endpoint = new OctopusServerEndpoint(server, apiKey);
6049
var repository = new OctopusRepository(endpoint);
61-
var webportalConfig = repository.Configuration.Get<WebPortalConfigResource>();
62-
webportalConfig.Security.HttpStrictTransportSecurityEnabled = true;
63-
webportalConfig = repository.Configuration.Modify(webportalConfig);
50+
var webPortalConfig = repository.Configuration.Get<WebPortalConfigResource>();
51+
webPortalConfig.Security.HttpStrictTransportSecurityEnabled = true;
52+
webPortalConfig = repository.Configuration.Modify(webPortalConfig);
6453
```
6554

6655
### PowerShell
6756

6857
```powershell
6958
add-type -path 'C:\PathTo\Octopus.Client.dll'
70-
add-type -path 'C:\PathTo\Octopus.Client.Extensibility.Authentication.Guest.dll'
7159
$server = 'http://myoctopusserver/'
7260
$apikey = 'API-XXXXXXXX';
7361
$endpoint = New-Object Octopus.Client.OctopusServerEndpoint $server,$apikey
7462
$repo = New-Object Octopus.Client.OctopusRepository $endpoint
75-
$getMethod = $repo.Configuration.GetType().GetMethod("Get").MakeGenericMethod([Octopus.Client.Extensibility.Authentication.Guest.Configuration.GuestConfigurationResource])
76-
$modifyMethod = $repo.Configuration.GetType().GetMethod("Modify").MakeGenericMethod([Octopus.Client.Extensibility.Authentication.Guest.Configuration.GuestConfigurationResource])
63+
$getMethod = $repo.Configuration.GetType().GetMethod("Get").MakeGenericMethod([Octopus.Client.Model.Authentication.Guest.GuestConfigurationResource])
64+
$modifyMethod = $repo.Configuration.GetType().GetMethod("Modify").MakeGenericMethod([Octopus.Client.Model.Authentication.Guest.GuestConfigurationResource])
7765
$guestConfig = $getMethod.Invoke($repo.Configuration, $null)
7866
$guestConfig.IsEnabled = $true;
7967
$guestConfig = $modifyMethod.Invoke($repo.Configuration, $guestConfig)

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 michelle.obrien@octopus.com 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:

src/pages/docs/approvals/jira-service-management/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ If you add a variable to your project named `Octopus.JiraServiceManagement.Chang
169169
then an Issue will not be created, and instead, the supplied number will be used during the
170170
approval check. This variable can also be [scoped](/docs/projects/variables/getting-started/#scoping-variables) or configured as a [Prompted variable](/docs/projects/variables/prompted-variables).
171171

172+
From **2025.2** on this can be set under the `Jira Service Management Issue settings` section on the deployment or runbook run creation page. Setting the Issue number at the deployment or runbook run level will override any predefined variable.
173+
172174
### Setting up environments for CR approval
173175

174176
To enable an environment to enforce a requirement for an approved CR, navigate to **{

0 commit comments

Comments
 (0)