You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi,
In our microservice we use Bamboo and yaml specs for our builds and deployment. We have 3 environments:
Production
Staging
Test
We use triggers to deploy to Staging and Test.
Test:
Test:
triggers:
- build-success
Staging:
Staging:
triggers:
- 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?