Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

install step in pipeline

Sergey Kurchatov December 12, 2021

Hello,

I am new for pipelines so excuse me if the question is obvious

In my build I have two steps:

1. Install VTK library. This is a long-time step but it needs to be run ~once a year

2. make myVTKapp. This is a quick step needs to be run several times a day (per each commit into the repo), but it is requires pre-installed VTK library

So how to do this with the pipeline without re-installing VTK each time?

Regards,

Sergey

 

1 answer

1 accepted

0 votes
Answer accepted
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2021

Hi @Sergey Kurchatov,

Welcome to the Community!

This is going to depend on things about your environment.  The short version is that you really shouldn't do this as your build pipeline will work best when all of the steps can be run on every single build for consistency sake.

However, if you need to have the "Install VTK Library" step run but not as often, you are going to need to provide the agent machines the build will be performed on using:

Bitbucket Pipelines Runners

You will setup the Install VTK Library to execute against the agent infrastructure you provide.  Then you setup another build pipeline that runs just the make myVTKApp and is only executed by the agents that you have setup with Runners.

I hope that helps!

-Jimmy

Sergey Kurchatov December 12, 2021

Thank you Jimmy Seddon!

I will try.

Sergey

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Bitbucket Events