-
Notifications
You must be signed in to change notification settings - Fork 32
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
Adapt Kitchen tests so docker images get deleted when destroying - wazuh-puppet #628
Comments
Hi all! We added the corresponding changes, and these are described as follows. Dockerfile changes
.
.
gem install kitchen-docker -v 2.9.0 \
--no-document \
--quiet && \
gem install kitchen-puppet \
--no-document \
--quiet && \
We enabled the docker images removal when running driver:
name: docker
use_sudo: false
use_internal_docker_network: true
remove_images: true ## newly added Successful Images Removal Log
Complete Log
Kr, Rshad |
Hi all!
As we detected the failure for
kitchen-docker
when destroying the docker instances, docker images are not deleted. We commented on this issue in test-kitchen/kitchen-docker#360 and we provided a solution in test-kitchen/kitchen-docker#361, but still not merged inkitchen-docker
repository yet.These changes we want to apply to the tests of
wazuh-puppet
were already added towazuh-chef
Dockerfile.Tasks
kitchen-docker
gem folder by our custom one.Working branch
Kr,
Rshad
The text was updated successfully, but these errors were encountered: