Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-172

Ability to filter reports by version (config_version)

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 2.1.0
    • Component/s: None
    • Labels:

      Description

      For those of us who use config_version to represent the commit ref of out current modules (git, or svn version, or whatever), it would be really useful to be able to query reports based on the "version". i.e. ["=", "version", "<git hash here>"]. For my current use, for a given version of our repository to be promoted to production, it needs to have had successful (non-failure) runs in our test environment.

      Rather than have to iterate over every report for the test environment, check success, and check the commit hash, with the combination of this ticket at feature #21558, I could simply query for '["and", ["=", "version", "<git hash>"], ["=", "is_success", "true"]]' and make sure every node in the environment has a report present.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                redmine.exporter redmine.exporter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: