Somefive
ef4bb07fb3
Chore: remove dm ( #6036 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 13:54:35 +08:00
Somefive
0df7803022
Feat: add validation for invalid definition attribute ( #6029 )
...
* Feat: add validation for invalid definition attribute
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix flaky test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-24 16:40:42 +08:00
yyzxw
3cb0f7b330
refactor: parse trait & scope ( #6017 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-22 19:21:01 +08:00
Somefive
530d7c5bd6
Feat: support resource update policy ( #6003 )
2023-05-17 16:11:06 +08:00
yyzxw
1af82cd282
cleanup: remove unused code and fix typo ( #5986 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
Signed-off-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
Co-authored-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
2023-05-16 12:37:00 +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
Somefive
e828d3c8cf
Feat: allow empty policy name ( #5917 )
2023-05-04 16:48:43 +08:00
Somefive
0174e9aa1f
Fix: multi cluster inline policy load extra definitions ( #5901 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-24 10:19:25 +08:00
Somefive
d8af202242
Feat: upgrade k8s.io to 0.26 ( #5758 )
...
* Feat: upgrade k8s.io to 0.26
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: replace temp replace
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-10 11:19:05 +08:00
Somefive
542b32bcf4
Chore: fix definition parse logic and allow if/for comprehension & use op.#Suspend for deploy ( #5743 )
...
* Chore: fix definition parse logic and allow if/for comprehension & use op.#Suspend for deploy
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: flaky mc test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: flaky mc test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-28 15:35:15 +08:00
Somefive
5790e57423
Feat: remove comp name dup check ( #5727 )
2023-03-24 15:21:58 +08:00
Somefive
50458bc455
Feat: memory optimization via enhance informer cache ( #5683 )
2023-03-20 10:19:21 +08:00
barnettZQG
79f1d5cb03
Chore: optimize the package dependencies ( #5596 )
...
* Chore: optimize the package dependces
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: remove the repetitive context
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the context key
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: Optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
---------
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-03-07 16:19:37 +08:00
Somefive
65215c00e4
Feat: refactor prometheus metrics ( #5592 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-01 14:32:35 +08:00
Somefive
b7e0cd86be
Feat: add deploy inline policy and support loading definitions when lack in the revision ( #5416 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-06 15:58:44 +08:00
Somefive
ce63df6b26
Feat: enhance health check to support bypass component check and add parameter to context ( #5412 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-03 15:49:13 +08:00
Somefive
cca8338832
Fix: ignore validation webhook for ref-objects typed component ( #5397 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-01 16:00:38 +08:00
barnettZQG
fbaea02408
Fix: the developer user can't load the definition ( #5317 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-11 18:27:56 +08:00
cezhang
1ce5c6d8ea
Feat: vela dry-run render results should be affected by override policy and deploy workflowstep ( #4815 )
...
* [Feature] vela dry-run render results should be affected by override policy and deploy workflowstep
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* multiple input files support; policy,workflow support; new flag: merge orphan policy or workflow
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* add more tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix comment issues
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* add tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix e2e
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
2023-01-11 13:52:49 +08:00
my-git9
2fb0633354
cleanup ioutil for newer go version ( #5238 )
...
Signed-off-by: xin.li <xin.li@daocloud.io >
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-12-29 19:34:45 +08:00
Joshua Agboola
a9bc43a9dd
Feat: Support SSH for retrieving terraform modules in private git repo ( #5059 )
...
* Feat: Support SSH for retrieving terraform modules in private git repo
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
* fix lint errors
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
* fix gofmt lint error
Signed-off-by: motilayo <joshuaagboola@live.ca >
* update gitCredentialsReference to gitCredentialsSecretReference, validate secret, improve known_hosts logic
Signed-off-by: motilayo <joshuaagboola@live.ca >
* SImplify logic to get publickey
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Set known_hosts and export SSH_KNOWN_HOSTS
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Call GetGitSSHPublicKey for cli
Signed-off-by: motilayo <joshuaagboola@live.ca >
* fix parser.go - nil check for ref.Client
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Unit test for GetGitSSHPublicKey
Signed-off-by: motilayo <joshuaagboola@live.ca >
* improve test coverage
Signed-off-by: motilayo <joshuaagboola@live.ca >
* make reviewable
Signed-off-by: motilayo <joshuaagboola@live.ca >
* minor improvements & cleanup
Signed-off-by: motilayo <joshuaagboola@live.ca >
* update secret name in test
Signed-off-by: motilayo <joshuaagboola@live.ca >
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
Signed-off-by: motilayo <joshuaagboola@live.ca >
2022-12-23 16:27:27 +08:00
qiaozp
4ad8a13b5e
Feat: support data-passing in deploy step ( #5161 )
...
* Feat: support component data-passing in deploy step
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* health check with input
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add union test for io and replication
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use pkg/slices.parMap
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reduce the GET request
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reviewable
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix break test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-23 14:50:28 +08:00
Jianbo Sun
b6f4328167
Feat: support outputs objects for policy ( #5183 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-13 14:52:16 +08:00
Somefive
734025f03f
Feat: takeover & readonly policy ( #5102 )
...
* Feat: takeover & readonly
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add cue def for read-only and take-over
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Docs: add example doc
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-24 09:48:27 +08:00
Somefive
89237d2681
Fix: app contains app override the child app with parent app label ( #4985 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-02 22:38:59 +08:00
Tianxin Dong
73bed17869
Feat: add mode in workflow template ( #4926 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-31 10:57:05 +08:00
Jianbo Sun
c0e1a1a323
Feat: support parameter in health check of definition ( #4872 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-10-18 17:16:23 +08:00
Somefive
668a637f86
Feat: upgrade go1.19 ( #4790 )
2022-09-28 10:19:28 +08:00
Tianxin Dong
d98016aa3d
Fix: use value instead of instance in openapi.gen ( #4739 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-09-20 15:18:31 +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
Somefive
cea9ef5c97
Chore: use functions from kubevela/pkg ( #4693 )
...
* Chore: use functions from kubevela/pkg
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: rename multiclusterpkg to pkgmulticluster
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-09-09 15:10:18 +08:00
Tianxin Dong
239c5474dd
Chore: refactor workflow from workflow engine ( #4631 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-09-02 12:55:03 +08:00
qiaozp
924d55381e
Feat: component replication ( #4449 )
2022-08-17 14:04:57 +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
Charlie Chiang
2d8cb1278c
Fix: reject applications with empty policy properties ( #4563 )
...
* Fix: reject applications with empty policies
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: change err msg
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Fix: use 400 instead of 422 to show err msg
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-08-05 15:03:52 +08:00
Somefive
aaf3f14fee
Fix: empty health policy do not check object existence ( #4496 )
...
* Fix: empty health policy do not check object existence
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: fix health check error
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-08-02 10:56:37 +08:00
Somefive
e595879da9
Feat: add featuregates to disallow url in ref-objects ( #4446 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-25 22:03:10 +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
ZhongsJie
d386b64ea2
Feat: provide defualt namespace for dry-run ( #4416 )
...
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
2022-07-21 10:04:20 +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
Somefive
0cb85d897a
Fix: health check use original ns if no override and original exists ( #4349 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-11 16:46:14 +08:00
huiwq1990
c97124a30f
Feat: add policy parser test ( #4174 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-07-06 15:42:06 +08:00
Somefive
51a60593cf
Fix: context.namespace use override namespace when rendering component and trait ( #4291 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-01 15:28:25 +08:00
Somefive
92fa67cd69
Feat: support url in ref-objects ( #4240 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-24 19:34:51 +08:00
Somefive
9c7d3f408d
Feat: support shared resource ( #4213 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-24 10:56:27 +08:00
Tianxin Dong
e10928d96f
Feat: add mode and meta in workflow ( #4206 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-06-23 10:55:34 +08:00
Jianbo Sun
71a02b434b
Feat: support dry run for policy ( #4201 )
...
* Feat: support dry run for policy
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: upgrade runc package
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-06-20 16:15:06 +08:00
Somefive
383a2bd695
Feat: minimize controller privileges & enforce authentication in multicluster e2e test ( #4031 )
...
* Feat: enable auth in multicluster test & restrict controller privileges while enabling authentication
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: fix statekeep permission leak & comprev cleanup leak
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: use user info in ref-object select
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: set legacy-rt-gc to disabled by default
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: pending healthscope with authentication test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-28 01:26:06 +08:00
zq200618
7d9c647b1a
Feat: support step group with substep in the workflow ( #3772 )
...
Signed-off-by: zhengq2006 <zhengq200618@cmbchina.com >
workflow substep develop
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
2022-05-23 10:26:21 +08:00
Zheng Xi Zhou
334446c264
Feat: support force delete Terraform typed application ( #3929 )
...
* Feat: support force delete Terraform typed application
If a Terraform typed application hangs on deletion, it could be forced to
delete by command line `vela delete xxx --force`
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix copyright
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Upgrade terraform controller api version
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add one more tests
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix two unit-tests
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-05-20 18:17:10 +08:00