Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-1414

PDK does not recognize common CI environments as non-interactive

    Details

    • Template:
    • Acceptance Criteria:
      • PDK treats always treats common CI environments as non-interactive
    • Team:
      Puppet Developer Experience
    • Method Found:
      Customer Feedback
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      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.
    • QA Risk Assessment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support