Description of problem: No context-dir info saved into buildconfig when create app with context-dir using new-app cmd Version-Release number of selected component (if applicable): oc v1.0.7-73-g1605f20 kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 How reproducible: always Steps to Reproduce: 1.Create an app with context-dir info $oc new-app perl~https://github.com/openshift/sti-perl.git --context-dir=5.16/test/sample-test-app/ --env=PERL_APACHE2_RELOAD=true 2.Check buildconfig 3. Actual results: $ oc get bc -o yaml apiVersion: v1 items: - apiVersion: v1 kind: BuildConfig metadata: annotations: openshift.io/generated-by: OpenShiftNewApp creationTimestamp: 2015-11-05T06:00:21Z labels: app: sti-perl name: sti-perl namespace: <namespace> resourceVersion: "13948" selfLink: /oapi/v1/namespaces/<namespace>/buildconfigs/sti-perl uid: 7fac22b9-8382-11e5-ab24-fa163e7cb4d6 spec: output: to: kind: ImageStreamTag name: sti-perl:latest resources: {} source: git: uri: https://github.com/openshift/sti-perl.git type: Git strategy: sourceStrategy: from: kind: ImageStreamTag name: perl:latest namespace: openshift type: Source triggers: - github: secret: ZT4PlQML9KRRD0agm4Bg type: GitHub - generic: secret: NKcFeLCVcKXAhUyWJ6eK type: Generic - type: ConfigChange - imageChange: lastTriggeredImageID: <perl image> type: ImageChange status: lastVersion: 1 kind: List metadata: {} Expected results: Should save context-dir into buildconfig Additional info:
When use below cmd(no '~' between image and source repo),contextDir info will be saved into buildconfig. ‘oc new-app perl https://github.com/openshift/sti-perl.git --context-dir=5.16/test/sample-test-app/ --env=PERL_APACHE2_RELOAD=true’
Is this not a regression?
It is
Sorry, forget to add keyword regression.
This iusse has fixed in devenv_rhel7_2898, could you help to change bug status to on_qa? oc v1.1-366-g9db1116 kubernetes v1.1.0-origin-1107-g4c8e6f4 Thanks!
As the comment #5,move the bug to verified. @Cesar , thanks!