puppetlabs / pupperware

Container fun time lives here.
Other
183 stars 67 forks source link

(PE-32949) Explicitly run test cert gen script via `/bin/sh` #268

Closed Magisus closed 3 years ago

Magisus commented 3 years ago

We have a script that is used the in pe-puppet-server-extensions container tests to generate certs for specific certs names. It is run in an ephemeral container, based on the alpine/openssl image. When the script was updated to run under bash, the helper to run it in the temp container broke, because bash is not available in alpine. This commit updates that docker invocation to explicitly run the script in sh.

Magisus commented 3 years ago

Tested this successfully via https://github.com/puppetlabs/pe-puppet-server-extensions/pull/1372

Magisus commented 3 years ago

See https://github.com/puppetlabs/pupperware/commit/a4a39a9475e57d814ab410301ea46369edf28293 for the commit that broke these tests.