Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1998408

Summary: Git import flow: Dockerfile is detected but file name is not used
Product: OpenShift Container Platform Reporter: Mohammed Saud <msaud>
Component: Dev ConsoleAssignee: Mohammed Saud <msaud>
Status: CLOSED ERRATA QA Contact: Debsmita Santra <dsantra>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.9CC: aos-bugs, dsantra, nmukherj, sbudhwar
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:49:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mohammed Saud 2021-08-27 05:36:41 UTC
Description of problem:

For a git repo where dockerfile is present but does not use the default filename(Dockerfile), the dockerfile is detected but that file name is not used in the dockerfile input field, which leaves the create button disabled.

Prerequisites (if any, like setup, operators/versions):
Any repository which has a dockerfile not using the default name. For example: https://github.com/rottencandy/flask-dockerfile-example

Steps to Reproduce
    In git import flow, add the repo url
    Open the import strategy section

Actual results:

The field is filled with the default name "Dockerfile", which is incorrect.

Expected results:
The detected dockerfile's name should be filled.

Reproducibility (Always/Intermittent/Only Once):
Always

Build Details:
4.9.0-0.nightly-2021-08-25-231643

Comment 7 Debsmita Santra 2021-09-01 15:26:44 UTC
verified on 4.9.0-0.nightly-2021-08-31-123131

Comment 10 errata-xmlrpc 2021-10-18 17:49:21 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