Using GitHub Actions and Anka Build
The Anka VM GitHub Action provides a quick way to integrate Anka with GitHub Actions. The plugin helps your self-hosted GitHub runners prepare Anka VM instances for building, testing, and more. Keep in mind that it works differently than our other plugins or integrations for Anka Build Cloud. It will not start VM instances using your Anka Build Cloud Controller and instead connect directly to an unused Node to prepare the VM and execute commands.
VM Template & Tag Requirements
- There are no current requirements
Install and Configure GitHub Self-Hosted Runners
Setup a runner per VM you wish to run. So, for example, if you’re planning on running a maximum of two VMs on your node, you’d need two self-hosted runners.
- Once you’ve confirmed that you can see the runner as Idle in GitHub, it’s ready to start processing jobs.
Pipeline Step Definition
An example workflow .yml can be found in the Anka VM GitHub Action README.