I see questions for this related to bamboo. But I’m using bitbucket cloud.
What is the best process for running integration tests post-deployment? Should that be in the deployment step/script? Or a build step that runs after the deployment in the pipeline? Is it even possible to run a build step after a deployment step? If so, how do I make sure I don’t run another deployment while the build(tests) are running.
I’m thinking it makes most sense to run the tests as a part of the deployment step, as then the deployment can pass/fail as a whole. Also keeps deployments in other pipelines for the same environment from running.
looking for confirmation on this approach or other ideas.
Thanks!