Repository navigation
Document the TagSets system variables for environments, tenants, and projects - #3567
Merged
Merged
Conversation
…projects Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pull request environment is available at https://stoctodocspr3567.z22.web.core.windows.net/. You can view the ephemeral environment status in Octopus Deploy. This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity. |
hnrkndrssn
marked this pull request as ready for review
November 13, 2026 05:21
grace-rehn
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Octopus Server has set three tag set variables since 2025.4. They came in OctopusDeploy/OctopusDeploy#37164 and OctopusDeploy/OctopusDeploy#37529. The System variables page doesn't list any of them. A customer found
Octopus.Environment.TagSets[tag set].Tagsonly by reading a deployment's variable manifest. They asked if they can rely on the variable. They also asked what the value looks like when an environment has more than one tag in the tag set.Relates to FD-1065
Results
Adds
Octopus.Environment.TagSets[tag set].Tags,Octopus.Project.TagSets[tag set].Tags, andOctopus.Tenant.TagSets[tag set].Tagsto the Deployment variables table. Version notes list the first build for each.Each row says the value is the tag names separated by commas. The order of the tags isn't guaranteed. The environment row also says an
==comparison only matches when the environment has a single tag in the tag set. That was the customer's main question.How to review this PR
General quality. The value format comes from
CollectTagSetVariablesinVariableCollectionUtilities.csin OctopusDeploy. The version boundaries are the first builds that contain #37164 and #37529.Reducing risk
🤖 Generated with Claude Code