Commit Graph

525 Commits

Author SHA1 Message Date
Suraj Deshmukh
daf7c995ba Merge pull request #380 from surajssd/fix_test_user_warnings
Fixed warnings related to user type in tests
2017-01-18 20:22:59 +05:30
Charlie Drage
1b8a229b5a Disables timestamp with logging
This commit disables the timestamp when outputting logs in order to be
more clean / concise.

One of the reasons being that the kompose up / convert / down commands
are *too fast* and thus output's all [0000].

For example, the output will look like this:
INFO I'm a little teapot

Instead of:
INFO[0000] I'm a little teapot
2017-01-18 09:23:52 -05:00
Charlie Drage
c39e9b3cb0 Update logging for logrus 2017-01-18 09:23:52 -05:00
Charlie Drage
a58cd69d0d Add bash auto completion support
Adds auto completion support that's generated via:
```
$ kompose complete
```

This file is added to /etc/bash_completion.d/kompose.sh
2017-01-17 14:06:30 -05:00
Suraj Deshmukh
d64a441e53 Fixed warnings related to user type in tests
Fixes # 343

Type of user is not string and that's what was being provided
in tests so fixed it and now tests output is cleaner.
2017-01-16 12:07:33 +05:30
Suraj Deshmukh
f408fd952a Merge pull request #377 from containscafeine/libcompose_bump_v0.4.0
bump libcompose to v0.4.0
2017-01-13 03:01:40 +05:30
Shubham Minglani
5837d0ad6e bump libcompose to v0.4.0 2017-01-13 01:58:19 +05:30
Charlie Drage
bf6085dd02 Merge pull request #356 from cdrage/update-vendoring
Update vendoring as well as libcompose
2017-01-12 12:49:14 -05:00
Charlie Drage
15b482698a Uncomment test case for image handling 2017-01-12 08:14:41 -05:00
Tomas Kral
d59643b652 Merge pull request #359 from kubernetes-incubator/kadel-patch-2
update roadmap
2017-01-12 09:49:05 +01:00
Tomas Kral
df335234bd
update roadmap
info about monthly releases
2017-01-12 09:47:27 +01:00
Tomas Kral
b7a8c5702d Merge pull request #363 from ngtuna/up-down-pod
add deploy/undeploy pod only
2017-01-11 16:57:42 +01:00
Tuna
5e59400345 deploy/undeploy pod to OpenShift provider 2017-01-10 17:04:22 +01:00
Tuna
fa8157a555 add deploy/undeploy pod only
ref: #342
2017-01-10 16:53:21 +01:00
Charlie Drage
39fbc4ab9c Update checking to see if a default network has been provided
Due to changes to libcompose, NetworkConfigs now returns a default
network regardless if one has been provided or not.

An if statement is added that will debug output and ignore the default
network provided that it's the only network available.
2017-01-10 09:45:17 -05:00
Tomas Kral
7dbf00c18e Merge pull request #371 from surajssd/update_pod_example
updated pods example in user guide
2017-01-10 15:36:32 +01:00
Suraj Deshmukh
97d8247047 updated pods example in user guide
earlier example has mariadb updated with more sensible example
that users can try out, since it also simulates a job like
behavior.
2017-01-10 12:08:55 +05:30
Suraj Deshmukh
2ba88312e1 Merge pull request #360 from kadel/simplify-printlist
Small simplification of kubernetes.PrintList
2017-01-09 11:32:38 +05:30
Tomas Kral
3cf6866dd0
Small simplification of kubernetes.PrintList
Use reflect instead of big type switch that was prone to errors.
2017-01-06 15:22:37 +01:00
Suraj Deshmukh
4b3094d8ac Merge pull request #307 from kadel/golint
add golint check to travis-ci
2017-01-06 19:29:36 +05:30
Tomas Kral
d926cff57a Merge pull request #362 from surajssd/cmd_tests_fix
Fixing functional tests for checking generated artifacts
2017-01-06 12:20:29 +01:00
Suraj Deshmukh
26e348e731 Fixing functional tests for checking generated artifacts
Earlier any test written after check_file_exist would
fail, so fixed it with new function.
2017-01-06 00:35:00 +05:30
Tomas Kral
4f176b847e
fix golint errors 2017-01-05 10:31:11 +01:00
Tomas Kral
502157a078
add golint to make validate and install it in travis 2017-01-05 09:56:24 +01:00
Charlie Drage
57039425b6 Update vendoring as well as libcompose
This commit updates libcompose in order to merge in
https://github.com/docker/libcompose/pull/423 which affected
https://github.com/kubernetes-incubator/kompose/issues/92 by not
erroring out when an image name wasn't provided.

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

