Announcing support for Linux ARM Runners in Bitbucket Pipelines

Announcing support for Linux ARM Runners in Bitbucket Pipelines

We are excited to announce that Bitbucket Pipelines now supports Linux Docker ARM self-hosted runners. The new runner type supports running pipelines on your own ARM infrastructure, allowing you to build and test your code on a wider range of platforms.

Getting Started

To get started, go to your repository or workspace settings, and select the Runners tab in the left navigation menu. Select Linux Docker (arm64) from the System and Architecture dropdown and specify a runner name and any additional labels.

Configuring your bitbucket-pipelines.yml

To use the ARM runner in a pipeline, configure your step to have a runs-on section with both the self.hosted and linux.arm64 labels in addition to any other labels needed to select your runner. Note that the build image and any service images used by your pipeline must support ARM. The most recent atlassian/default-image:4 has been built to support both ARM- and Intel-based pipelines.

image: atlassian/default-image:4

pipelines:
  default:
    - parallel:
        - step:
            name: Build and Test
            runs-on:
              - self.hosted
              - linux.arm64
            script:
              - npm run build
              - npm run test
        - step:
            name: Code linting
            runs-on:
              - self.hosted
              - linux.arm64
            script:
              - npm run lint 

Checking if an image is ARM compatible

To debug suspected platform-related problems with the images used by your pipeline, there are a few checks you can run against the image to check that ARM is supported:

Using Pipes

If you are using any pipes in your pipeline and running on ARM, these pipes must be built to work on ARM. If there are specific pipes you want to see supported on ARM, please reach out to us by raising a question in the Atlassian Community.

Technical documentation

If you need more help setting up and using runners, please review our technical documentation.

Exit mobile version