天元
96a589b098
move template out from extension
2021-02-05 14:45:30 +08:00
roy wang
93ae8a9099
fix staticcheck issues
...
add staticcheck CI action
add staticcheck in Makefile
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-01-29 18:42:03 +09:00
just-do1
0a6065d7d0
[ #929 ] Modification to comand vela show WORKLOAD_TYPE or TRAIT ( #948 )
...
* [#929 ] Modification to comand vela show WORKLOAD_TYPE or TRAIT
* update the describetion of --web
* [#929 ] update --web describtion
* update the doc of check-ref-doc.md
2021-01-28 12:28:47 +08:00
kqzh
3a73221661
fix err always nil
2021-01-26 13:58:10 +08:00
zzxwill
48f3ed94b7
convert configuration files to variables
...
open the exact reference doc link for a capability
add option `--no-website` to support display reference docs on console
2021-01-19 15:16:40 +08:00
zzxwill
3546001bf6
Generate a local site to host all reference docs
...
By Cli `vela reference` to generate reference docs for all workload
types and traits, and host them in a local website.
To fix #880
2021-01-18 12:18:15 +08:00
zzxwill
4c34048186
Refine error message for trait without spec.extension.template
...
Error message of trait without `spec.extension.template`
adheres with normal message when executing "vela workloads".
To fix #826
2020-12-25 18:25:19 +08:00
zzxwill
a54ba9bb54
Refine error message for vela installation
...
Refined error message for vela installation and increase
timeout to 5 minutes from 2 minutes. And did some code
refactoring
To fix issue #783
2020-12-18 19:41:38 +08:00
天元
3cb172f7ff
minor fix
2020-12-15 13:55:36 +08:00
天元
6480873e81
change import headers
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 11:08:54 +08:00
roy wang
6303d311c8
fix lint issues in /pkg/*
...
fix lint issues in /cmd/*
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-11-26 17:18:54 +09:00
天元
fc805214c7
standardize project structure: change api to apis
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-25 17:28:09 +08:00
天元
3c233d3a9b
fix lint
2020-11-23 15:55:46 +08:00
天元
6862435594
add tips about vela install capability not ready instead of directly fail, it could self-heal after background installation succeed
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-20 09:51:22 +08:00
天元
42c9e68512
fix go sec and remove unnecessary code
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-18 10:34:22 +08:00
Hongchao Deng
debc0da3b6
Merge pull request #620 from wonderflow/golint
...
add description for export const variable and function
2020-11-17 11:15:14 -08:00
天元
fb8c33af8d
add description for export const variable and function, fix golint
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-17 21:04:53 +08:00
天元
974027e233
fix go imports lint complain
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-17 20:40:08 +08:00
天元
daef0523fa
refactor extend trait feature and doc
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-16 19:22:38 +08:00
天元
cd4615405f
updated oam-k8s-runtime and go through rollout fix bugs
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-13 11:24:49 +08:00
天元
40ab610a8e
remove annotation for apiversion and kind, use discoverymapper instead
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-12 12:04:08 +08:00
天元
ab72ddbea4
clean code
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-12 10:54:21 +08:00
天元
c5ecd0aff3
keep silence when no Capability discovered
2020-11-11 17:44:32 +08:00
roy wang
24c7f23e8a
update local caps before listing workloads&traits
...
refine output of `vela system update`
add e2e-test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-11-05 01:40:03 +09:00
Hongchao Deng
cff6a74430
capability: use def name as name
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-26 20:51:16 -07:00
Hongchao Deng
3d17464c44
fix trait definition
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-26 20:51:16 -07:00
roy wang
879427176d
fix getting CUE template through URI
...
fix e2e-test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-25 23:42:32 +09:00
天元
590918af32
add description for workload and trait
2020-10-10 10:15:30 +08:00
Ryan Zhang
6863ac02a1
add back the test after the cue templates are updated ( #328 )
...
* add back the test
* enhance e2e test
2020-09-28 17:51:06 +08:00
Ryan Zhang
c69c809264
improve CUE format
2020-09-25 21:58:30 -07:00
Yue Wang
ee39054537
get cue temp from remote through URI ( #287 )
...
* get cue template of capabilities from remote by URI
Signed-off-by: roy wang <seiwy2010@gmail.com >
* add e2e tests
Signed-off-by: roy wang <seiwy2010@gmail.com >
* fix type conversion
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-09-18 15:59:36 +08:00
天元
1e4a1159b5
clean up
2020-09-11 17:52:14 +08:00
天元
044df63770
change go package to oam-dev/kubevela
2020-09-11 12:29:12 +08:00
天元
1354b4afa4
add golintci and make it happy
2020-09-10 14:57:36 +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
天元
1baa6a09d1
support vela cap:remove
2020-08-12 17:08:14 +08:00
天元
df2ad85c9c
do some refactor for code as we change addon to capability
2020-08-12 13:37:20 +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
Zheng Xi Zhou
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
天元
2a37a6dda7
add addon:update and refactor addon code
2020-08-10 00:08:49 +08:00
天元
41536fe2cd
add refresh and use local cache instead request cluster every time
2020-08-07 19:56:46 +08:00
天元
8418534a43
rename rudrx/rudr to vela
2020-08-07 13:40:20 +08:00
天元
ae08333efa
use cue template instead of parameter
2020-08-06 11:58:13 +08:00
天元
1b4e79eea6
refactor trait from rudr bind to rudr <trait-type> appname
2020-08-01 21:46:19 +08:00
天元
728ebb33b2
refactor rudr run to rudr <workload>:run
2020-08-01 13:14:06 +08:00