Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,025
Community Members
 
Community Events
168
Community Groups

Trigger deployment on build successful and deployment successful

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?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events