Commit Graph

1085 Commits

Author SHA1 Message Date
Charlie Drage
135165b39c Merge pull request #450 from cdrage/release-0.3.0
0.3.0 Release
2017-02-24 09:56:16 -05:00
Charlie Drage
10cff91295 121011e Release 2017-02-24 09:45:28 -05:00
Charlie Drage
121011ebc0 Merge pull request #449 from kadel/multiple-go-versions
Test with multiple go versions
2017-02-24 09:36:44 -05:00
Tomas Kral
b1cb6cdb80
update tags to make go vet 1.8 stop complaining 2017-02-24 15:16:47 +01:00
Tomas Kral
dd941beec7
test go 1.7 and 1.8 2017-02-24 13:09:16 +01:00
Charlie Drage
082bd17dce Merge pull request #434 from procrypt/abstract_out_api.PodSpec
Abstract out api.pod spec
2017-02-22 10:47:30 -05:00
Tomas Kral
34884169af Merge pull request #414 from cdrage/add-mem-limit
Adds mem_limit support for conversion
2017-02-22 16:05:46 +01:00
Abhishek
082e2351a0 abstract_out_api.PodSpec 2017-02-22 20:25:55 +05:30
Charlie Drage
858314e06b Adds mem_limit support for conversion
This commit adds mem_limit support. Taking the value from
docker-compose.yaml and converting it to it's associative value in
Kubernetes artifacts.

Closes (half) of
https://github.com/kubernetes-incubator/kompose/issues/267
2017-02-22 08:19:27 -05:00
Suraj Deshmukh
786f5c4f99 Merge pull request #378 from containscafeine/deployment_strategy
change strategy to recreate if volumes present, fix #264
2017-02-21 13:37:06 +05:30
Shubham Minglani
b73efa54f2 set strategy to Recreate if vols, add tests,docs
When volumes are specified in the Docker Compose
files, then in case of Kubernetes, Deployment's
Spec.Strategy.Type and in case of OpenShift,
DeploymentConfig's Spec.Strategy.Type are set to
"Recreate". This is a safer deployment strategy
when Volumes are getting used.

This commit also adds unit tests for Kubernetes
as well as OpenShift, and fixes the failing
functional tests (tests.sh) due to the change.

No functional tests have been added since
the functionality is already covered when the
volume mounts are being tested earlier in the
file.

This fixes #264
2017-02-20 11:44:43 +05:30
Tomas Kral
fb042c7b20 Merge pull request #428 from surajssd/remove_unnecessary_objects
removed unnecessary objects in compose.go
2017-02-15 11:29:57 +01:00
Tomas Kral
e0634302d0 Merge pull request #425 from cdrage/update-libcompose-vendoring
Update vendoring
2017-02-15 11:23:08 +01:00
Tomas Kral
7dac1a33d2 Merge pull request #413 from procrypt/add_buildConfig_to_kompose_down
add BuildConfig support to kompose down
2017-02-15 11:15:07 +01:00
Tomas Kral
d20a42e447 Merge pull request #405 from procrypt/unit_tests
Unit tests for error out if controller object is specified with restart: on-failure
2017-02-14 15:36:31 +01:00
Tomas Kral
816b74811d Merge pull request #429 from surajssd/change_service_names
normalize docker-compose service that has name with underscore
2017-02-14 15:26:21 +01:00
Charlie Drage
15636ee599 Merge pull request #418 from kadel/pkgs-lazy-set
Update Makefile - lazy set for PKGS variable
2017-02-14 08:38:58 -05:00
Suraj Deshmukh
0bc24d5ca6 normalize docker-compose service that has name with underscore
kubernetes or openshift does not allow underscores in the object
names, while docker-compose does, in this commit the code has been
added to convert underscores to hypens.
2017-02-14 17:39:42 +05:30
Tomas Kral
ac074e2c36
Update Makefile - lazy set for PKGS variable
Using lazy set we can run targets that are not requring PKGS without
requiring glide.
Lazy set is expended when variable is used, not when declared.
2017-02-14 10:43:30 +01:00
Suraj Deshmukh
775f5012c9 removed unnecessary objects in compose.go
In compoese.go while iterating on the ServiceConfig objects first
it's keys were pulled and then data was pulled separately which
can be done in one step by iterating on the dictionary.
2017-02-14 08:30:38 +05:30
Charlie Drage
d444886e2f Update vendoring
Updates vendoring to include
1c4bd4542a
as well as general update to all other packages.
2017-02-13 09:59:13 -05:00
Abhishek
7a12a16dc7 Unit test for error out if controller object is specified with restart: on-failure 2017-02-13 12:41:16 +05:30
Charlie Drage
f918d51cc1 Merge pull request #423 from kadel/fix-version-gitcommit
fix passing gitcommit in version output
2017-02-11 18:41:27 -05:00
Tomas Kral
18955c63d4
fix passing gitcommit in version output 2017-02-11 17:05:08 +01:00
Tomas Kral
17126345ef Merge pull request #393 from cdrage/host-container-protocol-bug
Add support for host:port:port
2017-02-10 10:51:35 +01:00
Charlie Drage
438088f37d Add support for host:port:port
This adds support for supplying for example:
"127.0.0.1:80:80/tcp" to docker-compose.yaml and converting it to it's
corresponding Kubernetes / OpenShift hostIP.

