puppetlabs / puppet_litmus

Providing a simple command line tool for puppet content creators, to enable simple and complex test deployments.
Apache License 2.0
88 stars 55 forks source link

use dockercli specinfra backend for docker_nodes #559

Closed h0tw1r3 closed 2 months ago

h0tw1r3 commented 2 months ago

This fixes running Serverspec tests against nodes created by the docker_exp provision task. Unlike the docker bolt transport, the Serverspec docker backend uses the docker API. Unfortunately it lacks support for modern docker contexts (notably ssh).

_Only applies to nodes created with the dockerexp provision task

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.95%. Comparing base (43df54f) to head (d3b57c0).

:exclamation: Current head d3b57c0 differs from pull request most recent head ac973d1. Consider uploading reports for the commit ac973d1 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #559 +/- ## ======================================= Coverage 63.95% 63.95% ======================================= Files 6 6 Lines 763 763 ======================================= Hits 488 488 Misses 275 275 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.