Commit Graph
53 Commits
Author SHA1 Message Date
Suraj Deshmukh a14d5c2ae6 Merge pull request #339 from procrypt/default_yaml
make YAML the default kompose conversion
2017-01-04 23:34:13 +05:30
Suraj Deshmukh 3decdd7fc9 updated dev docs with latest instructions
cleaned up development docs to have latest changes
2017-01-04 16:35:25 +05:30
Suraj Deshmukh b059c44774 Merge pull request #312 from procrypt/multiple_files
added support for multiple-compose files
2017-01-03 17:45:48 +05:30
Suraj Deshmukh 9c3fdaa48d Merge pull request #206 from rtnpro/buildconfig
Generate buildconfig for Openshift
2016-12-28 21:08:38 +05:30
Suraj Deshmukh c80735c1a5 Merge pull request #350 from containscafeine/stdin_tty
add stdin_open, tty support, add tests, fix #344
2016-12-28 16:18:25 +05:30
Suraj Deshmukh 0370d66357 Merge pull request #347 from surajssd/up_down_no_validation_needed
Flag validation called on up and down
2016-12-27 17:55:02 +05:30
Suraj Deshmukh 5625a97833 Flag validation called on up and down
On kompose up and kompose down flag validation
was done which is validating flags that are not there
in kompose up and kompose down
2016-12-27 15:59:07 +05:30
Suraj Deshmukh 73418310ac Merge pull request #304 from cdrage/switch-to-cobra
Switch to spf13/cobra from urfave/cli
2016-12-26 12:34:07 +05:30
Suraj Deshmukh 240f150492 Merge pull request #285 from containscafeine/expose_service
expose service to outside, fix #140
2016-12-22 17:13:52 +05:30
Suraj Deshmukh 48e3ba88cd Merge pull request #324 from rtnpro/unsupported-keys-per-provider
Unsupported keys per provider
2016-12-21 19:08:42 +05:30
Suraj Deshmukh 5ddd48ee63 Merge pull request #337 from containscafeine/output_file_dir
implement storing to directory or file, add functional tests
2016-12-21 18:22:45 +05:30
Suraj Deshmukh c485a870d8 Merge pull request #317 from ngtuna/env-key-only
support parse key-only environment variable
2016-12-19 22:51:06 +05:30
Suraj Deshmukh 7bda857079 Merge pull request #340 from surajssd/update_broken_master
update vendored dependencies
2016-12-16 20:42:59 +05:30
Suraj Deshmukh 10299eb5dc update vendored dependencies 2016-12-16 18:04:46 +05:30
Suraj Deshmukh 4dd31da6e4 Merge pull request #319 from kadel/glide
Switch from godep to glide
2016-12-16 13:40:40 +05:30
Suraj Deshmukh 78845d3954 Merge pull request #334 from surajssd/create_pod
support for raw pod output without controller
2016-12-15 11:57:13 +05:30
Suraj Deshmukh 8676ae8ae4 Merge pull request #280 from procrypt/down
added support for OpenShift down
2016-12-15 11:53:38 +05:30
Suraj Deshmukh 6ea5f72e40 support for raw pod output
if a user specifies a docker-compose service
with restart value as "no" or "on-failure"
then normal pod will be created as against
to a controller and a pod.
2016-12-13 19:24:25 +05:30
Suraj Deshmukh 754812fa62 Added installation instructions of rpm
kompose is packaged for CentOS and Fedora, so added easy installation
instructions.
2016-12-02 16:02:13 +05:30
Suraj Deshmukh 9ad65f9c32 IntelliJ IDE .gitignore
added .gitignore for IntelliJ IDE files
2016-12-01 12:47:27 +05:30
Suraj Deshmukh e6b3c2881f Merge pull request #293 from surajssd/update_fixture_etherpad
Added volume to mariadb in etherpad fixture
2016-11-22 02:10:34 +05:30
Suraj Deshmukh 66bd044e7d Merge pull request #290 from cdrage/update-dsb-to-dab
Update .dsb to .dab
2016-11-21 18:59:38 +05:30
Suraj Deshmukh b99d5d9bbe Added volume to mariadb in etherpad fixture
Volume constraint is missing in mariadb service
in etherpad example, so added that so that it mariadb container
does not fail in environments where creating container in
/var/lib/mysql is not allowed for non-root process.
2016-11-17 13:02:49 +05:30
Suraj Deshmukh bb9e4fba61 Generic service type handler for kompose
Moved label handling code from Transformer to loader,
to make it generic to handle creating service types.

