You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flux2/.github/runners/README.md

1.3 KiB

Flux GitHub runners

How to provision GitHub Actions self-hosted runners for Flux conformance testing.

ARM64 Instance specs

In order to add a new runner to the GitHub Actions pool, first create an instance on Oracle Cloud with the following configuration:

  • OS: Canonical Ubuntu 20.04
  • Shape: VM.Standard.A1.Flex
  • OCPU Count: 2
  • Memory (GB): 12
  • Network Bandwidth (Gbps): 2
  • Local Disk: Block Storage Only

Note that the instance image source must be Canonical Ubuntu instead of the default Oracle Linux.

ARM64 Instance setup

  • SSH into a newly created instance
ssh ubuntu@<instance-public-IP>
  • Create the action runner dir
mkdir -p actions-runner && cd actions-runner
  • Download the provisioning script
curl -sL https://raw.githubusercontent.com/fluxcd/flux2/main/.github/runners/arm64.sh > arm64.sh \
  && chmod +x ./arm64.sh
  • Retrieve the GitHub runner token from the repository settings page
  • Run the provisioning script passing the token as the first argument
sudo ./arm64.sh <TOKEN>
  • Reboot the instance
sudo reboot
  • Navigate to the GitHub repository runners page and check the runner status