Closed
Description
here is my git env
✔ /tmp/kompose [:24e53f2|…6]
08:28 $ git log | head
commit 24e53f20abca2e3fb8e8a31ade3ba8f0ca73df4a
Author: Anush Shetty <ashetty@redhat.com>
Date: Wed Mar 1 16:07:21 2017 +0530
Adding OpenShift functional tests for kompose up/down
* This PR adds functional tests for kompose up/down. The test scripts
are hosted under script/test_in_openshift. The directory structure,
as follows:
✔ /tmp/kompose [:24e53f2|…6]
08:28 $ git branch
* (HEAD detached at anush/openshift_up_down_test)
master
✔ /tmp/kompose [:24e53f2|…6]
08:28 $
kompose generates wrong buildconfig for openshift in git repo that is detached
$ kompose convert -f examples/buildconfig/docker-compose.yml --provider openshift --stdout | grep git
INFO Buildconfig using https://github.com/kubernetes-incubator/kompose/.git::HEAD as source.
git:
uri: https://github.com/kubernetes-incubator/kompose/.git