As well as knocks out the last required milestone for a 0.2.1 release
https://github.com/kubernetes-incubator/kompose/milestone/2
2017-01-04 13:18:07 -05:00
Tomas Kral
6e260bab0b Merge pull request #341 from surajssd/build_instructions_update
updated dev docs with latest instructions
2017-01-04 19:08:12 +01:00
Suraj Deshmukh
a14d5c2ae6 Merge pull request #339 from procrypt/default_yaml
make YAML the default kompose conversion
2017-01-04 23:34:13 +05:30
Suraj Deshmukh
3decdd7fc9 updated dev docs with latest instructions
cleaned up development docs to have latest changes
2017-01-04 16:35:25 +05:30
Abhishek
cfcbfa8c6d make default kompose conversion YAML 2017-01-04 12:50:56 +05:30
Suraj Deshmukh
b059c44774 Merge pull request #312 from procrypt/multiple_files
added support for multiple-compose files
2017-01-03 17:45:48 +05:30
Abhishek
a5a3805760 added support for multiple-compose files 2017-01-03 17:18:34 +05:30
Suraj Deshmukh
9c3fdaa48d Merge pull request #206 from rtnpro/buildconfig
Generate buildconfig for Openshift
2016-12-28 21:08:38 +05:30
Ratnadeep Debnath
0d86f3e087 Updated docs for openshift buildconfig feature
- Added buildconfig doc in user guide.
- Add inline code documentation to explain why buildconfig
  object needs to be created after imagestream, because of
  https://github.com/openshift/origin/issues/4518
2016-12-28 19:24:45 +05:30
Ratnadeep Debnath
7c959b65d4 Fixed typos in openshift buildconfig
- spelling mistake
- pass compose file dir instead of compose file to initBuildConfig call
- Use as default value for cli --build-branch option
- Pass current build branch to buildconfig related functions instead of opt.BuildBranch
- Fix printing buildconfig source branch in logs.
2016-12-28 19:23:37 +05:30
Ratnadeep Debnath
4d3347d300 Remove dangling cli dir after rebase. 2016-12-28 17:02:33 +05:30
Ratnadeep Debnath
44f94cc072 Fixes/updates based on review. 2016-12-28 17:02:33 +05:30
Ratnadeep Debnath
d4561c6f51 Updated glide dependencies
Added:
- github.com/openshift/origin/pkg/build/api/install
- github.com/openshift/origin/pkg/build/api/v1
2016-12-28 17:02:33 +05:30
Ratnadeep Debnath
a753f35d42 Added docs for openshift unit tests. 2016-12-28 17:02:33 +05:30
Ratnadeep Debnath
4ead7156f4 Renamed pkg test to testutils. 2016-12-28 17:02:33 +05:30
Ratnadeep Debnath
b62fb02571 Fix openshift buildconfig info logs
based on review.
2016-12-28 17:02:33 +05:30
Ratnadeep Debnath
ec09ca428b Generate openshift imagestream when build is absent. 2016-12-28 17:02:33 +05:30
Ratnadeep Debnath
c8d8cbbba9 Added unittests for openshift buildconfig integration. 2016-12-28 17:02:32 +05:30
Ratnadeep Debnath
f0165d209f In buildconfig, get git's current remote URL instead of current branch's remote. 2016-12-28 17:00:34 +05:30
Ratnadeep Debnath
bbbd4037b4 Update command to fetch current git remote for buildconfig. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
a1797a8d07 In buildconfig, detect current branch and it's remote url as defaults. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
875c7d95dc Include buildconfigs in kompose deployment. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
3b13dae515 Fix govet warning for openshift buildconfig.
Go vet warning was 'composite liternal uses unkeyed fields'.
2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
d8ec3db673 Bugfix in specifying custom build repo for buildconfig. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
ba9995c17b Update cmd to get git remote url for backwards compatibility
with older git-2.6.x
2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
eb719f85c2 Fix tests for buildconfig support. 2016-12-28 17:00:33 +05:30