Skip to content

Commit 51cf819

Browse files
bec-callow-octOctobob
authored andcommitted
Adds support for selecting specific target tags on runbook run creation
+semver: minor GitOrigin-RevId: 4fff2a3657e94c7ca0fd59a6d66ca46cb91cc396
1 parent 24ae7a8 commit 51cf819

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
@@ -5308,6 +5308,7 @@ Octopus.Client.Model
53085308
Octopus.Client.Model.ReferenceCollection SkipActions { get; set; }
53095309
String SpaceId { get; set; }
53105310
Octopus.Client.Model.ReferenceCollection SpecificMachineIds { get; set; }
5311+
Octopus.Client.Model.ReferenceCollection SpecificTargetTagIds { get; set; }
53115312
String TaskId { get; set; }
53125313
String TenantId { get; set; }
53135314
Octopus.Client.Model.RetentionPeriod TentacleRetentionPeriod { get; set; }

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public RunbookRunResource()
5757
[WriteableOnCreate]
5858
public ReferenceCollection ExcludedMachineIds { get; set; }
5959

60+
/// <summary>
61+
/// A collection of target tag identifiers that should be included in the deployment.
62+
/// Only deployment targets that have at least one of these tags will be deployed to.
63+
/// </summary>
64+
[WriteableOnCreate]
65+
public ReferenceCollection SpecificTargetTagIds { get; set; }
66+
6067
public string ManifestVariableSetId { get; set; }
6168
public string TaskId { get; set; }
6269
public string ProjectId { get; set; }
@@ -117,4 +124,4 @@ public RunbookRunResource()
117124

118125
public ReferenceCollection DeployedToMachineIds { get; set; }
119126
}
120-
}
127+
}

0 commit comments

Comments
 (0)