Closed chrisleicester closed 3 years ago
@genebean I tested the image built from this code ^ and it doesn't work. The images have to get pulled down anyways.
We theorize that either:
I'm not exactly sure whats happening. Feel free to dig in tomorrow and I'll ping you when I get in.
Prior to this change, if a customer built a module with PDK 1x, and attempted to use the puppet-dev-tools image in an airgapped environment, the test would fail because PDK would attempt to pull down dependencies of the historic version of PDK.
With this change, we brute-force the PDK 1x dependencies into the puppet-dev-tools image by installing the old version of PDK, creating a module, and running
pdk validate
andpdk test unit
against it. We then clean up the test module, and continue to install the most recent PDK.