Tomas Kral
c0e2d5a271
Merge pull request #494 from cdrage/remove-extend-from-unused
...
Remove extend from unused keys, add to conversion doc
2017-03-22 12:56:26 +01:00
Charlie Drage
4e3300c642
Merge pull request #502 from cdrage/release-0.4.0
...
0.4.0 release
2017-03-21 14:55:23 -04:00
Charlie Drage
d4fd8cbebb
0.4.0 Release
2017-03-21 14:48:27 -04:00
Charlie Drage
123b3144d2
Merge pull request #498 from kadel/lint-no-fail
...
do not fail if there is a golint violation
2017-03-17 13:25:26 -04:00
Charlie Drage
30ead55071
Merge pull request #497 from kadel/update-travis
...
travis-ci: send report to coveralls in after_success section
2017-03-17 13:24:47 -04:00
Tomas Kral
3411f3c94b
do not fail if there is a golint violation
...
golint output is just suggestion. Just show ouptut, but don't fail.
This also remove unnecessary bash script that is no longer needed.
2017-03-17 17:09:49 +01:00
Tomas Kral
d24b86ad85
send report to coveralls in after_success section
...
Connection to coveralls.io sometimes fails and its marking tests as fail
even then are OK. Exit code from after_success do not affects build
result.
2017-03-17 15:45:37 +01:00
Tomas Kral
752b203089
Merge pull request #484 from surajnarwade/add_tmpfs_support
...
Added support for tmpfs
2017-03-16 18:07:49 +01:00
Suraj Narwade
494133484c
Added support for tmpfs
...
fixes #436
This commit will add support for tmpfs, configEmptyVolumeSource
function is being modified as it have to work in two ways now.
(For emptyvols and tmpfs)
Added unit test for tmpfs too.
2017-03-16 22:14:39 +05:30
Charlie Drage
54f133958f
Merge pull request #462 from containscafeine/improve_error_handling
...
Improve error handling, fix #416
2017-03-15 13:11:26 -04:00
Tomas Kral
fac6fd8122
Merge pull request #492 from kadel/brew-install
...
Add install instruction for MacOS X (using brew)
2017-03-15 17:21:49 +01:00
Shubham Minglani
e9544ca894
add github.com/pkg/errors to glide and vendor
...
This adds github.com/pkg/errors to glide.yaml followed
by glide and glide-vc commands. The github.com/pkg/errors
package is currently required mainly for the errors.Wrap()
and errors.New() methods, since this lets us to annotate the
errors while passing the error message up the call stack.
2017-03-15 19:41:28 +05:30
Charlie Drage
482c5520c9
Remove extend from unused keys, add to conversion doc
...
This removes the "unsupported" extends from the list (since we actually
support) as well as add a clarificiation on the conversion.md document.
Closes https://github.com/kubernetes-incubator/kompose/issues/475
Closes https://github.com/kubernetes-incubator/kompose/issues/493
2017-03-15 09:28:58 -04:00
Shubham Minglani
5cb598fa5b
return errors instead of logrus.Fatal calls
...
This commit refactors the code to remove more or less
all occurences of logrus.Fatalf() from the code under
pkg/ except for app.go where all the errors are being
handled currently.
This is being done since random logrus.Fatalf() calls
all around the code was making handling the errors,
unit testing and troubleshooting a bit more painful.
logrus.Fatalf() calls are either replaced by
return errors.New("new error")
or
return errors.Wrap(err, "annonate error")
calls, and the function signatures are accordingly
changed to accomodate the new return values.
The unit tests which previously used to check
if logrus.Fatalf() calls worked fine have also
been fixed to only check for errors now.
Fixes #416
2017-03-15 13:30:21 +05:30
Tomas Kral
63e2023d3d
README.md - add brew install instruction for MacOS X
2017-03-14 18:22:03 +01:00
Tomas Kral
d05e8c522a
Merge pull request #490 from cdrage/update-libcompose
...
Update vendoring
2017-03-14 18:14:38 +01:00
Tomas Kral
c6c6d6a509
Merge pull request #491 from cdrage/update-conversion-docs
...
Add that we support volumes_from
2017-03-14 17:18:24 +01:00
Charlie Drage
28260fb6a6
Add that we support volumes_from
...
Adds a note to the conversion doc that we support volumes_from.
Closes https://github.com/kubernetes-incubator/kompose/issues/476
2017-03-14 11:30:22 -04:00
Charlie Drage
e30b5c0bc5
Update vendoring
...
This updates the libcompose vendoring as well as a general update to
vendoring (adds the latest git commit of libcompose).
Closes https://github.com/kubernetes-incubator/kompose/issues/426
Closes https://github.com/kubernetes-incubator/kompose/issues/471
2017-03-14 11:20:38 -04:00
Tomas Kral
c1b3a54bf9
Merge pull request #485 from cdrage/update-link-to-conversion-doc
...
Update the link to the conversion doc
2017-03-14 14:11:26 +01:00
Tomas Kral
488f34bb1a
Merge pull request #488 from cdrage/add-release-notes
...
Add three-week cycle comment to README
2017-03-14 13:50:16 +01:00
Charlie Drage
3e37d248a4
Add three-week cycle comment to README
...
This adds a comment about our three-week cycle to the README.md.
2017-03-13 11:38:31 -04:00
Charlie Drage
d210c7faf4
Update the link to the conversion doc
...
This updates user-guide.md to link to conversion.md when talking about
unsupported keys used by Kompose.
2017-03-10 14:23:59 -05:00
Tomas Kral
e631960894
Merge pull request #465 from cdrage/update-release-script-resync
...
Update release script
2017-03-03 17:46:26 +01:00
Charlie Drage
4e3b1c34d7
Update release script
...
Had an issue where I don't git pull / merge with master after the PR has
been merged.
This adds an option to sync with master before continuing.
2017-03-03 10:48:50 -05:00
Tomas Kral
96cfc3c506
Merge pull request #468 from kadel/cap
...
Add cap_add and cap_drop to unsupported keys
2017-03-02 19:21:29 +01:00
Charlie Drage
a6aec65190
Merge pull request #448 from cdrage/add-compatibility-table
...
Add conversion documentation
2017-03-02 09:54:41 -05:00
Tomas Kral
de797643ae
Merge pull request #466 from cdrage/update-user-guide
...
Minor fix on user guide
2017-03-02 15:49:42 +01:00
Charlie Drage
40a9fbc8e7
Add conversion documentation
...
This adds a document regarding all the values which are converted from
Docker Compose to Kubernetes / OpenShift. Adding both notes as well as
the value that docker-compose is mapped to in Kubernetes / OpenShift.
2017-03-02 09:17:49 -05:00
Tomas Kral
8b66473edd
Add cap_add and cap_drop to unsupported keys
2017-03-02 14:54:52 +01:00
Charlie Drage
e2fd803a3b
Minor fix on user guide
2017-03-02 08:22:37 -05:00
Tomas Kral
fe632d9d39
Merge pull request #459 from procrypt/unsupported_keys
...
unsupported keys
2017-03-02 13:57:46 +01:00
Abhishek
a539e44d94
unsupported keys
2017-03-02 11:09:31 +05:30
Tomas Kral
84dba65a2d
Merge pull request #455 from cdrage/update-logrus
...
Clean up logrus
2017-03-01 15:18:24 +01:00
Charlie Drage
c0043ebd11
Clean up logrus
...
Replaces "log" from "logrus" as commonly used in large Go projects.
Makes it easier from a developer perspective to use `log.Info`,
`log.Debug`, etc.
2017-02-27 10:53:24 -05:00
Tomas Kral
e555e74a1d
Merge pull request #453 from cdrage/update-readme-with-new-go-update
...
Update the README with -u in go get
2017-02-27 16:04:30 +01:00
Charlie Drage
13b6c3dbd1
Update the README with -u in go get
...
Updates the readme to include -u in `go get` in order to upgrade
already-installed versions of Kompose.
2017-02-27 09:56:07 -05:00
Charlie Drage
88b10b257f
Merge pull request #451 from cdrage/update-release-script-again-2
...
Update the release script again :)
2017-02-24 14:03:20 -05:00
Charlie Drage
7e7a01a91a
Update the release script again :)
2017-02-24 10:07:23 -05:00
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