Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-2684

Add a `version.txt` file for must-gather

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • 2
    • False
    • None
    • False
    • GITOPS Sprint 232

      Story (Required)

      In order to contribute a custom must-gather, the must-gather has to "produce a text `/must-gather/version` that indicates the product (first line) and the version (second line, `major.minor.micro.qualifier`), so that programmatic analysis can be developed"

      See: https://github.com/openshift/enhancements/blob/a5841f75dbc9afbab22e5baa8d2f1ff2f43e2df7/enhancements/oc/must-gather.md?plain=1#L88

      Background (Required)

      This is a requirement of all custom must-gathers

      Approach (Required)

      Add a command to the gather_gitops.sh script that will produce a file with something similar to the following format: 

      Red Hat OpenShift GitOps
      1.7.2 

      Dependencies

      None

      Acceptance Criteria (Mandatory)

      • Make a PR to the gitops must-gather and merge it 

      INVEST Checklist

      Dependencies identified

      Blockers noted and expected delivery timelines set

      Design is implementable

      Acceptance criteria agreed upon

      Story estimated

      Legend

      Unknown

      Verified

      Unsatisfied

      Done Checklist

      • Code is completed, reviewed, documented and checked in
      • Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
      • Continuous Delivery pipeline(s) is able to proceed with new code included
      • Customer facing documentation, API docs etc. are produced/updated, reviewed and published
      • Acceptance criteria are met

              rescott1 Regina Scott (Inactive)
              rescott1 Regina Scott (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: