Hello, folks!
When we have switched to bitbucket Runner mechanism our pipline started failing and thrown an error on yarn install:
when we use size: 2x memory instead of using bitbucket runner there is no error.
Will appreciate any support!
Thanks!
Hi Uladzislau and welcome to the community!
Could you please let me know what type of Runner are you using? Is it a Linux Docker, Linux Shell, MacOS, or Windows Runner?
What is the operating system of the host machine this runner is running?
Kind regards,
Theodora
Hello, Theodora
this is MacOs runner thus OS is MacOs
Best regards, Uladzislau
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uladzislau,
Thank you for your reply.
Just to give you some context, Pipelines builds that run on Atlassian infrastructure use Docker containers. For every step of your build, a Docker container starts using the image you have specified in your bitbucket-pipelines.yml file. The repo is cloned in that container, and then the commands of the step's script are executed. When the step finishes that Docker container gets destroyed.
MacOS Runners do not use Docker containers. They use Bash to run pipeline steps on your MacOS machine (host device). This allows the runner to execute applications on the host but does not provide a clean build environment for every step.
I would suggest running the build on this Mac without using a runner:
This is to narrow down whether the issue seems to be related to the runner or to running the build on this Mac.
If you want an environment similar to the one on Atlassian infrastructure and you have a Linux machine, you could use a Linux Docker Runner instead, which uses Docker containers for each step.
Please feel free to let me know if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.