This commit also refactors the loadPorts function of compose.go

Closes https://github.com/kubernetes-incubator/kompose/issues/335
2017-02-09 12:21:17 -05:00
Suraj Deshmukh
be042c7e1f Merge pull request #415 from cdrage/fix-spelling-error-down-openshift
Fix a small spelling error
2017-02-09 06:03:50 +01:00
Charlie Drage
01bf975185 Fix a small spelling error
s/service/Service/g
2017-02-08 08:55:43 -05:00
Abhishek
846812677d add buildConfig support to kompose down 2017-02-06 17:24:04 +05:30
Tomas Kral
ca45137cb0 Merge pull request #396 from cdrage/update-the-release-script
Update the release script
2017-02-05 13:57:35 +01:00
Tomas Kral
2b3c37ff89 Merge pull request #394 from cdrage/remove-tcp-from-conversion
Removes the TCP output on the Kubernetes / OpenShift artifacts
2017-02-05 13:51:06 +01:00
Charlie Drage
cb6c9e9755 Removes the TCP output on the Kubernetes / OpenShift artifacts
If TCP is passed in as the protocol, by default, we add TCP as the
protocol within the Kubernetes or OpenShift artifacts.

By default, TCP is already selected within Kubernetes and thus having
the TCP output is redundant.

This commit checks to see if TCP has already been selected, and if it
has, ignores adding it to the list of ports.

Closes https://github.com/kubernetes-incubator/kompose/issues/392
2017-02-01 13:33:49 -05:00
Tomas Kral
a30e05fbae Merge pull request #399 from cdrage/update-installation-instructions
Update the README.md with new installation instructions
2017-01-31 18:05:47 +01:00
Charlie Drage
4b7a63a6aa Update the README.md with new installation instructions
Updates the README corresponding with binaries now in within our release
page.
2017-01-30 10:06:28 -05:00
Charlie Drage
8bf06407ba Merge pull request #368 from procrypt/yaml_and_yml
added support for docker-compose.yaml besides docker-compose.yml
2017-01-30 09:21:33 -05:00
Charlie Drage
2f05ecdcf0 Merge pull request #373 from procrypt/error_should_be_displayed
error out if controller object is specified with "restart: on-failure"
2017-01-30 09:21:20 -05:00
Abhishek
1ecd32a362 error out if controller object is specified with "restart: on-failure" 2017-01-30 17:52:36 +05:30
Tomas Kral
abad9b1beb Merge pull request #397 from cdrage/update-cross-compiling-script
Updates the cross compiling commands
2017-01-28 13:04:21 +01:00
Charlie Drage
b19e973549 Updates the cross compiling commands
Removed 32-Bit support, and pushes to the "bin" folder instead of
"bundles"
2017-01-27 15:57:40 -05:00
Charlie Drage
576e2c7d37 Update the release script
This updates the release script to add the changelog gem as well as
clean up some of the scripts.

This also updates the binaries being uploaded and the messages being
passed onto the tag description on GitHub.
2017-01-27 15:56:15 -05:00
Charlie Drage
bf8a03f1e9 Merge pull request #395 from cdrage/release-0.2.0
0.2.0 Release
2017-01-27 15:37:05 -05:00
Charlie Drage
c20ce2f088 0.2.0 Release 2017-01-27 15:36:17 -05:00
Tomas Kral
3f10691838 Merge pull request #387 from cdrage/warn-if-passed-z-to-volume
Ignores :z or :Z when passed in as a volume string
2017-01-25 13:56:40 +01:00
Tomas Kral
5383914f30 Merge pull request #157 from sebgoa/headless
Handle Headless Services when no ports are present
2017-01-25 13:29:56 +01:00
Tomas Kral
90febe7f7f
Change warning to debug for services without ports. 2017-01-25 13:20:40 +01:00
Tomas Kral
8f2dd5b03b
Test Headless Services 2017-01-25 11:28:29 +01:00
Tomas Kral
5a62864ef9
Handle Headless Services for OpenShift 2017-01-25 11:28:29 +01:00
sebgoa
3193ac3bd7
Handle Headless Services when no ports are present 2017-01-25 11:28:29 +01:00
Tomas Kral
001e19c4b3 Merge pull request #385 from kadel/test-in-docker
Container for running tests and Makefile cleanup
2017-01-24 12:18:29 +01:00
Tomas Kral
55a2e60a30 Merge pull request #389 from cdrage/update-docs
Update documentation removing [0000] timestamp outputs
2017-01-23 16:22:29 +01:00