JohnJan
59e8b88d0a
Fix: create a config with the same name reported an incorrect error ( #5270 )
...
* Fix: create a config with the same name reported an incorrect error
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: create a config with the same name reported an incorrect error
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-01-11 14:23:41 +08:00
barnettZQG
97ce8ba500
Feat: add the API that rollbacks the application ( #5273 )
...
* Feat: add the API that rollbacks the application
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: enhance the test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: use the klog/v2 package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-05 17:45:42 +08:00
Jianbo Sun
ec07e641ee
Chore: refine logs and align using klog/v2 ( #5145 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-02 14:50: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
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
barnettZQG
2dfe233ebe
Fix: do not change the workflow after the env changed ( #4954 )
...
* Fix: do not change the workflow after the env changed
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: check app when deleting the target from a env
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-31 11:15:48 +08:00
qiaozp
dc7d791127
Feat: pipeline API for apiserver ( #4840 )
2022-10-17 20:11:06 +08:00
barnettZQG
49ed837f97
Feat: support to manage the configs by the CLI, UI, and workflow. ( #4794 )
...
* Feat: support to manage the integrations by the CLI and the workflow
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: remove the xml
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add the unit test for the nacos writer
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the integration API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: make the provider commands to be deprecated
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: make the unit test work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: rename the integration to the config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: make the unit test cases work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: refactor the config commands
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the distribution status for the config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: sort the import packages
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: get the content format before render the content
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add some examples
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the command test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the definitions of the workflow step
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some tests
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some tests
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: retry the CI
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine some words
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-17 17:15:45 +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
930d866e09
Feat: velaux support override policy ( #4352 )
...
* velaux support override policy
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* in the middle of add test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
in the middle of work
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
reverse flacky test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix goling
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add test for syspend step
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-14 11:52:49 +08:00
Jianbo Sun
eea8570e10
Feat: add the CloudShell feature ( #4280 )
...
* Feat: add the CloudShell feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: handle the error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: change the auth package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the CSR name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the generate function
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-01 23:31:15 +08:00
barnettZQG
6eb7af9aea
Feat: add the creating and deleting permission APIs ( #4026 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-27 17:41:29 +08:00
barnettZQG
09ce919b2b
Feat: Refactoring the API Server module for better layering ( #3945 )
...
* Feat: Refactoring the API Server module for better layering
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: fix the lint errors
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-23 12:17:28 +08:00