Commit Graph

268 Commits

Author SHA1 Message Date
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
Janet Kuo
daf8b80ef6 Remove 'make clean' 2016-08-10 17:37:26 -07:00
Janet Kuo
6164f0ac24 Build statically linked binaries in makefile 2016-08-10 17:37:06 -07:00
Tuna
14cf356a08 Merge pull request #90 from ngtuna/unsupported-keys
enhance warning: networks, network config, volume config. Fixes #88, #71
2016-08-10 10:27:15 +07:00
Tuna
908a2563f1 fixing typos 2016-08-10 10:09:27 +07:00
Tuna
3da3fb50ff Merge pull request #86 from ngtuna/kompose-up
New behavior of kompose up
2016-08-09 14:06:51 +07:00
Tuna
8a607c84e0 fixing typoes 2016-08-09 11:12:05 +07:00
Suraj Deshmukh
aaa94d7103 Merge pull request #89 from surajssd/functional_tests
Functional Testing for kompose cmdline
2016-08-08 10:28:43 +05:30
Suraj Deshmukh
9a4e953555 Functional Testing
Shell scripts to test k8s and os conversion
which can be ran by following command in root dir
`./script/test/cmd/tests.sh`
2016-08-08 04:39:10 +00:00
Tuna
8ddadfca88 enhance warning: networks, network config, volume config. Fixes #88, #71 2016-08-06 23:44:56 +07:00
Tuna
786f0fee9b add CHANGELOG.md 2016-08-05 14:56:39 +07:00