Separate Docker configuration from this repository #105
Labels
breaking change
This issue or pull request involves changes to existing functionality
improvement
This issue or pull request will add new or improve existing functionality
💡 Summary
We should migrate the Docker composition elements (
docker-compose.yml
and thedocker-compose.*.yml
files) to cisagov/ansible-role-cyhy-mailer. We should also break out the Dockerfile into acisagov/cyhy-mailer-docker
project and thus fully remove the Docker configuration from this repository.Motivation and context
In other projects such as cisagov/ansible-role-vdp-scanner, cisagov/ansible-role-code-gov-update, and others we store the Docker composition files that are needed for actual deployment in the Ansible roles that are used to set up for deployment. Currently cisagov/ansible-role-cyhy-mailer pulls down this entire repository just to get those files.
Breaking out the Docker configuration itself would both better align this repository with our development standard and make it easier to create reproducible builds and automate Docker image creation. Currently Docker images for this repository are manually created on a developer's local machine and pushed to Docker Hub. This will ensure that the Dockerfile is both aligned with our current development practices for Docker projects and also that builds are reproducible, multi-platform, and less susceptible to human error. As a side benefit we would also be setting this repository up to be skeletonized based on cisagov/skeleton-python-library.
Acceptance criteria
How do we know when this work is done?
cisagov/cyhy-mailer-docker
project.The text was updated successfully, but these errors were encountered: