Shubham Minglani
7e378cd546
implement expose service, add tests, fix #140
...
Implements a kompose specific docker compose label "kompose.service.expose" which can be used to expose the specified services externally. The accepted values are of type string.
If the value is set to "true", the provider sets the endpoint automatically, and for any other value, the value is set as the hostname. If multiple ports are defined in a service, the first one is chosen to be the exposed.
Unit tests, functional tests, glide updates and docs have also been added in this commit for the related feature.
2016-12-21 20:00:38 +05:30
Suraj Deshmukh
48e3ba88cd
Merge pull request #324 from rtnpro/unsupported-keys-per-provider
...
Unsupported keys per provider
2016-12-21 19:08:42 +05:30
Suraj Deshmukh
5ddd48ee63
Merge pull request #337 from containscafeine/output_file_dir
...
implement storing to directory or file, add functional tests
2016-12-21 18:22:45 +05:30
Shubham Minglani
365fe81987
implement storing to dir/file, add tests
...
When kompose convert -o artifacts is run, then if artifacts is a directory,
kompose stores all the resulting files inside it, and if it's not a directory,
it stores the artifacts in a single file.
Fixes #209
2016-12-21 18:12:43 +05:30
Tomas Kral
3419ae7fe1
few updates based on review
2016-12-20 16:58:28 +05:30
Tomas Kral
af9c6585ee
Add tests for unsupported keys in k8s transformer
2016-12-20 16:58:28 +05:30
Tomas Kral
d5d0a3f03a
Add tests for unsupported keys in loaders
2016-12-20 16:58:23 +05:30
Tomas Kral
841141ad64
Fix functional tests for unsupported keys
2016-12-20 12:21:53 +05:30
Tomas Kral
f20e6f3fa9
checkUnsupportedKeys for transformers
2016-12-20 12:21:52 +05:30
Tomas Kral
e4f9b59b4d
Separate unsupported key check for every loader
2016-12-20 12:21:03 +05:30
Suraj Deshmukh
c485a870d8
Merge pull request #317 from ngtuna/env-key-only
...
support parse key-only environment variable
2016-12-19 22:51:06 +05:30
Tuna
7556f6f9fa
add unit test for loadEnvVar
2016-12-19 11:23:42 +01:00
Tuna
a881f5cca0
add test for key-only env
2016-12-19 11:23:42 +01:00
Tuna
000ed33cb1
support parse key-only environment variable
...
fix #303
2016-12-19 11:23:42 +01:00
Chris Baumbauer
072d4815ee
#231 Invoking kompose --bundle X.dab convert --stdout will produce two differently ordered results ( #338 )
2016-12-18 09:01:42 -05:00
Suraj Deshmukh
7bda857079
Merge pull request #340 from surajssd/update_broken_master
...
update vendored dependencies
2016-12-16 20:42:59 +05:30
Suraj Deshmukh
10299eb5dc
update vendored dependencies
2016-12-16 18:04:46 +05:30
Suraj Deshmukh
4dd31da6e4
Merge pull request #319 from kadel/glide
...
Switch from godep to glide
2016-12-16 13:40:40 +05:30
Suraj Deshmukh
78845d3954
Merge pull request #334 from surajssd/create_pod
...
support for raw pod output without controller
2016-12-15 11:57:13 +05:30
Suraj Deshmukh
8676ae8ae4
Merge pull request #280 from procrypt/down
...
added support for OpenShift down
2016-12-15 11:53:38 +05:30
Abhishek
6ad54a36e2
added support for OpenShift down
2016-12-15 11:06:00 +05:30
Suraj Deshmukh
6ea5f72e40
support for raw pod output
...
if a user specifies a docker-compose service
with restart value as "no" or "on-failure"
then normal pod will be created as against
to a controller and a pod.
2016-12-13 19:24:25 +05:30
Tomas Kral
65e19e3105
Merge pull request #333 from cdrage/namespace-bug
...
Fix container_name incorrectly being generated
2016-12-12 18:17:52 +01:00
Charlie Drage
ee2946c810
Fix container_name incorrectly being generated
...
Checks to see if "container_name" is used correctly in a docker-compose
file conversion and updates the changes respectively in the outputted
artifact files.
For example with container_name set as myfoobarname, the change will
correctly update the "containerNames" portion of the deployment-config
for OpenShift.
"imageChangeParams": {
"automatic": true,
"containerNames": [
"myfoobarname"
],
"from": {
"kind": "ImageStreamTag",
"name": "rabbit:3.6.1"
}
}
Closes https://github.com/kubernetes-incubator/kompose/issues/301
2016-12-08 13:49:11 -05:00
Tomas Kral
04a3131834
Merge pull request #332 from kubernetes-incubator/kadel-patch-1
...
Update RPM instalaion instructions in README.md
2016-12-08 14:48:49 +01:00
Tomas Kral
25200cf418
Update README.md
2016-12-07 20:20:20 +01:00
Tomas Kral
a0ba435efb
Add check-vendor script
...
This checks vendor dir for nested vendors
and if vendor has been cleaned by glide-vc
2016-12-07 19:57:47 +01:00
Tomas Kral
5c5e0d16d5
Update Developer Guide - switch to glide
2016-12-07 19:57:19 +01:00
Tomas Kral
fe679fbca6
switch from godep to glide
2016-12-07 19:57:19 +01:00
Tomas Kral
862419b836
Merge pull request #329 from kadel/coveralls-fix
...
Report code coverage to coveralls
2016-12-07 17:46:22 +01:00
Tomas Kral
373ab36946
Report code coverage to coveralls
2016-12-07 16:44:47 +01:00
sebgoa
0364116455
remove extraneous formating in code snippet
2016-12-07 10:11:05 +01:00
sebgoa
0b5d167717
Merge pull request #287 from cdrage/add-coveralls
...
Update TRAVIS CI to add coveralls
2016-12-07 10:08:24 +01:00
sebgoa
e9f900e0f7
Merge pull request #316 from cdrage/add-release-script
...
Add release script
2016-12-07 09:57:50 +01:00
sebgoa
a23e8757e6
Merge pull request #326 from cdrage/add-roadmap-md
...
Add ROADMAP.md move current road map information
2016-12-07 09:39:24 +01:00
Charlie Drage
8b5369443c
Add ROADMAP.md move current road map information
...
Adds ROADMAP.md to the root directory with milestone links to all
upcoming major releases.
Closes https://github.com/kubernetes-incubator/kompose/issues/250
2016-12-06 13:57:34 -05:00
Charlie Drage
2511c7318a
Add release script
...
This adds a release script automating the changelog, notes as well as
release (to GitHub) via the CLI / a simple script.
The caveat is the next release will have to have `v` removed from the
title in order for `changelog()` function to work correctly.
Some changes to all upcoming releases are:
- Using `git shortlog` instead of
https://github.com/skywinder/Github-Changelog-Generator
2016-12-06 10:38:26 -05:00
Tomas Kral
e62e070738
Merge pull request #322 from surajssd/install_rpm
...
Added installation instructions of rpm
2016-12-06 11:01:27 +01:00
Suraj Deshmukh
754812fa62
Added installation instructions of rpm
...
kompose is packaged for CentOS and Fedora, so added easy installation
instructions.
2016-12-02 16:02:13 +05:30
Tomas Kral
c43a973453
Merge pull request #321 from surajssd/intellij-gitignore
...
IntelliJ IDE .gitignore
2016-12-01 11:44:07 +01:00
Suraj Deshmukh
9ad65f9c32
IntelliJ IDE .gitignore
...
added .gitignore for IntelliJ IDE files
2016-12-01 12:47:27 +05:30
sebgoa
d5343707f2
Merge pull request #302 from cdrage/switch-to-make-bin
...
Switch to 'make bin' instead of 'make binary'
2016-11-30 15:54:08 +01:00
Charlie Drage
c87e6cdaf5
Switch to 'make bin' instead of 'make binary'
...
I keep mistyping this when creating the binary as per other projects
that use it commonly (it's usually `make bin` instead of `make binary`).
2016-11-29 09:56:43 -05:00
Charlie Drage
8d0a6542d5
Update TRAVIS CI to add coveralls
...
Updates travis to enable coveralls support.
Fixes https://github.com/kubernetes-incubator/kompose/issues/281
2016-11-29 08:56:42 -05:00
sebgoa
8036f0772a
Merge pull request #260 from ngtuna/update-changelog
...
update CHANGELOG
2016-11-29 12:02:04 +01:00
Tomas Kral
6092df4364
Merge pull request #245 from kadel/user
...
Add support for user directive
2016-11-25 10:28:17 +01:00
Tomas Kral
6f45703de2
Add tests for user directive
2016-11-25 10:13:42 +01:00
Tomas Kral
5a94a9fdbc
Add support for user
2016-11-25 09:50:51 +01:00
Tomas Kral
b0514bd2dd
Merge pull request #259 from kadel/lint-and-vet
...
Add `go vet`, and `gofmt` tests.
2016-11-25 09:49:15 +01:00
Tuna
b25af8f0b8
update README accordingly
2016-11-24 23:40:46 +01:00