Name: buildkite-anka-example
Owner: Buildkite
Description: An example of running builds in an Anka VM
Created: 2017-09-28 02:02:38.0
Updated: 2017-10-26 13:44:12.0
Pushed: 2017-09-29 01:48:53.0
Size: 98
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An example of running Xcode 8.3 unit, performance and UI tests using xcodebuild
in an Anka virtual machine via Buildkite.
This takes a bit of setup. I'm using a Mac Pro at Macstadium, but you could just as easily use any Mac that you have available.
You will need to install the Anka virtualization tool. I used Anka Build (Beta) version 1.0.1 (build 72) for this demo.
Like Docker, Anka uses images to run. You can either prepare your own base image with a recent macOS and XCode, or you can use the Packer templates that we've built.
You will need buildkite-agent
installed on the same machine that you installed Anka on. It receives the builds and manages the Anka containers.
If you want to run parallel jobs, you can run several agents on the same host, or fan out across several hosts.
You will want to start the agent with a specific tag, such as queue=ankahost
or similar, so that you can target jobs specifically at it.
See the LICENSE file for license rights and limitations (MIT).