Added new attribute to ServiceConfig which gets populated
in loader.

Fixes #273
2016-11-16 22:01:01 +05:30
Suraj Deshmukh b068c5cf81 Merge pull request #190 from surajssd/support-volumes-from
support for volumes_from docker-compose construct
2016-10-23 21:40:14 +05:30
Suraj Deshmukh aea39b4e1e Merge pull request #220 from surajssd/pvc-kompose-up
kompose up/down create and delete pvc
2016-10-22 09:33:53 +05:30
Suraj Deshmukh 244499667d kompose up/down create and delete pvc
pvc will be parsed when passing objects via kube client
to create various objects.
Also while deleting pvc will be deleted.

Fixes #218
2016-10-22 09:22:57 +05:30
Suraj Deshmukh fd09efed43 support for volumes_from docker-compose construct
Now a user can provide volumes_from to share volumes
from other service so here the PVC created for that
service will be shared by service calling volumes_from
2016-10-19 09:15:47 +05:30
Suraj Deshmukh 1210c9aa4d Merge pull request #204 from surajssd/meeting-info
Meeting info to README.md
2016-10-12 23:09:34 +05:30
Suraj Deshmukh 7a8c2bccec Meeting info to README.md
added link to agenda doc and meeting bluejeans link
2016-10-12 22:44:54 +05:30
Suraj Deshmukh e879164c2e Create PVC object for docker-compose volumes
Instead of creating emptydir, create PersistentVolumeClaim
for docker-compose volumes by default

Fixes #150
2016-10-06 17:58:17 +05:30
Suraj Deshmukh b969f7aa44 --provider global flag for kompose
Now a user can select a provider using global flag
--provider=openshift to select openshift provider
or --provider-kubernetes to select kubernetes provider
if nothing is provided kubernetes is the default provider.

Fixes #179
2016-10-06 09:37:54 +05:30
Suraj Deshmukh 1e581355c7 Merge pull request #111 from surajssd/suppress-warnings
Added flag `--suppress-warnings`, `--verbose`, `--error-on-warning` global flags
2016-09-17 19:18:20 +05:30
Suraj Deshmukh 57c460cc50 dded flag --suppress-warnings, --verbose, --error-on-warning global flags
- `--suppress-warnings` it ignores all warnings.
- `--verbose` displays everything
- `--error-on-warning` with any warning exits displaying error.

Fixes #100
2016-09-16 10:37:43 +05:30
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
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
Suraj Deshmukh 3fcfb71006 Merge pull request #101 from surajssd/update-tests
Update tests output files
2016-08-12 12:03:25 +05:30
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
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
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
Suraj Deshmukh a63d641384 Merge pull request #67 from surajssd/env_var_substitution
Support for environment variables substitution
2016-08-02 06:17:11 +05:30
Suraj Deshmukh 87270e3410 Merge pull request #68 from surajssd/missing-port-info
Warning on missing port information and no service created
2016-07-28 18:02:31 +05:30
Suraj Deshmukh e0bcd324d5 Warning on missing port information and no service created
Now when user will not provide any port information
a warning will be shown and also service will not
be created.

Fixes #58
2016-07-27 10:25:02 +00:00
Suraj Deshmukh 934a3e1a9a Support for environment variables substitution
Now user can put environment variables in docker-compose
file and it will be read by kompose from environment

Fixes # 56
2016-07-26 12:55:23 +00:00