Commit Graph
139 Commits
Author SHA1 Message Date
Zheng Xi ZhouandGitHub 9cbb3b4abe Apply builtin definition in system:init (#132)
* Apply builtin definition in system:init

Fix builtin definitions not installed issue

* install builtin definitions

* fix OAM runtime installation issue and refactor e2e

* fix e2e build issue

* manually install oam runtime and builtin capabilities

* remove system:init from e2e test
2020-08-14 09:50:16 +08:00
天元 2caf373b53 support app:run 2020-08-13 18:05:49 +08:00
天元 9ea02adf2f implement appfile oriented OAM Application run 2020-08-13 14:13:22 +08:00
Sun JianboandGitHub 30516c98b5 Merge pull request #144 from wonderflow/plugin
support vela cap:remove
2020-08-12 17:16:22 +08:00
Sun JianboandGitHub 93e6e720d1 Merge pull request #142 from sunny0826/fix-ls
fixed some err in print info
2020-08-12 17:11:14 +08:00
天元 1baa6a09d1 support vela cap:remove 2020-08-12 17:08:14 +08:00
guoxudong f084f81a1d fixed some err in print info
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-12 15:05:46 +08:00
天元 df2ad85c9c do some refactor for code as we change addon to capability 2020-08-12 13:37:20 +08:00
天元 a8aa5c6b20 rename addon to capability 2020-08-12 13:31:32 +08:00
天元 09929c0a66 fix vela:ls install status 2020-08-12 13:31:32 +08:00
天元 2f94c17890 support vela addon:install 2020-08-12 13:31:31 +08:00
天元 ae4ae3fff6 instal yaml for plugin 2020-08-12 13:31:31 +08:00
天元 0174305213 fix addon add and list 2020-08-12 13:31:30 +08:00
Zheng Xi ZhouandGitHub a5b3ed93dd Fix app:status issue (#140)
* Show trait type in `app:ls`

Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix #90

* followed comments to move some basic traits related functions to system.go

* Fix app:status issue

When the ApplicationConfiguration status haven't shown up,
it will hit an issue.
2020-08-11 17:38:34 +08:00
8b7f2e1a6e Show trait type in app:ls (#136)
* Show trait type in `app:ls`

Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix #90

* Update pkg/cmd/status.go

Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>

* followed comments to move some basic traits related functions to system.go

Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>
2020-08-11 15:14:14 +08:00
guoxudongandGitHub 5c46477523 Fix failure of bash autocomplete script (#135)
* fix auto-completion

Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-11 12:20:14 +08:00
Sun JianboandGitHub 69c1044d00 Merge pull request #69 from zzxwill/e2e
add e2e framework sample
2020-08-10 17:30:07 +08:00
zzxwill 5ffe9e2ce5 Temporarily fix oam kubernetes runtime CRD issue
after PR https://github.com/crossplane/oam-kubernetes-runtime/pull/162
is merged, this workround should be removed
2020-08-10 10:17:22 +08:00
天元 2a37a6dda7 add addon:update and refactor addon code 2020-08-10 00:08:49 +08:00
天元 6c1ad6c516 fix vela system:init info 2020-08-09 18:34:01 +08:00
erdun 78496b2035 tmp resolve 2020-08-08 01:35:34 +08:00
erdun 28042ed0b9 show command 2020-08-08 01:34:43 +08:00
天元 94a9b9f3c9 update readme and fix admin:init builtin resource 2020-08-07 23:48:51 +08:00
天元 9834ee23e2 pretty help 2020-08-07 23:39:45 +08:00
天元 41536fe2cd add refresh and use local cache instead request cluster every time 2020-08-07 19:56:46 +08:00
guoxudong 5cbd0bef98 add auto-completion command
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-07 17:08:24 +08:00
天元 93240b4ae6 make env help pretty 2020-08-07 16:38:23 +08:00
天元 772ea69fa2 remove kube flags 2020-08-07 15:08:35 +08:00
天元 8418534a43 rename rudrx/rudr to vela 2020-08-07 13:40:20 +08:00
Herman ZhuandGitHub e6d4b85e39 feat(admin): support ruder admin:init and ruder admin:info (#75)
* feat(admin): support `ruder admin:init` and `ruder admin:info`

Support `ruder admin:init` and `ruder admin:info`

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(admin): support `ruder admin:init` and `ruder admin:info`

Support `ruder admin:init` and `ruder admin:info`

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2020-08-07 13:02:23 +08:00
Sun JianboandGitHub 27d14c3fbb Merge pull request #96 from zzxwill/addon
Implement `addon:config` and `addon:ls`
2020-08-07 10:34:15 +08:00
zzxwill 6665731228 adapt to new spec.extension.template 2020-08-07 10:21:44 +08:00
天元 58b0f201bc add namespace to output, fixes #78 2020-08-06 16:42:47 +08:00
天元 84d18e43af fix env init don't create namespace 2020-08-06 16:03:53 +08:00
zzxwill d2fc983d30 Implement addon:config and addon:ls
Store addon center configuration in ~/.rudr/addon_config;
list workloaddefinitions and traitdefinitions, and check
wheter they are intalled.
2020-08-06 14:43:33 +08:00
天元 ae08333efa use cue template instead of parameter 2020-08-06 11:58:13 +08:00
Sun JianboandGitHub bcf758edfc Merge pull request #87 from baikai/fixissue68
Fix overlap of workloads in column `APPLIES TO` for command `rudr traits`
2020-08-06 00:18:11 +08:00
Sun JianboandGitHub 72ea2c8782 Merge pull request #73 from zzxwill/unbind
Detach trait
2020-08-06 00:16:54 +08:00
Sun JianboandGitHub 844b1e5c86 Merge pull request #92 from zzxwill/run-issue
Fix containerized:run issue
2020-08-06 00:15:41 +08:00
zzxwill fda918ba39 Refine README and add command app:xxx 2020-08-05 21:33:46 +08:00
zzxwill 650288de88 Fix containerized:run issue
Fix issue #91 of "panic: assignment to entry in nil map"
2020-08-05 20:15:17 +08:00
zzxwill 547fdd3ff6 refine trait detaching 2020-08-05 20:06:00 +08:00
zzxwill 38b906c0f0 use command rudr <TraitType>:detach to detach a trait 2020-08-05 20:06:00 +08:00
zzxwill 7ff3e3b7ca merging trait detaching from detach.go to trait_bind 2020-08-05 20:06:00 +08:00
zzxwill d200c6da6f delete file pkg/cmd/bind.go 2020-08-05 20:06:00 +08:00
zzxwill 0d4ee6970b refine detach with extended traitdefinition 2020-08-05 20:06:00 +08:00
zzxwill 0496bff6ea Detach trait
detach trait from an application
2020-08-05 20:06:00 +08:00
zzxwill 9c8c59ab2c check Marshal error 2020-08-05 11:28:45 +08:00
baikai.bk a13a423b78 fix issue 68. 2020-08-05 10:42:02 +08:00
zzxwill 6210fef049 use applicationName here instead of appConfig.Spec.Components[0].ComponentName 2020-08-04 21:16:52 +08:00