Skip to content

test: use DeployLatestRelease action in scheduled trigger test - #500

Merged
zentron merged 2 commits into
mainfrom
test/fix-project-trigger-action
Nov 10, 2026
Merged

zentron merged 2 commits into
mainfrom
test/fix-project-trigger-action

Conversation

@zentron

@zentron zentron commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Background

TestProjectTriggerAddGetUpdateDelete fails against the current Octopus Server image. The server now rejects the AutoDeploy action on a trigger with a OnceDailySchedule filter:

A trigger with a OnceDailySchedule filter cannot use the AutoDeploy action. Use one of: DeployLatestRelease, DeployNewRelease, DeployLatestReleaseToEnvironment, RunRunbook.

OctopusDeploy/OctopusDeploy#48984 added this validation.

The failure blocks CI on every open PR. You can see it on #499.

Changes

  • Use the DeployLatestRelease action in CreateTestProjectTrigger. The test environment is both the source and the destination.

Testing

  • The e2e job on this PR runs the updated test.

🤖 Generated with Claude Code

Octopus Server now rejects the AutoDeploy action on a OnceDailySchedule trigger.
@zentron
zentron enabled auto-merge (squash) November 10, 2026 03:02
@zentron
zentron merged commit 657e545 into main Nov 10, 2026
6 checks passed
@zentron
zentron deleted the test/fix-project-trigger-action branch November 10, 2026 03: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