Custom Toolchain on Bitbucket Pipeline

Achim Kreß August 13, 2024

Hello,

surprisingly, I couldn't find any information on this. Maybe it exists and I simply overlooked it...

Anyways, here is my question:
How can I deploy a custom tool chain (C compiler/linker etc.) on Bitbucket Pipeline nodes?

We are working on an embedded low level C project using a commercial compiler. When the compiler is installed on that pipeline node/docker image whatsoever, how can I connect it to the license server, which is located in our company's VPN?

Thanks in adavance

1 answer

1 accepted

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2024

Hello @Achim Kreß and thank you for reaching out to the Community!

If you're running your pipelines in Atlassian infrastructure, in order to connect to external services that are behind a firewall, such as your license server,  you'd have to allow the following IP addresses in the firewall:

In case your company has restrictions on IP addresses that can be allowed, you have the option to run the builds in your own infrastructure using Self-hosted runners. With the build running in your internal network, it wouldn't be necessary to make changes to the firewall, and the build would have access to the servers in your internal network.

I hope that helps! Let us know if you have any questions.

Thank you, @Achim Kreß !

Patrik S

Achim Kreß August 26, 2024

@Patrik S, thanks for the explanation. That explains how we can handle the license server. What about the installation of custom toolchains (i.e. compilers, linkers etc.)?

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 26, 2024

The tools required for your build needs to either be installed during the pipeline execution or be part of the docker image (recommended).

You can use an existing image available in Docker-hub (or any other registry you may use) or build your custom docker image containing all the dependencies/tools you need for the build.

Achim Kreß August 30, 2024

Thank you, that helps and answers my questions.

Like Patrik S likes this
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 30, 2024

Awesome @Achim Kreß ,

happy to have been of some help :)

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events