wangyike
ca8aa01c95
cp1172
...
delete useless test
fix ci error
2021-03-12 17:34:43 +08:00
Jianbo Sun
4cf4fdff30
align workload/trait definition schema with v0.2.2 spec ( #1175 )
2021-03-11 18:46:02 -08:00
wangyike
5c33598fe9
modify controller,webhook,api,chart
...
solve failed test
add compatibility test for old crd
add app ns for cli
modify compatibility test
solve compatibility problem
add testing for GetDefinition func with cluster scope CRD
generate code for compatibility-test
move testdata generate to makefile
optimize ci pipeline for compatibility-test
2021-03-09 10:10:48 +08:00
天元
96a589b098
move template out from extension
2021-02-05 14:45:30 +08:00
roy wang
2375e019bd
fix cannot sync trait without definitionRef
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-02-03 20:29:11 +09: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
roy wang
7629399683
allow traitDefinition to omit definitionRef
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-29 11:31: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
a674174cda
add more unittest
2021-01-19 21:56:26 +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
liuyan
c61efb1352
Fix function GetCapabilityDir error handler and variable env typo
2020-12-05 09:26:35 +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
天元
2876d2f921
fix more golints and leave TODOs for no fixed package or files
2020-11-23 18:21:43 +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
天元
efb76ee5ee
tunning docs
2020-11-16 14:07: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
天元
d67ce4d2a1
refactor server and fix CI
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-12 15:19:50 +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
天元
07351d9dd7
update vela init UI
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-11 16:16:01 +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
b52fc92e93
change podspec workload to deployment in built-in templates ( #458 )
...
* change podspec workload to deployment in built-in templates
* fix
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-28 13:28:27 +08:00
Jianbo Sun
d2452ad8ef
Merge pull request #446 from wonderflow/oam-runtime
...
upgrade oam-k8s-runtime dependency
2020-10-27 17:06:01 +08:00
Hongchao Deng
ac9a2a2b81
fix e2e
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-27 01:38:10 -07:00
天元
4c70136ba1
upgrade oam-k8s-runtime dependency
2020-10-27 15:32:42 +08:00
Hongchao Deng
f962dc0f11
fix ut
2020-10-26 23:38:11 -07: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
e9186fa8eb
fix plugin test
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
Hongchao Deng
80cf81e4d5
update templates
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-26 20:51:16 -07:00
roy wang
410eb2be2b
refact cmds from comp-centric into app-centric style
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-10-26 15:05:37 +09: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
Hongchao Deng
20a5457d5f
refactor pkg/application to use Appfile ( #402 )
...
* refactor pkg/application to use Appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* fix build
* fix workload
* refactor pkg/application to use Appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* rebase
* fix
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* e2e
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* update design
* add test coverage for appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* comment
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-21 13:01:46 +08:00
Hongchao Deng
af91fdf21e
cue: rename 'data' to 'output'
2020-10-12 21:02:33 -07: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