Commit Graph
485 Commits
Author SHA1 Message Date
Tomas Kral 001e19c4b3 Merge pull request #385 from kadel/test-in-docker
Container for running tests and Makefile cleanup
2017-01-24 12:18:29 +01:00
Tomas Kral 55a2e60a30 Merge pull request #389 from cdrage/update-docs
Update documentation removing [0000] timestamp outputs
2017-01-23 16:22:29 +01:00
Tomas Kral 0b1b7f3c35 Rename some make targests: test->test-container test-all->test 2017-01-23 15:05:25 +01:00
Charlie Drage 06a63d6c81 Update documentation removing [0000] timestamp outputs
Updates the README as well as user_guide.md to remove the timestamp
outputs (as well as the random : that was added to the README.md)
2017-01-23 09:00:37 -05:00
Tomas Kral 20b844d6e9 Clean up Makefile and scripts in scripts dir.
If command is simple command call it from Makefile,
there is no need to have them in separate shell scripts.
2017-01-23 11:49:25 +01:00
Tomas Kral f530f99f02 Fix CreateLocalGitDirectory for tests.
If you didn't setup user.email and user.name `git commit` fails.
This configures user.email and user.name for newly created temporary git
repo.
2017-01-23 11:49:25 +01:00
Tomas Kral f68be75d60 Add make rules for building and running test image 2017-01-23 11:49:24 +01:00
Tomas Kral c8c2e8b7f6 Dockerfile for running tests 2017-01-23 11:49:24 +01:00
Tomas Kral 99c1a79fbd Merge pull request #383 from cdrage/clean-up-logging
Update logging for logrus
2017-01-19 18:37:25 +01:00
Charlie Drage 94a9f88521 Merge pull request #370 from cdrage/add-autocompletion
Add bash auto completion support
2017-01-19 10:04:56 -05:00
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