Closed garrettr closed 7 years ago
Definitely in favor of ditching the VM/vagrant dev environment, but would prefer a Molecule-based testing strategy for managing the containers, since it integrates cleanly with Ansible and would provide more similarity between dev and prod.
dev
scenario.
Secure the News currently uses a Vagrant-based development environment. This is less than ideal for a number of reasons:
vagrant destroy -f && vagrant up
(to test configuration changes from scratch) is slow, clocking in at 9m15s on my workstation. A lot of this slow-down is due to re-running slow commands (likeapt-get install
) in the Ansible provisioner. It's my understanding that this kind of repeated task gets optimized in Docker thanks to their layered filesystem approach.In the long term, FPF is interested in experimenting with moving to container-based infrastructure for several of our current projects, so Secure the News seems like a good testbed for exploring our options and learning the ropes.