StevenLeiZhang
90246065d9
Fix: vela dry-run can not render Applicaiton, if x-definition(Compnent/Trait) is not installed to vela-system namespace ( #6135 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
2023-06-27 23:08:23 +08:00
zhaohuiweixiao
189555ba16
Refactor: addon dependency installation logic ( #6045 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
2023-06-15 11:20:50 +08:00
Somefive
f1bae16723
Chore: remove schematic kube and helm ( #6099 )
...
* Chore: remove unused code
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Chore: remove schematic Kube & Helm
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-06-12 10:41:02 +08:00
Somefive
f15eba2c5f
Chore: remove legacy rollout and scope ( #6068 )
...
* Chore: remove legacy rollout & scope
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* remove outdated params
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* fix
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-06-05 10:57:38 +08:00
Somefive
dd899c2b39
Chore: remove outdated apis(v1alppha2 ApplicationConfiguration Component, and HealthScope, Rollout) ( #6041 )
...
* remove outdated api
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* fix rt test: no component rt
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* recover context.revision to component hash
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-06-01 09:32:49 +08:00
Somefive
2298dd73dc
Feat: revert ci to kind ( #6035 )
...
* Feat: revert ci to kind
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* feat: use internal runner
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* fix test bug
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-05-25 17:49:44 +08:00
Somefive
d59b116d06
Feat: upgrade ginkgo to v2 ( #5940 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-05-15 16:07:51 +08:00
dependabot[bot]
258a1abcdd
Chore: (deps): Bump github.com/briandowns/spinner from 1.11.1 to 1.23.0 ( #5824 )
2023-04-28 09:25:14 +00:00
zhaohuiweixiao
98deab08f5
Fix: install dependency is invalid for runtime addon when it's cluster arg is nil ( #5865 )
...
* Fix: install dependency is invalid for runtime addon when it's clusters arg is nil
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
* Fix: add unit test for getDependencyArgs and checkDependencyNeedInstall
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
* Fix: Simplified the checkDependencyNeedInstall func logic
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
* Fix: add comments for checkDependencyNeedInstall
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
2023-04-28 10:16:33 +08:00
qiaozp
5ef0798d89
Chore: bump testing to Kubernetes v1.26 ( #5816 )
...
* Chore: bump testing to Kubernetes v1.25
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix condition in e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Bump e2e-multicluster-test to v1.25
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Bump e2e-rollout-test and rebase
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: EndpointSlice v1beta1 is depracated
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix vela ql test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* remove comment
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Bump all e2e test environment to v1.26
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2023-04-07 17:28:51 +08:00
zhaohuiweixiao
76dc154e92
Refactor: the addon dependency installation logic is accurate to the cluster ( #5206 )
...
* Refactor: the addon dependency installation logic is accurate to the cluster
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
* Fix: optimize the code based on the review
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
* Feat: add unit test for func checkDependencyNeedInstall
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
2023-04-07 17:15:44 +08:00
wyike
1b993ffcc9
fix bugs of specified addonName ( #5404 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2023-02-01 16:41:50 +08:00
Somefive
5a845104fb
Feat: support interactive mode to manually skip encountered errors ( #5266 )
2023-01-06 15:03:47 +08:00
Tianxin Dong
0b21c54236
Fix: fix ci with override-definitions for definitions conflict ( #5208 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-12-20 11:40:06 +08:00
wyike
277d94f447
Fix: bug when addon dependent an addon in other registry ( #5083 )
...
* fix several bugs of addon
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix golint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix error and add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix comments and fix apiserver test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix typo
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* add parameter in apiserver and test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-11-24 09:42:28 +08:00
Jianbo Sun
3bd38584d7
Feat: support vela up --wait and --timeout ( #5073 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-11-15 20:59:15 +08:00
wyike
e706b5d4a3
add tests ( #5058 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-11-15 13:16:11 +08:00
qiaozp
23cbc9c91f
Feat: implement pipeline APIs ( #4908 )
...
* add context when run pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Feat: implement pipeline API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Extract get log logic and implement getPipelineRunLog API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Init and delete pipeline contexts
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix panic
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Allow not specifying context
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* change pipeline to path parameter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add permission check filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* project -> projects in route
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix route conflict
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add project alias
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Feat: change the list pipeline API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: filter the project
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: the error of the run APi
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* fix log pipeline run API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix lint, fix the error of log api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix error returning
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the lable to annotation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* remove log config not found error
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix pipeline list api return no context info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: create the namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* get pipeline lastrun info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* allow query single step output
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* organize code in api layer
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix project filter, add context value when get pp run, extend lastRun
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix get output and implement get input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the last run
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* if query sub-step outout, return it directly
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the run stats
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the output
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* flatten the input/output api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* more info for i/o vars
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix nested i/o struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add fromStep in input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add e2e test skeleton
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add more e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* use db to store pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* keep the last 5k lines of log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* use stern param to keep last lines of logs
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* filter, nil labels, spec check
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* empty res, index, detail param
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix e2e test and unit test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add context e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* goimports
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add more test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* review
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* remove optional tag in returned value, unify the imports name
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add stop test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* more coverage
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* single case selct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* optimize log color
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add default permission and role
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix permission ut
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* change the log api implementation
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add color, add container order
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix filter nil will cut all log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* longer timeout and lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Co-authored-by: barnettZQG <barnett.zqg@gmail.com>
2022-10-31 23:59:04 +08:00
wyike
560dad3873
more error info for apiservice and add tests ( #4927 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
change the mock addon version
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-10-28 17:35:46 +08:00
Jianbo Sun
09e628025a
Feat: beautify addon list experience ( #4807 )
...
* Feat: beautify addon list experience
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: addon list e2e test
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: refine logs
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-09-30 13:23:27 +08:00
Somefive
668a637f86
Feat: upgrade go1.19 ( #4790 )
2022-09-28 10:19:28 +08:00
qiaozp
682c76b8c0
Fix: vela show panic for component markdown format ( #4706 )
...
* Fix: vela show panic for component markdown format
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* move code
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-09-14 16:29:25 +08:00
Somefive
ac52f4aba8
Chore: remove manualscaler ( #4716 )
...
* chore: remove manualscaler CRD define in apis/
Signed-off-by: arcosx <arcosx@outlook.com>
* chore: remove manualscaler CRDs yaml in charts/
Signed-off-by: arcosx <arcosx@outlook.com>
* chore: remove manual scaler design in design/
Signed-off-by: arcosx <arcosx@outlook.com>
* chore: remove manual scaler code in doc/ hack/ legacy/ references/
Signed-off-by: arcosx <arcosx@outlook.com>
* chore: remove manual scaler code in pkg/ test/ vela-templates/
Signed-off-by: arcosx <arcosx@outlook.com>
* chore: fix some code
Signed-off-by: arcosx <arcosx@outlook.com>
* Chore: remove manualscaler in test
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Chore: remove outdated tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Chore: remove outdated tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: arcosx <arcosx@outlook.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Co-authored-by: arcosx <arcosx@outlook.com>
2022-09-14 16:28:09 +08:00
Tianxin Dong
01bf4c5ac4
Feat: add failed state in workflow ( #4695 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-09-07 16:23:51 +08:00
qiaozp
e3c1e391f9
Chore: Migrate to k3d in CI & trim redundant steps ( #4652 )
2022-08-31 08:08:37 +08:00
wyike
e63377092a
Fix: try to fix addon flaky test ( #4593 )
...
* only for test
test
show info
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
try to fix e2e-test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
try to fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-08-10 19:44:21 +08:00
Tianxin Dong
c3ca308489
Chore: update cue version to 0.4.3 ( #4425 )
...
* Chore: update cue version to 0.4.3
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* resolve some comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* add more tests
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* rebase and add more tests
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* resolve comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-08-08 17:57:48 +08:00
wyike
258d816184
Feat: Check def binding to a component ( #4531 )
...
* finish logic
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* finish tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix ci
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix ci
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-08-02 21:36:58 +08:00
wyike
1053501df1
Fix: fix e2e flaky tests ( #4521 )
...
* try to show
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix e2e tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
add mock server back
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix flaky tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix e2e-test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
only for tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix
* only for tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-08-02 15:16:42 +08:00
barnettZQG
976d683185
Feat: refactor CLI commands related to resources ( #4500 )
...
* Feat: refactor CLI commands related to resources
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: remove the old test case.
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: optimize test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: rename 'vela pods' to 'vela status --pod'
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: sort the objects
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: list the pod by the labels
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: order the tree resource
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: set multicluster config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-08-01 19:44:27 +08:00
Jianbo Sun
cae4aa4a76
Chore: update description of policy/workflowstep definition ( #4428 )
...
* Chore: update description of policy definition
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: support workflow step generation for doc
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: refactor package refereces/plugins to references/docgen
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: add examples of def docs for workflow step
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Feat: refine workflow description
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: refine the workflow step definition
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: update workflow step definition
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-07-25 10:34:26 +08:00
Jianbo Sun
b24e7523d8
Feat: generate docs for reference automatically ( #4377 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Feat: refactor hardcode example to embd.FS
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: refactor doc gen for general types
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: update generate format
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: generate terraform reference docs
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Feat: add definition reference generate script
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: refine output format
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: remove dup annotation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: update doc
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: add i18n support
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Feat: add translation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Feat: add policy definition gen
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: add compatibility for lable Annotation change
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: add more tests
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Feat: allow mark example doc url on annotation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: align vela show with vela def doc-gen, add vela def show equals with vela show
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-07-18 19:22:55 +08:00
barnettZQG
a519a6c89d
Feat: optimize the dry run feature ( #4364 )
...
* Feat: optimize the dry run feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the bcode
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change some names
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-07-18 14:01:11 +08:00
wyike
7df0f20f70
support only provide vela or kubernetes version requirement ( #4284 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
helm package logic
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
delete useless code
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-07-01 17:06:22 +08:00
Siege Lion
cdafc03e7d
Feat: search useful addon version automatically ( #4232 )
...
* Feat: search useful addon version automatically
Verify whether the current addon version meets the system version requirements according to the obtained specified version. There are two system version requirements: Vela core version, K8s version.
If meet the requirements and continue to perform the next task.
If the requirements are not met, obtain the highest version that meets the requirements
Refs #4181
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: Optimize function implementation and code order, and modify test cases
add more comments of function
optimize package import sequence
optimize user interaction logic and error information extraction logic
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: change template string of regular expression to const type string
Signed-off-by: HanMengnan <1448189829@qq.com>
2022-06-29 17:46:56 +08:00
barnettZQG
2ac3a7562d
Feat: support to manage the CLI-created apps in VelaUX ( #4197 )
...
* Feat: support for automatically hosting CLI-created apps
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: add the comment
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-06-20 16:06:48 +08:00
Charlie Chiang
e81d8ddacb
Fix: skip endpoint table if no endpoints are found in addons ( #4166 )
...
* Feat: skip endpoint table if no endpoints are found in addons
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Style: rename function name
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Test: update tests to also exclude endpoints
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Refactor: reduce code changes
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
2022-06-20 10:37:40 +08:00
Charlie Chiang
b77cdaf5f5
Fix(cli): avoid incorrect addon name when using dot as local addon path ( #4126 )
...
* Fix(cli): avoid issues when using dot as local addon path
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Test(cli): add tests for `vela addon enable .`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Test(cli): use sample addon to test
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Test(cli): fix typos in tests accordingly
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Test(cli): correct file path
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Test(cli): do not focus single test
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Test(cli): fix typos in tests accordingly
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Refactor: correct error output
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com>
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com>
2022-06-09 10:12:19 +08:00
Shukun Zhang
f8c24ba912
Feat: vela ql into vela-cli ( #3519 )
...
Signed-off-by: Shukun Zhang <2236407598@qq.com>
2022-05-31 16:12:04 +08:00
Somefive
57309884fc
Feat: enhance controller auth by removing useless features & add authentication for componentrevision+healthcheck ( #3992 )
...
* Feat: use application identity in gc & componentrevision & collectHealthStatus
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Chore: remove useless features and roles
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: remove DELETE from mutating webhook
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Chore: enhance deploy error display
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: e2e test vela cli output match & controllerrevision recycle for serviceaccount impersonation
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-05-27 15:50:21 +08:00
Afzal Ansari
e6d47d3758
refactors http write resp to use 'html/template' instead ( #3829 )
...
Signed-off-by: afzal442 <afzal442@gmail.com>
2022-05-10 13:36:00 +08:00
wyike
28e2284284
mock an addon to fix flaky test ( #3665 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-04-15 10:30:05 +08:00
Tianxin Dong
62ecc70ade
Fix: fix token invalid after the server restarted ( #3658 )
...
* Fix: fix token invalid after the server restarted
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-04-14 22:25:43 +08:00
wyike
47050c90b6
Fix: cli addon multicluster bug ( #3547 )
...
* fix addon multicluster bug
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
delete useless test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
asd
asd
* fix test race condition
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-03-29 23:03:57 +08:00
Somefive
795231ceb5
Feat: add revision command ( #3506 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-03-28 14:47:47 +08:00
Somefive
2d19454a35
Feat: enhance labels & annotations trait ( #3454 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-03-16 17:50:12 +08:00
wyike
015f3cf72b
Feat: vela can set default namespace and user can enable fluxcd addon by default ( #3280 )
...
* vela default namespace and enable addon by default
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix lint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix cli error
fix comments
* add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-02-18 17:23:50 +08:00
Jianbo Sun
42837ef162
Fix: make e2e CI more stable in vela show case ( #3292 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-02-18 15:06:28 +08:00
barnettZQG
3d0b9b7c71
Feat: rollout controller is disabled by default ( #3250 )
...
* Feat: rollout controller is disabled by default
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: change rollout image pull policy
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: remove controller from the rollout addon in testdata
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: rollout controller is disabled by default
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: extended waiting time for the addon mock server
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-02-16 14:25:04 +08:00
Jianbo Sun
7f7a9dcac0
Feat: vela up support read from stdin && refine CLI output && fix vela addon command ( #3080 )
...
* Feat: vela up support read from stdin
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: addon name missed in output and fix test
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: refine CLI output
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Fix: add retry-on conflict on CLI
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-01-12 17:43:08 +08:00