- Dockerfile
- packer.json
- docs/
- ...
- src/
- ...
- readme.md
- serverspec.rb
Dockerfile
is optional. Packer can build Docker images without a Dockerfile.
Application sourcecode is in the src
directory.
- New version number is designated (using semver)
- Compile (if necessary)
- Lint (if necessary)
- Static Analysis (if necessary)
- Unit tests
When build steps complete, there is a build artifact stored in a central location.
- Packer is run on the
packer.json
file - The
packer.json
file references the latest successful build artifact
When release steps complete there should be
- An immutable machine image for Amazon
- An immutable machine image for VMWare
- A machine image for Vagrant
- A Docker image
- Locally, launch the Vagrant image or the Docker image
- In Amazon, use the AMI
- In VMware, use the VMWare image