Skip to content

OctoLintInvalidLifecycleNames

Mark Harrison edited this page Feb 27, 2025 · 1 revision

OctoLintInvalidLifecycleNames returns a warning if any Lifecycle that is named incorrectly, according to a specified regular expression.

Recommendation

Establish an easy-to-understand naming convention for Lifecycles. For example, name the lifecyle to match the phases and/or environments. e.g., Dev -> Test -> Prod.

When configuring your lifecycles, here are some additional tips to consider:

  • Update the default lifecycle to define the phases you need. This makes configuring and maintaining your Octopus Server easier.
  • Keep the number of environments under ten to keep the phases added by the default lifecycle low.
  • Create a lifecycle for any projects which need a different promotion flow between environments.
  • Remember to define phases for the lifecycle.
  • Set specific retention policies for your lifecycles. This will prevent keeping releases and files forever, reducing disk and database usage.

Remediation

Consider changing the Lifecycle name to one that is valid, according to your desired naming convention.

Clone this wiki locally