boxen / our-boxen

Copy me for your team.
https://github.com/boxen/our-boxen/
MIT License
2.58k stars 882 forks source link

Test Boxen with Beaker #713

Closed petems closed 7 years ago

petems commented 9 years ago

So Virtualbox has made a lot of strides with OSX host support and @AndrewDryga made an easy to use Mavericks image: https://github.com/AndrewDryga/vagrant-box-osx-mavericks

I've got a proof of concept acceptance test working with manual intervention, but with a bit of work I can get it automated with beaker

This is kinda related to https://github.com/boxen/our-boxen/issues/401, but TravisCI seems way too hard to set this up. Probably easier to run on an OSX machine with Vagrant.

petems commented 9 years ago

Here's some notes I'm making along the way:

https://gist.github.com/petems/74456ea4bc6bcbe0903f

AndrewDryga commented 9 years ago

I can try to update that image to latest version, also I can reduce box size and there is one known bug (happens sometimes) that I can fix in .box file. Do you need it? :)

petems commented 9 years ago

@AndrewDryga that would be fantastic!

I was just doing the following on the vagrant box now for repackaging:

If you could do that and host it somewhere you would be a :star: and I would owe you :beers: :smile:

AndrewDryga commented 9 years ago

@petems sorry for delay, I don't have enough time lately but I didn't forget about this task

petems commented 9 years ago

No problem, there's no rush :+1:

AndrewDryga commented 9 years ago

@petems I can agree license for you, but good thing is to use

sudo xcrun cc

to agree it in CLI mode

AndrewDryga commented 9 years ago

@petems which one keychain do you want to unlock? Login? I've tryed to make it unlocked by-default, but can't give promises because Mac OS being too unpredictable with keychains :)

AndrewDryga commented 9 years ago

@petems everything is done. Check it out: https://github.com/AndrewDryga/vagrant-box-osx

petems commented 9 years ago

@AndrewDryga awesome! :+1:

petems commented 9 years ago

https://github.com/boxen/our-boxen/pull/720

pelegb commented 8 years ago

Hi, Will you support Travis or CircleCI? Thanks

jacobbednarz commented 8 years ago

@pelegb I haven't been involved in the above testing but my preference is via Travis CI because that is where most of the puppet stuff is also run so it would be good to use the one provider. I've got this on my to-do list to look into since Travis CI does have OSX images able to run tests on but I'll open other issues or pull requests when I get around to it.

jacobbednarz commented 7 years ago

Closing due to this issue being stale. If you can still reproduce or would like to continue this discussion, please let me know and I'll reopen this.

There are plans for a better testing suite in the future so I'll reference this (and other PR's) as it comes up.