Smoke testing during deploys

Hey I’m wondering if there’s any built-in support or if anyone has custom tooling for deploys that allows smoke testing blue/green deploys. I’m essentially wanting to add some safety to blue/green deploys beyond just a health-check endpoint.

Example (assuming “blue” is deployed)

  • Deploy to green
  • Run a suite of smoke tests against green
  • If tests succeed, switch traffic to green and kill blue
  • If tests fail, kill green

Looks like there is support for blue/green deploys but not sure how this testing piece would fit in.

Any suggestions would be appreciated!