Run docker workloads in macOS VMs on Anka Build – DevOps Uploaded

There is “Lunchable,” and then there is “Lunchable Uploaded”. Today, we are announcing nested beta support in Anka Build platform to run Docker workloads in macOS VMs. It takes DevOps up a notch for macOS ecosystem. So, why nested support in Anka? Nested for everyone who is familiar with virtualization, means to run a hypervisor inside of a virtual machine. In Anka Platform, this means that you can run docker workloads(container) in Anka macOS VMs. Docker on macOS uses xhyve virtualization and now, with nested support you can run xhyve hypervisor inside Anka macOS VMs.

In the past few months, we have received a lot of user feedback on use cases to build macOS CI infrastructure which can also support nested workloads on macOS, in addition to the traditional iOS app and macOS app CI. We think of nested support as providing infrastructure to build and test infrastructure for macOS (think Russian nesting dolls).

So, everyone who is building apps for macOS which uses a hypervisor layer in their application stack can now configure a private macOS cloud for CI and provision on-demand macOS environments for build and tests. Example, folks at Docker might find this interesting to build CI infrastructure for their Docker macOS client, security software macOS clients who use a virtualization layer in their stack could use this to configure CI infrastructure and probably many more use cases.



We would love to learn and engage with all of you who want to look at this beta feature. Send us an email at info@veertu.com, tweet us (@veertu_labs) or connect with us on slack.

iOS simulator tests in macOS VMs – XCUITest simulator tests on Anka Build macOS Cloud

There is some confusion about the feasibility of executing iOS simulator based UI testing in macOS VMs. Anka macOS VMs provide pretty much all capabilities of macOS running on hardware to set up a scalable, agile CI infrastructure for building and testing iOS applications. Since iOS simulator uses software-based rendering for graphics, it can run and execute all UI and non-UI based testing inside Anka VMs.

We have detailed steps to set up and run iOS builds and tests in Anka Build macOS cloud our blogs. Here is a quick summary of these steps – Setup Anka Build on a cluster of mac build machines, bootstrap your test Anka VM template with all relevant test framework dependencies, push this VM template to the Anka Registry and integrate Anka Build Controller to communicate with your CI tool.

When you execute iOS simulator test jobs in your CI tool, the job will automatically provision multiple isolated, concurrent macOS VMs from the uploaded VM template and execute UI test jobs. The VMS can be configured to be deleted after the job or kept alive for troubleshooting purposes. Every execution of the UI test job provisions new VMs, hence there is no leakage of any environment variables or dependencies and the UI tests run in a predictable manner.

View a demo of XCUITest execution in dynamically provisioned concurrent Anka Build VMs – https://youtu.be/wivotJuku24