-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store Docker Compose files in the role #38
base: develop
Are you sure you want to change the base?
Conversation
Currently we pull down the entire cisagov/cyhy-mailer repository contents just to get these Docker Compose files. It makes more sense to store them in the role as they represent a specific deployment of the tool.
This matches the way we test files and fixes the name of the test to correctly reference what is being tested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works for me. 👍 👍
I'm thinking we should add an issue to this repo to make it less specific to our particular implementation. I am talking about setting default values for paths and email addresses in the compose files that we can override when we call this role from cyhy_amis.
Also, can you please add a post-merge task for yourself to update the "About" section of this repo (on https://github.com/cisagov/ansible-role-cyhy-mailer) to reflect the changes from this PR (i.e. similar to the verbiage changes you made in the README).
I mean if we separate cisagov/cyhy-mailer into just the Python in that repo and then a |
My thinking is that if we can make |
I guess I was thinking we don't do that (currently) with any similar Ansible roles. If we wanted to do it comprehensively I suppose that might be valuable, but the fact that we have |
Yes, I think that is an excellent path forward. 👍 👍 |
🗣 Description
This pull request moves the Docker Compose files currently stored in cisagov/cyhy-mailer into the role. These are then copied directly instead of downloading the entire cisagov/cyhy-mailer repository contents just for these files.
💭 Motivation and context
Since all we need from the cisagov/cyhy-mailer repository is these files it makes sense to store them here. This will also put the cisagov/cyhy-mailer repository in a better place to be reorganized and skeletonized appropriately to modernize.
🧪 Testing
Automated tests pass.
✅ Pre-approval checklist
to reflect the changes in this PR.
✅ Post-merge checklist