Skip to content
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 molecule driver #22

Merged
merged 3 commits into from
Mar 9, 2022
Merged

Conversation

ziegenberg
Copy link
Contributor

@ziegenberg ziegenberg commented Mar 1, 2022

As this image is superseding the ansible toolset image, it should aim at feature parity with its precursor.

This change adds the molecule docker driver, and its necessary dependencies. This also includes the community.docker ansible collection, as written in the molecule-docker README.

Partly fixes: #20

@ziegenberg
Copy link
Contributor Author

hi @ssbarnea!

Could you approve running the ci workflow?

@ssbarnea ssbarnea added the enhancement New feature or request label Mar 1, 2022
_build/requirements.txt Outdated Show resolved Hide resolved
As this image is superseding the ansible toolset image, it should aim at
feature parity with its precursor.

This change adds the molecule docker driver, and its necessary
dependencies. This also includes the community.docker ansible
collection, as written in the molecule-docker README.

See: ansible#20

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
@ziegenberg
Copy link
Contributor Author

I think I made a small mistake. molecule-docker should be a bit more relaxed on the version and be set to molecule-docker>=1.1.0. Same applies to podman.

@ssbarnea ssbarnea merged commit d9055c7 into ansible:main Mar 9, 2022
@ziegenberg ziegenberg deleted the add-docker-driver branch March 10, 2022 12:10
ziegenberg added a commit to ziegenberg/creator-ee that referenced this pull request Mar 16, 2022
In ansible#22 and ansible#23 the podman and docker molecule drivers were added
but the respective binaries are still missing.
This commit adds the neccesarry dependencies to the execution
enviroments bindep.txt.

This commit also adds some cli commands to check we do not remove
them inadvertantly and output some helpful version information at
build time.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ziegenberg added a commit to ziegenberg/creator-ee that referenced this pull request Mar 16, 2022
In ansible#22 and ansible#23 the podman and docker molecule drivers were added,
but the respective binaries are still missing.

This commit adds the necesarry dependencies to the execution
enviroments bindep.txt.

This commit also adds some CLI commands to check we do not remove
them inadvertently and output some helpful version information at
build time.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ziegenberg added a commit to ziegenberg/creator-ee that referenced this pull request Mar 16, 2022
In ansible#22 and ansible#23 the podman and docker molecule drivers were added,
but the respective binaries are still missing.

This commit adds the necesarry dependencies to the execution
enviroments bindep.txt.

This commit also adds some CLI commands to check we do not remove
them inadvertently and output some helpful version information at
build time.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ziegenberg added a commit to ziegenberg/creator-ee that referenced this pull request Mar 16, 2022
In ansible#22 and ansible#23 the podman and docker molecule drivers were added,
but the respective binaries are still missing.

This commit adds the necesarry dependencies to the execution
enviroments bindep.txt.

This commit also adds some CLI commands to check we do not remove
them inadvertently and output some helpful version information at
build time.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ziegenberg added a commit to ziegenberg/creator-ee that referenced this pull request Mar 17, 2022
In ansible#22 and ansible#23 the podman and docker molecule drivers were added,
but the respective binaries are still missing.

This commit adds the necesarry dependencies to the execution
enviroments bindep.txt.

This commit also adds some CLI commands to check we do not remove
them inadvertently and output some helpful version information at
build time.

There is also a workaround to make installing podman and docker
simultaneously possible. This is due to a conflict between the
packaged version of runc in the containerd.io package from Docker
and the CentOS 8 Stream native version packaged for Podman and Skopeo.
This can be changed once docker/containerd-packaging#231
is merged and available upstream via the Docker repository.
Cudos for the workaround:
https://faun.pub/how-to-install-simultaneously-docker-and-podman-on-rhel-8-centos-8-cb67412f321e

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ziegenberg added a commit to ziegenberg/creator-ee that referenced this pull request Mar 17, 2022
In ansible#22 and ansible#23 the podman and docker molecule drivers were added,
but the respective binaries are still missing.

This commit adds the necesarry dependencies to the execution
enviroments bindep.txt.

This commit also adds some CLI commands to check we do not remove
them inadvertently and output some helpful version information at
build time.

There is also a workaround to make installing podman and docker
simultaneously possible. This is due to a conflict between the
packaged version of runc in the containerd.io package from Docker
and the CentOS 8 Stream native version packaged for Podman and Skopeo.
This can be changed once docker/containerd-packaging#231
is merged and available upstream via the Docker repository.
Cudos for the workaround:
https://faun.pub/how-to-install-simultaneously-docker-and-podman-on-rhel-8-centos-8-cb67412f321e

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional molecule drivers?
2 participants