Commit Graph

464 Commits

Author SHA1 Message Date
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
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
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
Ratnadeep Debnath
e83b454536 Bugfix: Accept abs path for compose file for buildconfig.
Change directory to compose file dir when resolving git remote.
2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
bea50b1608 Fix tests for buildconfig. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
1a7b19c070 Resolve/print buildconfig source repo info globally for compose project. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
f5566d4097 Improve error handling and logging for openshift buildconfig creation.
- Error out on failure to create buildconfig, with meaningful error messages, e.g., git missing, error in fetching git remote, error in creating build context, etc.
- Add info log for build repo/branch being used.
2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
6f3e670af1 Refactor openshift buildconfig CLI options.
- Remove --buildconfig, -bc option. Create buildconfig if service has build info
- Rename --branch to --build-branch
- Rename --repo to --build-repo
2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
fa724fe12d Allow specifying repo,branch info for buildconfig over CLI. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
a9241e6fe5 Added example for openshift buildconfig. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
9e2849addf In Openshift, don't create imagestream tags for a service with build diretive. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
6156d144f2 Fix generating project source repo URL in openshift buildconfig. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
efc5203d82 Fix creating build context dir relative to project root dir. 2016-12-28 17:00:33 +05:30
Ratnadeep Debnath
f46274be38 In buildconfig, remove trailing newline from project's remote git repu URL. 2016-12-28 17:00:33 +05:30