Commit Graph

732 Commits

Author SHA1 Message Date
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
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
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
Charlie Drage
93f5c0103c Merge pull request #613 from kadel/fix-ImageStream-tag
Fix incorrect tag in BuildConfig.
2017-05-23 15:13:34 -04:00
Charlie Drage
cb30bd5f51 Add provider to file output
Adds the provider name to the file output. For example:

```sh
INFO OpenShift file "frontend-service.yaml" created
INFO OpenShift file "redis-master-service.yaml" created
INFO OpenShift file "redis-slave-service.yaml" created
INFO OpenShift file "frontend-deploymentconfig.yaml" created
INFO OpenShift file "frontend-imagestream.yaml" created
INFO OpenShift file "redis-master-deploymentconfig.yaml" created
INFO OpenShift file "redis-master-imagestream.yaml" created
INFO OpenShift file "redis-slave-deploymentconfig.yaml" created
INFO OpenShift file "redis-slave-imagestream.yaml" created
```
2017-05-23 15:08:50 -04:00
Charlie Drage
8938fa13f5 Merge pull request #608 from gitlawr/stop_grace_period
Add support for stop_grace_period
2017-05-23 14:42:29 -04:00
Tomas Kral
c5fa9f7f2a
Fix incorrect tag in BuildConfig.
For services with build and image keys DeploymentConfig respects tag from docker-compose image key.
But BuildConfig image tag was always set to  'latest'.
Result of this was that deployment wasn't trigired after successful build.
This fixes it by setting BuildConfig output image tag to the same tag that is used for  DeploymentConfig (tag from docker-compose image key)
2017-05-23 14:05:59 +02:00
gitlawr
c01f6f1763 To solve #440
This commit Add support for stop_grace_period which maps to
Pod.Spec.TerminationGracePeriodSeconds
Updated conversion.md on support for the key
2017-05-23 12:03:14 +08:00
Tomas Kral
f097b35854 Merge pull request #612 from cdrage/fix-output-completion
Update `kompose completion`
2017-05-22 12:55:05 +01:00
Charlie Drage
1cacfddf1a Update kompose completion
Updates Kompose completion with neutral language (using shell instead of
bash).

Fixes the indentation issues when outputting `kompose completion --help`
2017-05-19 10:27:11 -04:00
Suraj Deshmukh
1c64b016dc Merge pull request #592 from cdrage/change-git-command
Use old git command
2017-05-18 09:12:09 +05:30
Suraj Deshmukh
22fe5997e2 Merge pull request #606 from achanda/underscores
Replace underscores with dashes while rendering container names
2017-05-17 18:18:01 +05:30
Tomas Kral
dbceb2d2a8 Merge pull request #578 from kadel/add-label
Add io.kompose.service label to every object & use reaper to delete BuildConfig
2017-05-17 12:40:51 +01:00
Abhishek Chanda
9ebfa9e293 Replace underscores with dashes while rendering container names
Kubernetes container names must match the regex [a-z0-9]([-a-z0-9]*[a-z0-9])?
This excludes underscores, which is common in container names in compose.
2017-05-17 07:31:33 +00:00
Tomas Kral
166eedfc1c
update vendor
added files required by BuildConfig reaper
2017-05-16 17:56:38 +02:00
Tomas Kral
bee784faf6
Use BuildConfig reaper to delete BuildConfig with all related pods 2017-05-16 17:56:38 +02:00
Tomas Kral
792976da1f
some of created objects were missing io.kompose.service label
label added to BuildConfig, DaemonSet, ReplicationController, Deployment and Pod
2017-05-16 17:56:32 +02:00
Suraj Deshmukh
7e785bb31f Merge pull request #424 from surajnarwade/add-build-args
Add build_args support in buildconfig Fixes #406
2017-05-16 13:46:06 +05:30
Suraj Narwade
8fc262bd99 Add build_args support in buildconfig
now args provided under build in docker-compose file can be available in buildconfig.
it solves #406
Added unit test and functional test
solves #445
Separated key:"value" pairs by spaces
2017-05-16 12:19:00 +05:30
Suraj Deshmukh
b877014380 Merge pull request #602 from surajssd/remove-duplicate-import
remove duplicate import with different name
2017-05-15 22:11:06 +05:30
Charlie Drage
8edb851b9c Merge pull request #601 from surajnarwade/update-vendoring
Updated Vendoring
2017-05-15 12:04:46 -04:00
Suraj Deshmukh
f7a78edeae remove duplicate import with different name
`k8s.io/kubernetes/pkg/api` is imported directly and once with the alias
import name `kapi` so remove the original import and keep the aliased with
`kapi` one and also replace the code bits which call it with `api` name.
2017-05-15 21:12:05 +05:30
Suraj Narwade
7f00fec328 Updated Vendoring
It resolves issues #474 and #589 which were coming from libcompose,
as well as resolves #440 and #437 partially as `group_add` & `stop_grace_period`
are supported by libcompose now.
2017-05-15 18:28:03 +05:30
Suraj Deshmukh
7ddce35dd5 Merge pull request #597 from cdrage/update-docs-2
<docs> Update version number
2017-05-15 14:40:20 +05:30
Charlie Drage
4e051c2cb6 <docs> Update version number
Updates version number within setup installation instructions for docs
2017-05-10 11:05:47 -04:00
Charlie Drage
f66a11fd70 Merge pull request #565 from procrypt/ux
sort output when creating kubernetes/openshift objects
2017-05-10 09:21:05 -04:00
Abhishek
529e6c674f sort output when creating kubernetes/openshift objects 2017-05-09 23:56:54 +05:30
Charlie Drage
f0c4addbaf Use old git command
Some versions of git don't have git-url (case in point on Debian 8, no
get-url on packaged git).

Use old command in getting URL.
2017-05-09 08:55:55 -04:00
Suraj Deshmukh
ebd9dcf207 Merge pull request #577 from surajnarwade/fix-build-test
Fixes fixture test for build context
2017-05-09 17:09:55 +05:30
Suraj Narwade
aacde86eb9 Fixes fixture test for build context
Resolves #576

This PR includes `output-os-template.json` in `nginx-node-redis` example,
which is basically output template contains `%URI%` and `%REF%` variables
which will be filled while initializing test cases and new will be stored as
`/tmp/output-os.json`
This will remove the problem of git uri and ref.
2017-05-08 17:54:24 +05:30
Charlie Drage
b3570e0da5 Merge pull request #586 from surajssd/fix-broken-link-to-fedora
Fix link to fedora setup in docs
2017-05-03 12:57:18 -04:00
Suraj Deshmukh
fa255d2c78 Fix link to fedora setup in docs 2017-05-03 18:37:07 +05:30
Tomas Kral
abf81926c0 Merge pull request #460 from ashetty1/openshift_up_down_test
Adding kompose up/down tests for openshift
2017-05-02 13:35:55 +02:00