Self-hosted runners#

For building aarch64 images, we use VMs, provided by Oracle OCI. Currently, there are 2 self-hosted GitHub runners with 2 OCPU and 12 GB each.

To setup a new runner:

  1. Create a compute instance VM.Standard.A1.Flex with 2 OCPU and 12 GB using Ubuntu 22.04 image.

  2. Run under root:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/jupyter/docker-stacks/HEAD/aarch64-runner/setup.sh)"
    

    This will perform initial runner setup and create a user runner-user without sudo capabilities.

  3. Setup new GitHub Runner under runner-user using GitHub Instructions. Do not ./run.sh yet.

  4. Run under root:

    cd /home/runner-user/actions-runner/ && ./svc.sh install runner-user
    
  5. Reboot VM to apply all updates and run GitHub runner.