New Constraint Type: AfterDeployment

CD-as-a-ServiceFeature
undefined
undefined

You can now run integration tests and security scanners after an environment finishes deployment using an AfterDeployment constraint. If the tests fails, any environments that depend on the one being tested will not be deployed. Documentation is still in progress, but here is the syntax:

targets:
  staging:
    account: demo-staging-cluster
    namespace: borealis-staging
    strategy: rolling
    constraints:
      #after deployment constraints are useful for running automated tests in a deployed staging environment before deploying to production.
      afterDeployment:
        - runWebhook:
            name: Run_Integration_Tests
            context:
              environment: staging

Note: leveraging an automated canary analysis step within an afterDeployment constraint is not yet supported.

Armory logo

Sep

15

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

CD-as-a-ServiceFeature