Bug 1998408 - Git import flow: Dockerfile is detected but file name is not used
Summary: Git import flow: Dockerfile is detected but file name is not used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.0
Assignee: Mohammed Saud
QA Contact: Debsmita Santra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-27 05:36 UTC by Mohammed Saud
Modified: 2021-10-18 17:49 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:49:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9895 0 None None None 2021-08-27 05:37:10 UTC
Github openshift console pull 9917 0 None None None 2021-08-30 12:19:31 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:49:35 UTC

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


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