Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Trigger deployment on build successful and deployment successful

Dan Peder Eriksen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 16, 2022

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
AUG Leaders

Atlassian Community Events