ansible-community / molecule-docker

🚧 Assimilated into molecule-plugins
https://github.com/ansible-community/molecule-plugins
MIT License
77 stars 39 forks source link

Fix to support logging into a Windows Container #40

Closed tmeckel closed 3 years ago

tmeckel commented 3 years ago

This PR contains a small addition to driver.pyto be able to login into a Windows Container.

Related to: https://github.com/ansible-collections/community.docker/pull/96

tmeckel commented 3 years ago

@ssbarnea as @chrisjsewell I'm wondering about the errors in the pipeline and ask, if the tests are just broken.

ssbarnea commented 3 years ago

I am sure somethings are broken on CI and I hope someone will attempt to fix them. I am unable to do it myself but I will help with review and release. It is not uncommon to have to fix 2-3 other issues before you make you patch mergeable on open-source projects. :p ... not ideal, but the sad reality.

tmeckel commented 3 years ago

@ssbarnea Issue is that I even can't run tox locally in the master branch with success.

On issue that I spotted easily was the fact that the repo does not contain a docs folder so that the tox tests testenv:docs and testenv:docs-livereload fail. So I removed those test from tox.ini for testing.

tmeckel commented 3 years ago

@ssbarnea The tox tests pass on my machine (except the ones for python 3.7, 3.8, 3.9 because I don't have those versions installed) but the pipeline is failed with the following error:

image

So I suspect Ansible isn't correctly installed in the CI pipeline.

Although it should be installed according to the pipeline definition

image

ssbarnea commented 3 years ago

I will close it as until https://github.com/ansible-collections/community.docker/pull/96 is merged and released we cannot do anything about it.