Skip to content

feat: Update blue-green deployment check script to take tenants into …#1694

Merged
mcasperson merged 3 commits into
masterfrom
mattc/update_bluegreen
Jul 20, 2026
Merged

feat: Update blue-green deployment check script to take tenants into …#1694
mcasperson merged 3 commits into
masterfrom
mattc/update_bluegreen

Conversation

@mcasperson

@mcasperson mcasperson commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Background

This PR allows the script to account for tenants.

Results

The script will now consider previous deployments to the current tenant rather than the latest deployment to an environment.

Pre-requisites

  • Id should be a GUID that is not 00000000-0000-0000-0000-000000000000
    • NOTE If you are modifying an existing step template, please make sure that you do not modify the Id property (updating the Id will break the Library sync functionality in Octopus).
  • Version should be incremented, otherwise the integration with Octopus won't update the step template correctly
  • Parameter names should not start with $
  • Step template parameter names (the ones declared in the JSON, not the script body) should be prefixed with a namespace so that they are less likely to clash with other user-defined variables in Octopus (see this issue). For example, use an abbreviated name of the step template or the category of the step template).
  • LastModifiedBy field must be present, and (optionally) updated with the correct author
  • The best practices documented here have been applied
  • If a new Category has been created:
    • An image with the name {categoryname}.png must be present under the step-templates/logos folder
    • The switch in the humanize function in gulpfile.babel.js must have a case statement corresponding to it

@github-actions

Copy link
Copy Markdown

Review this PR in Hyponome for a side-by-side diff of the step-template JSON and any embedded scripts.

@mcasperson
mcasperson enabled auto-merge (squash) July 19, 2026 23:55

@harrisonmeister harrisonmeister left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcasperson
mcasperson merged commit b67dc6b into master Jul 20, 2026
3 checks passed
@mcasperson
mcasperson deleted the mattc/update_bluegreen branch July 20, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants