forked from mcasperson/OctopusRecommendationEngine
-
Notifications
You must be signed in to change notification settings - Fork 5
OctoLintInvalidTargetRoles
Mark Harrison edited this page Feb 27, 2025
·
1 revision
OctoLintInvalidTargetRoles
returns a warning if any deployment target tags (roles) are named incorrectly, according to a specified regular expression.
In an Octopus deployment process, you assign certain steps to run on deployment targets with specific target tags.
Target tags (formerly target roles) are a filter to select specific deployment targets in an environment.
Our recommendations for target tags are:
- Avoid generic tags, such as
web-server
, whenever possible. - Use specific tags,
hello-world-api
, to uniquely identify a project and component to deploy. Use those specific tags in your deployment process. - Use architecture and platform-specific tags, for example,
IIS-Server-Windows-2019
. Use those tags for everyday maintenance tasks; updating to the latest version of Node.js, or installing a patch.
Consider changing the deployment target tags (roles) to valid ones in both the machine records and any deployment or runbook processes which they relate to.