Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PDK 1.10.0
-
None
-
- PDK treats always treats common CI environments as non-interactive
-
Puppet Developer Experience
-
Customer Feedback
-
Bug Fix
-
PDK will now use additional environment variables to detect common CI environments and treat those environments as "noninteractive", disabling prompts and complex user interface output.
-
Needs Assessment
Description
It appears that Travis CI (and likely other common CI environments) are doing tricks with their runtime environments that make PDK's normal ability to distinguish between "interactive" and "non-interactive" environments unreliable.
The immediate impact is that PDK 1.11.0 is prompting for analytics consent when running in Travis instead of skipping the prompt and assuming opt-out as it was designed to do.
PDK should check for commonly set environment variables to try to more reliably detect CI environments and treat them as "non-interactive".
Attachments
Issue Links
- relates to
-
PDK-1415 PDK analytics opt-out prompt is not bypassed by setting PDK_DISABLE_ANALYTICS
-
- Resolved
-