All Projects → buildkite → anka-packer-images

buildkite / anka-packer-images

Licence: other
Packer scripts for building MacOS images for Anka

Programming Languages

shell
77523 projects
Makefile
30231 projects

Packer scripts for use with Veertu Anka

This provides a basic MacOS + Xcode for automated testing of macOS/iOS.

This script requires Veertu Anka installed and our packer builder.

There are two stages of images, which can be thought of like layers. This allows for reasonably rapid iteration on the scripts, as working stages can be re-used.

Get Started

Checkout this repository to a directory:

git clone [email protected]:buildkite/anka-packer-images.git
cd anka-packer-images/
make macos-10.12
make macos-xcode-10.12 source_vm=macos-base-10.12-r1

Phase 1: Basic MacOS

The base layer is essentially macOS as the Veertu Anka leaves it post-install, with the following things added:

  • Homebrew
  • XCode Developer Tools
  • Rbenv and plugins
  • Ruby 2.4.0

It builds images in the form: macos-base-X.X-rX

make macos-10.12

Phase 2: XCode and Dashlane

The base layer is the slowest layer, as it downloads and installs Xcode. It contains the following:

  • Xcode (defaults to 8.3.3)
  • Fastlane
  • Carthage
  • Swiftlint
  • CocoaPods

It builds images in the form: macos-X.X-xcode-X.X.X-rX.

make macos-10.12-xcode xcode_version=8.3.3 source_vm={image_name_from_previous_step}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].