Charlie Drage
4a267c160a
Merge pull request #655 from procrypt/composeTestIssue
...
Changing printf verb in compose_test.go
2017-06-20 08:27:22 -04:00
Abhishek
1401a39cbd
Changing printf verb %s to %v in compose_test.go
2017-06-20 09:58:22 +05:30
Charlie Drage
ee7961216f
Merge pull request #603 from procrypt/error_with_volume_name
...
PVC name changes if volumes containes .(dot) in it
2017-06-19 09:39:59 -04:00
Suraj Deshmukh
572d0c35b8
Merge pull request #649 from surajnarwade/vendor-update
...
Updating Vendor for adding compoe v2 extends
2017-06-17 11:26:28 +05:30
Suraj Deshmukh
1c4fe8424f
Merge pull request #596 from procrypt/envs
...
update the artifacts to be in ascending order
2017-06-17 11:20:10 +05:30
Suraj Narwade
d2253f1eb2
Updating Vendor
...
resolves #620 as libcompose PR https://github.com/docker/libcompose/pull/476
got merged.
2017-06-16 17:55:50 +05:30
Abhishek
c8881f5aa4
update created artifacts for k8s and openshift
...
update created artifacts for kubernetes and openshift so that env variables are populated in a particular order
2017-06-16 12:35:27 +05:30
Suraj Deshmukh
f823a22e64
Merge pull request #590 from surajnarwade/label-fix
...
Failing when port is specified with labels
2017-06-15 14:56:30 +05:30
Suraj Deshmukh
8e20eb7323
Merge pull request #521 from cdrage/add-build-support
...
Add build and push support
2017-06-15 14:52:45 +05:30
Suraj Narwade
209cda28d2
Failing when port is specified with labels
...
Resolves #522
Kompose will give FATAL error if labels are given but ports are not defined
2017-06-15 09:30:01 +05:30
Charlie Drage
e3b707c460
Update vendoring + add novln/docker-parser
2017-06-14 10:23:58 -04:00
Charlie Drage
e2f9084003
Adds both build and push support
...
This adds support for building and pushing docker containers
when you perform either `kompose convert` or `kompose up`.
Docker Compose files who have build parameters with their respective
image and build keys will automatically be both built and pushed.
2017-06-14 10:19:12 -04:00
Charlie Drage
49ada134ae
Merge pull request #634 from cdrage/update-readme-3
...
Update widgets (add godoc) as well as README
2017-06-14 10:17:24 -04:00
Charlie Drage
449bc3a229
Update widgets (add godoc) as well as README
...
Update the widgets (as well as add godoc), and update the README, making
the `kompose completion` section more concise.
2017-06-14 10:16:31 -04:00
Abhishek
c40bb4bb3a
change volume name with generated deployment file
...
if volumes in docker file is defined as
volumes:
- .:/code
Then the PVC created by kompose will containes .(dot) in it.
.-persistentvolumeclaim.yaml
2017-06-14 14:31:07 +05:30
Tomas Kral
bf20029009
Merge pull request #631 from procrypt/sort_EnvVar_struct
...
Fix EnvSort struct
2017-06-14 09:53:23 +02:00
Tomas Kral
2866792b5d
Merge pull request #637 from cdrage/add-index
...
Add documentation list
2017-06-14 09:29:08 +02:00
Abhishek
719dae97e4
Environment variabled are populated in random order, causing functional tests in golang #518 to fail
2017-06-14 12:58:56 +05:30
Tomas Kral
89cf88f665
Merge pull request #638 from surajnarwade/show-diff
...
Failing test will show diff
2017-06-14 09:28:30 +02:00
Suraj Deshmukh
3be76ff32b
Merge pull request #600 from cdrage/add-v3-support
...
Add v3 support of Docker Compose
2017-06-14 10:59:05 +05:30
Charlie Drage
2b58307191
Add v3 support
...
This does a major refactor on the compose.go functions as well as brings
in a new era of v3 support to Kompose.
Similar to how we utilize libcompose, we utilize docker/cli's "stack
deploy" code which has a built-in v3 parser. We convert the parsed
structure to our own and then convert it to Kubernetes/OpenShift
artifacts.
2017-06-13 09:44:48 -04:00
Suraj Narwade
883d11c049
Failing test will show diff
...
If test in `make test-cmd` is failing, now it will show diff so that
it will be easy to debug.
for example,
```
===> Starting test <===
convert::expect_success_and_warning: Running: 'kompose -f /home/snarwade/go/src/github.com/kubernetes-incubator/kompose/script/test/fixtures/service-name-change/docker-compose.yml convert --stdout -j' expected_output: '/home/snarwade/go/src/github.com/kubernetes-incubator/kompose/script/test/fixtures/service-name-change/output-k8s.json' expected_warning: 'Unsupported root level volumes key - ignoring'
WARN Unsupported root level volumes key - ignoring
WARN Unsupported depends_on key - ignoring
103c103
< "value": "bitnami_wordpres"
---
> "value": "bitnami_wordpress"
FAIL: converted output does not match
```
2017-06-13 14:20:52 +05:30
Charlie Drage
9360513a51
Add documentation list
...
Adds an "index" with a list of all documentation on the README.md
2017-06-12 10:52:07 -04:00
Tomas Kral
dbf15e2e71
Merge pull request #635 from cdrage/update-docs
...
Change output examples in docs to new format
2017-06-12 09:56:30 +02:00
Charlie Drage
f7e81ab7e0
Change output examples in docs to new format
...
Changes the format from INFO to INFO <PROVIDER> in output examples.
2017-06-09 12:42:33 -04:00
Tomas Kral
aa84680d6e
Merge pull request #588 from ashetty1/kompose_labels_test
...
Adding tests for kompose-specific labels and buildconfig dockerfile construct
2017-06-08 15:09:51 +02:00
Charlie Drage
683ae91823
Update vendoring
2017-06-07 10:23:50 -04:00
Charlie Drage
f066834e3d
Merge pull request #630 from cdrage/remove-jekyll-format
...
Remove jekyll format from top of quickstart
2017-06-02 11:48:35 -04:00
Charlie Drage
6d8ba322f0
Remove jekyll format from top of quickstart
...
Left this in while adding docs/quickstart.md by accident
2017-06-02 11:24:00 -04:00
Charlie Drage
033886c573
Merge pull request #629 from cdrage/update-release-script-againn
...
Fix adding Jekyll format to the top
2017-06-02 10:14:14 -04:00
Charlie Drage
b76ed55f82
Fix adding Jekyll format to the top
...
Problem with `/permalink/`. This adds a few bash lines that updates
index.md without the permalink.
2017-06-02 10:05:18 -04:00
Tomas Kral
60f46fc65e
Merge pull request #628 from cdrage/update-docs-with-index
...
Update documentation to reflect quickstart
2017-06-02 13:14:54 +02:00
Tomas Kral
5939158b57
Merge pull request #616 from cdrage/files-to-files
...
Add provider to file output
2017-06-02 13:12:26 +02:00
Charlie Drage
ea95f0a912
Update documentation to reflect quickstart
...
Adds quickstart.md from the kompose.io site as well as incorporates
changes so that you can update the index page of Kompose.io via
quickstart.md
2017-06-01 15:35:05 -04:00
Charlie Drage
1f0cf0b2e1
Merge pull request #609 from surajnarwade/validate_dockerfilepath
...
Validate dockerfilepath in buildconfig
2017-05-31 13:13:04 -04:00
Suraj Deshmukh
a35d5965b5
Merge pull request #617 from gitlawr/add_pid
...
add support for "pid" key. Fixes #610
2017-05-31 21:36:54 +05:30
gitlawr
1485ed4479
add support for "pid" key
...
solve #610
convert service.pid to Pod.Spec.HostPid
set Pod.Spec.HostPid to true if service.pid ="host", to false otherwise
update conversion.md on support for the key
2017-05-31 22:39:17 +08:00
Anush Shetty
fb0966f9e3
Changes to make the tests work with emptyvols
2017-05-31 15:59:52 +05:30
Charlie Drage
a6df28f98d
Merge pull request #622 from cdrage/update-readme
...
Update README with only docker compose example
2017-05-30 08:33:48 -04:00
Charlie Drage
1f36e28eb5
Update README with only docker compose example
...
At the moment, `dabs` don't seem to work as well as the fact that there
hasn't been much development since the experimental announcement of the
DAB format.
Removing it from the README makes the example clearer as well as more
direct / informative.
2017-05-30 08:33:21 -04:00
Suraj Narwade
581e181967
Validate dockerfilepath in buildconfig
...
This PR will resolve #594 by validating dockerfilepath based on whether
it is relative path or not.
2017-05-30 16:31:20 +05:30
Suraj Deshmukh
2a708bcdcf
Merge pull request #615 from cdrage/update-table
...
Remove version column from conversion document
2017-05-30 15:37:30 +05:30
Anush Shetty
b48b250de2
Merge remote-tracking branch 'upstream/master' into kompose_labels_test
2017-05-30 15:11:22 +05:30
Charlie Drage
a82ab15765
Remove version column from conversion document
...
Removes the version column in order to expand the width of the
conversion document as well as indicate that the table expands on ALL
versions (1,2,3)
2017-05-29 10:06:12 -04:00
Charlie Drage
c25b7e88d0
Merge pull request #619 from cdrage/master
...
0.7.0 Release
2017-05-25 12:06:41 -04:00
Charlie Drage
4da352210c
0.7.0 Release
2017-05-25 12:05:54 -04:00
Charlie Drage
7fe1358919
Merge pull request #618 from cdrage/update-release-scripts
...
Update version number in setup.md file in release script
2017-05-25 11:41:54 -04:00
Charlie Drage
270d9e779b
Update version number in setup.md file in release script
...
This change updates setup.md to include the new version number when
doing a release.
2017-05-25 11:41:02 -04:00
Anush Shetty
5f34c7368c
Merge remote-tracking branch 'upstream/master' into kompose_labels_test
2017-05-25 12:19:02 +05:30
Anush Shetty
d2ad889367
Merge remote-tracking branch 'origin/master' into kompose_labels_test
2017-05-25 12:18:29 +05:30