Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-6843

oc new-app docs mention only two strategies and show a third

XMLWordPrintable

    • Informational
    • None
    • 1
    • OSDOCS Sprint 232
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Per https://docs.openshift.com/container-platform/4.12/applications/creating_applications/creating-applications-using-cli.html#build-strategy-detection
      
      oc new-app discusses the use of pipeline or source and uses docker in the example. However, there is only one reference to the --strategy=docker in an example.
      
      There are three strategies - docker, source, pipeline.

      Version-Release number of selected component (if applicable):

      4.8 to 4.12

      How reproducible:

      Every time (docs related)

      Steps to Reproduce:

      1. Navigate to https://docs.openshift.com/container-platform/4.12/applications/creating_applications/creating-applications-using-cli.html#build-strategy-detection 
      2. You'll see the strategies listed pipeline or source.
      

      Actual results:

      Expected results:

      Three listed, and a mention that pipeline is deprecated https://github.com/openshift/oc/blob/master/pkg/cli/newapp/newapp.go#L289
      
      And perhaps some earlier narrative text is updated to indicate the preferred use.

      Additional info:

      Reported via Partner Engineer Chandra Bade

              rhn-support-ahoffer Andrea Hoffer
              pbastide_rh Paul Bastide
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: