In our microservice we use Bamboo and yaml specs for our builds and deployment. We have 3 environments:
We use triggers to deploy to Staging and Test.
- environment-success: Test
After merging code to master the microservice is built, if successful deployed to Test and if the deployment to Test was successful the microservice is deployed to Stage as well. This works great for auto deployment, but there is one caveat. If we deploy a version manual to Test the same version will automatically be deployed to staging as well.
Is it possible with the yaml bamboo spec to specify that Stage should only be deployed automatically on successful build in master AND successful deployment to Test?