Bug 1669974
| Summary: | should have the default value 'Context Dir' for the application source code | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | shahan <hasha> |
| Component: | Management Console | Assignee: | ralpert |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.0 | CC: | aos-bugs, hasha, jokerman, mmccomas, spadgett |
| Target Milestone: | --- | ||
| Target Release: | 4.1.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: | 2019-02-04 15:27:03 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
shahan
2019-01-28 09:26:01 UTC
(In reply to shahan from comment #0) > Steps to Reproduce: > 1. goto Catalog->Developer Catalog, click '.NET core', then create > application Did you click the try sample link or did you paste in the URL? yes, I clicked the try sample link and hit this error. We should be handling context dir for sample repositories here: https://github.com/openshift/console/blob/123a010276007681f1d4d175f86b5ab14c8880f2/frontend/public/components/source-to-image.tsx#L148-L157 We'll need to debug to find out why it's not working. Create '.NET core' application successfully via console.
$oc get build dotnet-1 -n hasha-pro1 -o yaml |grep 'source:' -A 5
source:
contextDir: app
git:
ref: dotnetcore-2.1
uri: https://github.com/redhat-developer/s2i-dotnetcore-ex.git
type: Git
console commit: af38affc1ff1e86188a19dcd52157c4d76707cdc
verified this bug.
|