Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: lifecycle phase priority support #798

Merged
merged 4 commits into from
Oct 16, 2024
Merged

Conversation

domenicsim1
Copy link
Contributor

Support for is_priority_phase in Lifecycle datasource and resource.

Example:

resource "octopusdeploy_lifecycle" "example" {
  description = "This is the a lifecycle."
  name        = "Test Lifecycle (OK to Delete)"

  release_retention_policy {
    quantity_to_keep    = 0
    should_keep_forever = true // true only if quantity_to_keep = 0
    unit                = "Days"
  }

  tentacle_retention_policy {
    quantity_to_keep    = 30
    should_keep_forever = false
    unit                = "Items"
  }

  phase {
    name = "Tests"
    is_priority_phase = true
  }

}

@domenicsim1 domenicsim1 marked this pull request as ready for review October 16, 2024 02:58
Copy link
Collaborator

@benPearce1 benPearce1 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@domenicsim1 domenicsim1 merged commit 381d471 into main Oct 16, 2024
22 checks passed
@domenicsim1 domenicsim1 deleted the dom/lifecycle-priority branch October 16, 2024 05:12
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