saltstack-formulas / workinggroup

1 stars 2 forks source link

[`saltstack/salt-bootstrap`] Add CI testing for macOS using Kitchen's `exec` driver #85

Closed myii closed 2 years ago

myii commented 2 years ago

The idea for providing this has been knocking around for some time, ever since proving Vagrant-based testing on the GitHub Actions macOS runners. One of the ideas also involved using macOS Vagrant boxes but that doesn't appear to work without macOS hardware.

This idea started up again when asking a question in the Slack #macos channel:

After discussing further with @dafyddj, he pointed out that Kitchen has an exec runner available, which could be used instead:

This proved to be a decent way forward and I was able to provide a PR to the salt-bootstrap repo, which was merged:


Note, initial testing for enabling this across formulas hasn't worked out so well so far -- looks like the formulas will need to be improved somewhat to get the states and tests passing.