Bug 1999627 - Import from git flow doesn't recommend build image when a Dockerfile exists
Summary: Import from git flow doesn't recommend build image when a Dockerfile exists
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.9.0
Assignee: divgupta
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-31 13:03 UTC by divgupta
Modified: 2021-10-18 17:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:50:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9927 0 None None None 2021-08-31 13:04:37 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:50:38 UTC

Description divgupta 2021-08-31 13:03:46 UTC
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).

How reproducible: Always

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")

Comment 3 Vikram Raj 2021-09-08 15:49:40 UTC
Verified it on 4.9.0-0.nightly-2021-09-07-201519. And it works as expected.

Comment 6 errata-xmlrpc 2021-10-18 17:50:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759


Note You need to log in before you can comment on or make changes to this bug.