Skip to content

Commit 56b38fc

Browse files
bec-callow-octOctobob
authored andcommitted
Adds support for selecting specific target tags on deployment creation
+semver: minor GitOrigin-RevId: ce46ba827481d512592cf2cb63777d671329ce74
1 parent ab6b870 commit 56b38fc

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2889,6 +2889,7 @@ Octopus.Client.Model
28892889
Octopus.Client.Model.ReferenceCollection SkipActions { get; set; }
28902890
String SpaceId { get; set; }
28912891
Octopus.Client.Model.ReferenceCollection SpecificMachineIds { get; set; }
2892+
Octopus.Client.Model.ReferenceCollection SpecificTargetTagIds { get; set; }
28922893
String TaskId { get; set; }
28932894
String TenantId { get; set; }
28942895
Octopus.Client.Model.RetentionPeriod TentacleRetentionPeriod { get; set; }

source/Octopus.Server.Client/Model/DeploymentResource.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ public DeploymentResource()
6060
[WriteableOnCreate]
6161
public ReferenceCollection ExcludedMachineIds { get; set; }
6262

63+
/// <summary>
64+
/// A collection of target tag identifiers that should be included in the deployment.
65+
/// Only deployment targets that have at least one of these tags will be deployed to.
66+
/// </summary>
67+
[WriteableOnCreate]
68+
public ReferenceCollection SpecificTargetTagIds { get; set; }
69+
6370
public string ManifestVariableSetId { get; set; }
6471
public string TaskId { get; set; }
6572
public string ProjectId { get; set; }
@@ -120,4 +127,4 @@ public DeploymentResource()
120127

121128
public ReferenceCollection DeployedToMachineIds { get; set; }
122129
}
123-
}
130+
}

0 commit comments

Comments
 (0)