Skip to content

Conversation

lourens-octopus
Copy link
Contributor

@lourens-octopus lourens-octopus commented Oct 6, 2025

Add function to retrieve the release deployment template for a specific release

[sc-122277]

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds functionality to retrieve release deployment templates from the Octopus Deploy API. It introduces a new API endpoint and service method to fetch deployment template information for a specific release.

  • Adds new URI template constant for the release deployment template endpoint
  • Implements GetReleaseDeploymentTemplate function with proper parameter validation
  • Defines ReleaseDeploymentTemplate and DeploymentPromotionTarget data structures

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
uritemplates/links.go Adds new URI template constant for release deployment template endpoint
pkg/releases/release_service.go Implements new service function to retrieve release deployment templates
pkg/releases/release_deployment_template.go Defines data structures for release deployment template response

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@lourens-octopus lourens-octopus force-pushed the lourens/add-release-deployment-template branch from 0ed15c0 to f59d53c Compare October 12, 2025 21:21
@lourens-octopus lourens-octopus merged commit 1c67b6e into main Oct 12, 2025
6 checks passed
@lourens-octopus lourens-octopus deleted the lourens/add-release-deployment-template branch October 12, 2025 21:28
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