Skip to content

Robe/remove old tests - #2072

Merged
zentron merged 3 commits into
mainfrom
robe/remove-old-tests
Jul 23, 2026
Merged

Robe/remove old tests#2072
zentron merged 3 commits into
mainfrom
robe/remove-old-tests

Conversation

@zentron

@zentron zentron commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Octopus for some time has required the use of Powershell 5, so we can assume in our tests that it is present.

Similarly we have long since deprecated the use of AzureRM powershell cmdlets, so removing its presence from a test. A later change will remove the code that even checks for it in the context scripts.

@zentron
zentron force-pushed the robe/remove-old-tests branch from 110eb4f to 79a3a53 Compare July 16, 2026 13:08
@zentron
zentron marked this pull request as ready for review July 16, 2026 13:09
var psScript = @"
$ErrorActionPreference = 'Continue'
az --version
Get-AzEnvironment

@APErebus APErebus Jul 17, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do still support the newer az cmdlets? Are we sure we want to remove these?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I may have been a little over eager when I started removing the older usage of Get-AzureEnvironment. Perhaps that may just need the upgrade

@zentron
zentron force-pushed the robe/remove-old-tests branch from 7de6de8 to 3a6eaa6 Compare July 22, 2026 11:28
@zentron
zentron requested a review from APErebus July 22, 2026 22:46
</None>
</ItemGroup>

<Import Project="$(MSBuildProjectDirectory)/../IncludeDotNetScript.targets"/>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a result of some of the project moves it looks like this file is sometimes not available during a test

@zentron
zentron merged commit 7f132f3 into main Jul 23, 2026
36 checks passed
@zentron
zentron deleted the robe/remove-old-tests branch July 23, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants