Self-hosted runners#

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

To set up 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 the 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 the VM to apply all updates and run GitHub runner.