Webhooks now support Before Deployment Constraints and Blue/Green Strategies
It is now possible to leverage a Web-hook within a before deployment constraint and a blue/green strategy (in addition to a canary strategy). We are still working to document this functionality, but in the meantime, more information is in the prior feature notes on using web-hooks in a canary strategy.
Example syntax for using web-hook from within a before deployment constraints:
constraints:
dependsOn: ["infosec","staging"]
beforeDeployment:
- pause:
untilApproved: true
- runWebhook:
name: myWebhookwcontext
context:
environment: production
Example syntax for using web-hooks from within a blue/green deployment strategy:
strategies:
myBlueGreen:
blueGreen:
activeService: potato-facts-external
previewService: potato-facts-preview
redirectTrafficAfter:
- analysis:
interval: 7
units: seconds
numberOfJudgmentRuns: 1
rollBackMode: manual
rollForwardMode: automatic
queries:
- avgCPUUsage-pass
- runWebhook:
name: myWebhook
Known issues:
web-hook name does not show up properly in a before deployment constraint yet