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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set pipelines setup dependency on another repo pipelines ?

HI All,

 

Greeting  of the day!.

 

I have a scenario which required your help.I have to Repos one for Terraform and another for Nodejs code deploy to lambda.

1 Terraform Repo - its setup/refresh the infra required  to deploy Node.js code.

2. Node.js Repo - it build the code and deploy to the lambda.

 

Now I want to set when deployment steps starts on nodejs repo. it should run first terrfrom steps from terrform repo bitbucket pipelines.

Please help. Thanks in advance

 

1 answer

0 votes

There is not pipeline chaining/orchestration across repositories.  Is the terraform repo shared, or another reason not to embed in the same repo?

Since node.js seems to be driving the lifecyle, you could just add a checkout of the dependent repository and invoke terraform there. https://bitbucket.org/blog/cloning-another-bitbucket-repository-in-bitbucket-pipelines

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,775 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you