-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add docker-compose-plugin package for Debian #60
Conversation
428c517
to
5dd3d1d
Compare
The versioning of the docker compose plugin is different than that of the docker-compose Python package. The assessors require a version >=2.2.3, which forces the installation of docker-compose-plugin package. Also update the Molecule test code in accordance with these changes, and refactor the code to be more understandable and more in line with the way we have been writing such tests lately.
5dd3d1d
to
e49ae2e
Compare
I'm open to removing |
I'm fine with that because Docker has made it pretty clear that |
Duh. I was rushing to wrap this up and committed some nonsense. Thanks to @mcdonnnj for cleaning up after me. Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
I see nothing breaking. |
This change will be reverted once cisagov/ansible-role-docker#60 is approved and merged.
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.
I believe these should be removed to resolve tests failing after your latest commit (and in concert with your refactor of how the testing is done).
…lled The latter is the new and preferred way of working with Docker compositions, if available.
fa8e66c
to
3e4d6ac
Compare
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
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.
Looking good! One small suggestion from me but otherwise
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
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.
👍 Though please consider my one comment request.
…cker-compose-plugin Co-authored-by: dav3r <david.redmin@trio.dhs.gov>
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
Docker has moved to a compose plugin for the docker command instead of the standalone docker-compose package. As of cisagov/ansible-role-docker#60 this newer syntax is required.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
Docker has moved to a compose plugin for the docker command instead of the standalone docker-compose package. As of cisagov/ansible-role-docker#60 this newer syntax is required.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
The "docker compose" syntax is the preferred (and only correct) syntax after the changes in cisagov/ansible-role-docker#60.
🗣 Description
This pull request adds the
docker-compose-plugin
package for Debian instances.💭 Motivation and context
The assessors require
docker compose
version 2.2.3 or later. Thedocker-compose
package currently supports a1.x
version, while thedocker-compose-plugin
package supports a2.x
version; therefore, the assessors' needs dictate that we install thedocker-compose-plugin
package.The difference between the two Debian packages is that
docker-compose
provides adocker-compose
command, while thedocker-compose-plugin
package providesdocker compose
functionality to thedocker
command.🧪 Testing
All automated tests pass. These changes were also tested successfully via the manual testing done in cisagov/docker-packer#41.
✅ Pre-approval checklist