Commit Graph

784 Commits

Author SHA1 Message Date
Tomas Kral
7c60edeb67 Merge pull request #507 from cdrage/add-targz-to-readme
Update the readme with tarball and installation instructions
2017-03-23 15:41:11 +01:00
Charlie Drage
8d63c6413d Update the readme with tarball and installation instructions
Updates the readme to reflect that we now have a tarball as well as
latest development instructions on prefering the binary installation
over `go get`.
2017-03-23 10:13:52 -04:00
Charlie Drage
3ac6d9aa58 Merge pull request #499 from surajnarwade/add_dockerfile_support
Added dockerfile key support
2017-03-22 10:17:10 -04:00
Suraj Narwade
ec897ef50f Added dockerfile key support
Fixes #486
This commit will add `dockerfilepath` key under Dockerstratergy in buildconfig.
dockerfilepath allow us to use dockerfiles which are named different than `Dockerfile` which are placed in context directory.

for example, for a docker-compose file:

```
version: "2"
services:
    foo:
        build:
            context: "./build"
            dockerfile: "Dockerfile-alternate"
        command: "sleep 3600"
```
Resulting buildconfig will be:

```
apiVersion: v1
kind: BuildConfig
...
...
  strategy:
    dockerStrategy:
      dockerfilePath: Dockerfile-alternate
    type: Docker
...
...
```
2017-03-22 17:49:26 +05:30
Tomas Kral
fba87faa16 Merge pull request #504 from surajnarwade/minor_fix
Removed Duplicate line(build) from compose.go
2017-03-22 13:08:08 +01:00
Tomas Kral
5ae5652416 Merge pull request #503 from cdrage/update-gitignore-2
Ignore the /bin folder
2017-03-22 13:06:51 +01:00
Tomas Kral
d5254b3b19 Merge pull request #495 from cdrage/add-fedora-packaging
Add rpm packaging
2017-03-22 12:57:10 +01:00
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
Suraj Narwade
73d9970197 Removed Duplicate line(build) from compose.go 2017-03-22 13:06:50 +05:30
Charlie Drage
aa3913f649 Ignore the /bin folder
Bin folder is used for binary generation. Ignore it.
2017-03-21 15:31:49 -04: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
Charlie Drage
abc500f0bb Add rpm packaging
This adds rpm packaging for building on Fedora + CentOS + deploying to
Koji.

I've gone ahead and updates notes.txt to a README.md to better reflect
how to build.

This is copied from:
https://src.fedoraproject.org/cgit/rpms/kompose.git
and added as a submodule.

Closes https://github.com/kubernetes-incubator/kompose/issues/481

Ping @surajssd @dustymabe
2017-03-17 10:55:21 -04: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