Invoke webhooks without needing a callback

CD-as-a-ServiceFeature

You can now use webhooks asynchronously during deployment. Until now, using webhooks required a callback for the deployment to continue or rollback, which was not ideal for use cases like event streaming. webhooks now has an optional boolean field disableCallback. When you set this field to true, CD-as-a-Service does not wait for the callback to continue deployment.

The following is a sample configuration for defining an asynchronous webhook:

webhooks:
  - name: Sample_Integration_tests
    method: POST
    disableCallback: true
    uriTemplate: https://api.cloud.armory.io/sandbox/webhoo
    headers:
      - key: Content-Type
        value: application/json
    bodyTemplate:
      inline: >-
        {
          "callbackUri": "{{armory.callbackUri}}/callback",
          "success": true
        }
    retryCount: 3

strategies:
  canary-20:
    canary:
      steps:
        - setWeight:
            weight: 20
        - runWebhook:
            name: Sample_Integration_tests
Armory logo

Sep

15

New on the deployment graph: Deployment triggers with source context!

CD-as-a-ServiceFeature