/packer-atlas-example

Automate building Vagrant Boxes with Packer in Atlas

Primary LanguageShellApache License 2.0Apache-2.0

packer-atlas-example

Circle CI | Atlas Builds | Atlas Vagrant Boxes

This is an example to build a Vagrant Box with Packer in Atlas. See more details in my blog post.

The automated build is triggered by a WebHook in GitHub to start a build in CircleCI that triggers a build in Atlas with packer push.

Packer template

See the ubuntu1404.json with the post-processors section with all details about deploying the Vagrant Box to Atlas.

circle.yml

See the circle.yml for details how the glue works. It just installs packer 0.8.1 and starts the packer push.

Acknowledgements

The Packer template and provision scripts are based on box-cutter/ubuntu-vm. Check out the more up to date version at github.com/boxcutter.