Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-6285

Import from git flow doesn't recommend build image when a Dockerfile exists

XMLWordPrintable

    • False
    • False
    • 0
    • undefined
    • Not Supported
    • ODC Sprint 206, ODC Sprint 207
    • Low

      Description of problem:

      When the user imports an application from git, the new git import flow recommends automatically the Dockerfile flow also if the application contains a well known builder image format. That's fine!

      But when the user selects "Edit Import Strategy" and switches to "Builder Image" it would be cool to recommend an image if the information is available (which works fine earlier).

      Prerequisites (if any, like setup, operators/versions):

      None

      Steps to Reproduce

      1. Open developer console > Add page > Import from Git
      2. Enter a git URL which has a Dockerfile and where the builder image is known (for example contains a package.json for node.js). For example: https://github.com/jerolimov/nodeinfo
      3. The validation should pass and the form recommends "Dockerfile" as import strategy.
      4. Select "Edit Import Strategy" and switches to "Builder Image"

      Actual results:

      No builder image is preselected

      Expected results:

      The right builder image should be preslected (for the repo above "Node.js")

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      4.9 master (tested with ad08900293cbb8ff5814fde94234e7e491210730)

      Additional info:

      None

              divgupta Divyanshi Gupta
              cjerolim Christoph Jerolimov
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: