Commit Graph

328 Commits

Author SHA1 Message Date
Janet Kuo
9c03ae9cf4 Merge pull request #118 from janetkuo/remove-hostpath
Remove hostPath and print warnings
2016-08-23 22:19:04 -07:00
Janet Kuo
b4dc8d2846 Merge pull request #120 from janetkuo/architecture-md
Update architecture doc format
2016-08-23 11:07:18 -07:00
Janet Kuo
4d0960fea8 Merge pull request #119 from janetkuo/improve-err-message
Improve error message for invalid port
2016-08-23 11:07:08 -07:00
Tuna
c038b184f1 follow-up: update for openshift 2016-08-24 00:34:16 +07:00
Tuna
4f36dca026 fix #121: update all objects, even when port is missing 2016-08-24 00:07:38 +07:00
Tomas Kral
6cbdec444b Merge pull request #112 from kadel/libcompose-v0.3.0
update Libcompose to v0.3.0
2016-08-23 10:57:29 +02:00
Janet Kuo
3809b2b804 Update architecture doc format 2016-08-22 15:27:13 -07:00
Janet Kuo
332c5b2c35 Improve error message for invalid port 2016-08-22 14:26:23 -07:00
Janet Kuo
46594698db Remove hostPath and print warnings 2016-08-22 13:25:58 -07:00
Tomas Kral
b3017199b6
some items in libcompose ServiceConfig changed type 2016-08-22 10:51:38 +02:00
Tomas Kral
e341adce0e
bump(github.com/docker/libcompose) v0.3.0 2016-08-22 10:51:22 +02:00
Suraj Deshmukh
223b4f37fa Merge pull request #115 from surajssd/create-objects-func
Reuse creation of controller object code
2016-08-18 22:04:00 +05:30
Suraj Deshmukh
6ce3c92937 Reuse creation of controller object code
The repated controller creation code has been removed. And
aggregated it into a single function, that Kubernetes and OpenShift
providers' Transform code can call.
2016-08-18 14:18:12 +05:30
Suraj Deshmukh
d8c2b7cfd3 Merge pull request #114 from surajssd/remove-unused-svcnames
Removed unwanted svcnames list
2016-08-18 14:02:03 +05:30
Suraj Deshmukh
a03b6af50a Removed unwanted svcnames list
Transform function from both the providers has some unused
data structure so removed it.
2016-08-18 12:21:38 +05:30
Suraj Deshmukh
3e5ade4f6c Merge pull request #108 from surajssd/create-service
Create service function in kubernetes utils
2016-08-18 11:23:15 +05:30
Suraj Deshmukh
cc9531abaf Merge pull request #110 from surajssd/tests-check
Fix output comparison for cmd tests
2016-08-17 23:28:38 +05:30
Suraj Deshmukh
36aa6d8c3b Fix output comparison for cmd tests
Now check on true as comparison output, then PASS,
if anything else just fail on it. This avoids all the
false positives.
2016-08-17 22:09:15 +05:30
Suraj Deshmukh
163a06df27 Create service function in kubernetes utils
This function can be used in both openshift and kubernetes and all the logic
of creating service can be kept in this function.
2016-08-17 09:54:17 +05:30
Janet Kuo
e36f38446b Merge pull request #105 from janetkuo/convert-container-name-args
Support container name and args in kompose convert
2016-08-16 10:54:25 -07:00
Janet Kuo
950d5f6419 Merge pull request #106 from janetkuo/convert-unit-test-2
Add more unit tests for Transform
2016-08-16 10:53:52 -07:00
Janet Kuo
c18288a023 Add more unit tests for Transform 2016-08-16 10:43:44 -07:00
Suraj Deshmukh
08488f8fdc Merge pull request #107 from surajssd/port-checking
Abstracted port checking function
2016-08-16 16:13:31 +05:30
Suraj Deshmukh
c281bfdda8 Abstracted port checking function
To reduce the inconsistency of message printing created a
function which can be called from both kubernetes and openshift
2016-08-16 14:28:14 +05:30
Janet Kuo
4027fcdda6 Support container name and args in kompose convert 2016-08-15 10:53:15 -07:00
Janet Kuo
2fd923ce49 Merge pull request #104 from janetkuo/convert-unit-test
Add unit test for komposeConvert
2016-08-15 10:23:31 -07:00
Tuna
45c4829778 add architecture doc 2016-08-15 22:47:23 +07:00
Janet Kuo
14726f1a53 Add unit test for komposeConvert 2016-08-12 18:21:56 -07:00
Suraj Deshmukh
3fcfb71006 Merge pull request #101 from surajssd/update-tests
Update tests output files
2016-08-12 12:03:25 +05:30
Tuna
a5ce678b97 Merge pull request #91 from skippbox/loader-transfomer
loader-transformer
2016-08-12 13:08:30 +07:00
Suraj Deshmukh
b8ea2053e6 Update tests output files
With the recent changes in the output format as List,
updated tests as well so they validate on the new format of output.
2016-08-12 04:42:06 +00:00
Tuna
469b50c33d rebase master 2016-08-12 10:38:33 +07:00
Tuna
baedd92036 move k8s base functions into k8s package 2016-08-12 00:46:03 +07:00
Tuna
f10d6afecf make loader, transformer as interfaces 2016-08-11 23:33:45 +07:00
Tuna
d532b29d95 clean code 2016-08-11 23:31:20 +07:00
Tuna
e867d35e39 creat kobject package, make loader and transformer refering to it 2016-08-11 23:31:20 +07:00
Tuna
85b0b6a2b8 breaking app.go into loader and transformer, to be continue 2016-08-11 23:28:49 +07:00
Tuna
0e485c6a5f init loader, transformer pkg 2016-08-11 23:13:05 +07:00
Tomas Kral
e7dfff5252 Merge pull request #93 from kadel/travis-tests
Run tests on travis-ci
2016-08-11 17:08:29 +02:00
Tomas Kral
ef1f92ead8 fix .travis.yml 2016-08-11 16:50:18 +02:00
Tomas Kral
bae3feb10c Update README. Renaming binary to binary-cross 2016-08-11 16:50:18 +02:00
Tomas Kral
e64f1c1215 Add script/.build to keep BUILD_FLAGS in one place 2016-08-11 16:50:16 +02:00
Tuna
406ba65e13 Merge pull request #94 from surajssd/list-print
Output List kind object when using stdout
2016-08-11 16:47:49 +07:00
Suraj Deshmukh
04d1d65552 Output List kind object when using stdout
Now user gets a `List` kind object when putting eveything on
stdout or in a single file.

Fixes #73
2016-08-11 09:12:45 +00:00
Tomas Kral
a15a8f36ca Fix Makefile. Print info when building binary. 2016-08-11 11:00:46 +02:00
Tomas Kral
575d7e4162 update travis.yml to run tests and build only for current platform 2016-08-11 11:00:07 +02:00
Tomas Kral
6099428364 add test targets to Makefile 2016-08-11 11:00:07 +02:00
Tomas Kral
3dd7689364 Move binary target to binary-cross
use binary target only for building for current platform
2016-08-11 11:00:07 +02:00
Tuna
1b501619b7 close #64 2016-08-11 10:10:20 +07:00
Janet Kuo
52a933ce17 Merge pull request #99 from janetkuo/release-static-link
Build statically linked binaries in makefile; remove make clean
2016-08-10 19:46:16 -07:00