Tomas Kral
2809cedb21
remove panic, that accidentaly got in
2018-03-29 16:55:53 +02:00
Tomas Kral
d86dc0792c
Merge pull request #290 from surajnarwade/fix-doc
...
Updated documentation for minro spell/grammer check
2018-03-29 16:42:55 +02:00
Tomas Kral
5ccbe00dcd
Merge pull request #288 from containscafeine/refactor-project-commands
...
Rename project commands
2018-03-29 16:42:17 +02:00
Tomas Kral
5baf09dc9c
Merge pull request #280 from ashetty1/ocdev_url_test
...
Adding `ocdev url` tests
2018-03-29 16:40:10 +02:00
Tomas Kral
805b768274
use project abstraction
2018-03-29 16:35:36 +02:00
Tomas Kral
f3d6d189b2
Merge pull request #273 from mik-dass/update_component
...
Added component update command
2018-03-29 16:32:34 +02:00
Anush Shetty
5038a5c469
Adding ocdev url tests
2018-03-29 18:39:22 +05:30
Tomas Kral
09b635bbdd
Allow switch to app that is not in config but exists in cluster.
...
There might be a situation where application is not defined in local config but it is present in OpenShift cluster.
This situation can happen for example if user delted config file.
In this case we need to add application back to the the config before we set is as active.
2018-03-29 14:55:45 +02:00
mdas
d5d2838d57
Added component update command
...
Signed-off-by: mdas <mrinald7@gmail.com >
2018-03-29 18:15:39 +05:30
Suraj Narwade
a20860d499
Updated documentation for minro spell/grammer check
2018-03-29 18:05:16 +05:30
Shubham Minglani
ccaa949a0b
Rename project commands
...
This commit renames the commands in project package to be more
consistent with the other packages.
- ListProjects() is now List()
- CreateProjects() is now Create()
2018-03-29 17:32:06 +05:30
Shubham
4bf21c01d1
Merge pull request #258 from mik-dass/project_list
...
Added the project list command
2018-03-29 15:10:33 +05:30
mdas
44cec00531
Added the project list command
...
Signed-off-by: mdas <mrinald7@gmail.com >
2018-03-28 23:08:59 +05:30
Shubham
ca313ba35f
Merge pull request #281 from kadel/speedup-coverage
...
speed up running unit tests on travis-ci
2018-03-28 18:34:42 +05:30
Tomas Kral
fcf63c74c9
run go test -i before running unit tests
2018-03-28 11:42:17 +02:00
Tomas Kral
86c7086dcb
Merge pull request #275 from containscafeine/update-cli-structure-in-readme
...
Update the CLI structure in README.md
2018-03-27 15:39:35 +02:00
Shubham Minglani
73a384e0f8
Update the CLI structure in README.md
...
Auto generated using `make generate-cli-docs`
2018-03-27 18:57:21 +05:30
Tomas Kral
c038bfe1f7
Merge pull request #271 from surajnarwade/fix-doc
...
Fixed getting started guide
2018-03-27 14:45:29 +02:00
Tomas Kral
c2ce85251c
Merge pull request #270 from surajnarwade/issue_269
...
Fixed newline issue in `ocdev project get`
2018-03-27 13:34:14 +02:00
Tomas Kral
8d30b34987
Merge pull request #272 from kadel/release-v0.0.3
...
release v0.0.3
v0.0.3
2018-03-27 13:28:12 +02:00
Tomas Kral
05649bfab8
release v0.0.3
2018-03-27 13:09:59 +02:00
Suraj Narwade
0e7240f41d
Fixed getting started guide
...
replacing `--dir` with `--local`, since `--dir` is invalid now
2018-03-27 16:21:21 +05:30
Suraj Narwade
22756bcaae
Fixed newline issue in ocdev project get
...
Fixed issue #269
2018-03-27 15:44:11 +05:30
Tomas Kral
7a5083356e
Merge pull request #268 from ashetty1/tests2
...
Adding tests for `project create`, `component list`
2018-03-27 11:43:04 +02:00
Anush Shetty
b441f0f7bf
Adding tests for project create, component list
2018-03-26 23:49:57 +05:30
Shubham
b4b1f977df
Merge pull request #252 from containscafeine/add-url-story
...
Add `ocdev url` command
2018-03-26 17:09:20 +05:30
Shubham Minglani
011a805eb7
Add ocdev url command
...
This commit adds the `ocdev url create/delete/list` commands which
can be used to add URLs to components.
Underneath, these commands manage OpenShift route objects to
achieve this functionality.
2018-03-26 16:27:07 +05:30
Tomas Kral
c95f488f4e
Merge pull request #243 from containscafeine/catalog-search
...
Add ocdev catalog command
2018-03-26 12:42:52 +02:00
Shubham
d0c8d048b1
Merge pull request #247 from kadel/rename-dir-to-local
...
Rename --dir flag to --local and add help messages for component commands.
2018-03-26 16:09:39 +05:30
Shubham Minglani
024c7a2b17
Add ocdev catalog list, ocdev catalog search
...
This commit adds support for `ocdev catalog` command which
currently has 2 commands, list and search, to list all the
components and to search for a component.
To achieve this, the service catalog API has been used.
2018-03-26 15:52:45 +05:30
Tomas Kral
80e85c5732
Rename --dir flag to --local and add help messages.
2018-03-26 12:20:06 +02:00
Shubham Minglani
e74e858bc1
Add service-catalog to vendor/
...
This commit adds github.com/kubernetes-incubator/service-catalog,
version: v0.1.9 and github.com/satori/go.uuid, version: v1.1.0 (
which is required by service-catalog) to the vendor directory.
The standard procedure of adding the dependencies to glide.yaml
and then running `glide update --strip-vendor` was followed.
2018-03-26 15:25:36 +05:30
Shubham
a429d11c38
Merge pull request #246 from kadel/smart-push
...
Make push smart
2018-03-26 15:24:38 +05:30
Tomas Kral
3bc4aeb768
Merge pull request #237 from containscafeine/prompt-component-delete
...
Prompt before deleting component
2018-03-22 13:44:47 +01:00
Shubham Minglani
40dadbb18d
Prompt before deleting component
...
The user will be prompted before deletion of a component, unless
overriden using --force/-f.
Fixes #200
2018-03-22 17:36:00 +05:30
Tomas Kral
2684b14d86
Merge pull request #248 from mik-dass/list_app_fix
...
Fix of the app list command
2018-03-22 11:24:13 +01:00
mdas
3b0d5d85f3
Fix of the app list command
2018-03-22 15:32:29 +05:30
Tomas Kral
72207aa98b
Merge pull request #239 from mik-dass/project_get
...
Added the ocdev project get command
2018-03-22 09:50:23 +01:00
mdas
09ab5fc660
Added the ocdev project get command
...
Signed-off-by: mdas <mrinald7@gmail.com >
2018-03-22 12:57:43 +05:30
Tomas Kral
935c85ce09
Merge pull request #242 from ashetty1/e2e_tests_travis
...
OCDEV e2e tests on travis:
2018-03-22 07:47:37 +01:00
Anush Shetty
69d7cac992
Minor fixes
2018-03-21 23:50:08 +05:30
Tomas Kral
6324787dff
Make push smart
...
When a component is created type and path to the source is saved to objects
annotations.
Later when `ocdev push` is called it detects what source was used and
uses the same source for a new build. (If it was a local source, the same dir is pushed to
BuildConfig, if it was built from remote git it starts new BuildConfig
with to rebuild from updated git.)
2018-03-21 16:29:00 +01:00
Tomas Kral
1fb4059a2b
Merge pull request #245 from containscafeine/refactor-occlient-initialization
...
Refactor to add initialization to occlient
2018-03-21 14:38:12 +01:00
Shubham Minglani
e296c3495f
Refactor to add initialization to occlient
...
This commit refactors the code to add a New() function to the
occlient package, and then modifies function signatures to take
client as a parameter.
2018-03-21 18:04:37 +05:30
Anush Shetty
6ff2d4680e
Add dependencies for e2e tests
2018-03-21 14:40:00 +05:30
Anush Shetty
9c51e36f58
OCDEV e2e tests on travis:
...
1. Pushing a separate PR with glide changes for depenedencies
2. The e2e tests are run with `oc cluster up` on travis:
(i) scripts/oc-cluster.sh is used to bring up an Openshift cluster.
(ii) scripts/travis-check-pods.sh is used to check if the router
and docker-register pods are running once the oc cluster is
up.
3. In `.travis.yml`, the e2e tests are run in parallel with the
other tests
2018-03-21 14:15:51 +05:30
Shubham
00f5c03e83
Merge pull request #241 from kadel/use-client-go
...
Use client go
2018-03-20 17:24:09 +05:30
Tomas Kral
aab6e804d7
add openshift/client-go to vendor
2018-03-19 17:03:58 +01:00
Tomas Kral
59a372c952
Use openshift/client-go for NewAppS2I and StartBuild
2018-03-19 17:03:52 +01:00
Shubham
679cfa79f5
Merge pull request #240 from kadel/switch-from-dep-to-glide
...
Switch from dep to glide
2018-03-19 17:55:48 +05:30