buildkite/buildkite-anka-example

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

Homepage:

Size: 98

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Buildkite Veertu Anka Example

Add to Buildkite

An example of running Xcode 8.3 unit, performance and UI tests using xcodebuild in an Anka virtual machine via Buildkite.

Requirements

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.

Veertu Anka

You will need to install the Anka virtualization tool. I used Anka Build (Beta) version 1.0.1 (build 72) for this demo.

Base Images

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.

Buildkite-Agent on your Host Machine

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.

License

See the LICENSE file for license rights and limitations (MIT).


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.