Uploaded image for project: 'Puppet Development Kit (moved to puppet.atlassian.net)'
  1. Puppet Development Kit (moved to puppet.atlassian.net)
  2. PDK-1414

PDK does not recognize common CI environments as non-interactive

    XMLWordPrintable

Details

      • 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

          Activity

            People

              glenn.sarti Glenn Sarti
              jesse Jesse Scott
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support