Extend the Subscriptions feature to allow runnable scripts
Octopus Subscriptions should be extended to include support for running scripts (PowerShell, C# etc) in response to events. That, or allow the community to write their own extensions for Subscriptions (similar to how auth extensions were implemented).
This would save us from having to setup an external webhook for Octopus to communicate with / cut out the middle man.
- This was originally feedback from the Subscriptions blog post.
Andrew Timson commented
With the extension route (and scripts too?), this would also need some ability to provide configurable values so that we don't have to hardcode stuff like connection strings to an external database.
Jan-Pieter Zoutewelle commented
Scripts would be much appreciated, we'd mostly use it to allow Let's Encrypt renewal (for now) without any other installation.
Scott Guymer commented
It would also be good to be able to pass in some more context from the deployment to be able to pass information to downstream services.
For instance we are looking at pushing a deployment notification into our APM solution and it would be good to be able to pass through some variables to the webhook to use as keys.
We don't need to use middleware for subscriptions.Please implement this feature.
I think this is a great idea.