Daniel Higuero
1a001e5b29
Address GolangCI lint 1.55 errors ( #6453 )
...
Signed-off-by: Daniel Higuero <daniel@napptive.com>
2024-02-07 17:27:32 +08:00
qiaozp
94cbcad471
Chore: tidy appHandler ( #6300 )
2023-08-28 11:01:33 +08:00
qiaozp
bab5bb2caf
Refactor: capabilities and workload in appfile parsing ( #6250 )
2023-08-10 14:41:20 +08:00
qiaozp
00ae0c9494
Feat: support offline dryrun with deploy step ( #6234 )
2023-07-26 18:09:01 +08:00
JohnJan
f3e920ab60
Refactor: parse workloads ( #6185 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2023-07-05 09:49:34 +08:00
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
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
c255d21ad6
Chore: remove unnecessary go mod ( #6093 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-06-08 15:32:57 +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
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