Tianxin Dong and GitHub
16dfc1bf8a
Feat: add pending phase in workflow step ( #4365 )
...
* Feat: add pending phase in workflow step
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-07-19 14:31:20 +08:00
barnettZQG and GitHub
f876a0b8f8
Fix: only compare with the default environment ( #4402 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-19 11:01:33 +08:00
wyike and GitHub
60129e0f94
Fix: fetch workflowpolicy policy info when request detail policy info ( #4403 )
...
* fix several bugs
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix commentes
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
move test back
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-19 10:29:41 +08:00
Somefive and GitHub
e747eae779
Fix: prevent apply existing orphan resource ( #4399 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-18 19:23:41 +08:00
Jianbo Sun and GitHub
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 and GitHub
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
Charlie Chiang and GitHub
ace23f1c6f
Feat: enhance addon init ( #4370 )
...
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-07-18 10:40:42 +08:00
barnettZQG and GitHub
945852284f
Fix: read the ca cert from the test env ( #4391 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-15 22:09:13 +08:00
wyike and GitHub
203a7dfbda
add two fileds ( #4383 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-15 16:00:59 +08:00
barnettZQG and GitHub
1fc65f56bf
Feat: support HTTPRoute to generate endpoint ( #4378 )
...
* Feat: support HTTPRoute to generate endpoint
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: print the inner in CLI
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the comment
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-14 18:15:20 +08:00
barnettZQG and GitHub
e52ae78bd7
Fix: the project manager no permission to query the project base info ( #4380 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-14 11:54:58 +08:00
wyike and GitHub
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
Somefive and GitHub
3159da0bb3
Fix: several minor bugs ( #4367 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-14 10:51:22 +08:00
Jianbo Sun and GitHub
072b80f6c6
Feat: support vela def apply for yaml definition ( #4372 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-13 15:31:30 +08:00
Jianbo Sun and GitHub
cde76989a0
Feat: support resource topology for endpoints ( #4362 )
...
* Feat: support resource topology for endpoints
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: add and refactor the test for endpoint
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-13 14:51:06 +08:00
huiwq1990 and GitHub
b0020b0600
cleanup cluster exist check ( #4357 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-07-12 11:11:06 +08:00
Tianxin Dong and GitHub
a8d5403fee
Feat: optimize imports packages to reduce 75% cpu with better performance ( #4345 )
...
* Feat: optimize imports packages
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-07-11 17:32:18 +08:00
Jianbo Sun and GitHub
4bd4e9014f
Feat: support read from URL for --file command globally ( #4346 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-11 16:59:54 +08:00
Somefive and GitHub
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
Somefive and GitHub
2cfedf7439
Fix: escape resource name for label selector ( #4348 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-11 15:26:14 +08:00
Somefive and GitHub
b9b6c5f8bf
Fix: ignore empty output file ( #4347 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-11 14:59:32 +08:00
barnettZQG and GitHub
b7bf9df55f
Feat: supports multiple difference compare modes ( #4334 )
...
* Feat: supports multiple difference alignment modes
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change field name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-08 09:38:18 +08:00
Somefive and GitHub
cae7b327f8
Feat: reuse informer for app metrics ( #4336 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-07 16:46:35 +08:00
Somefive and GitHub
fd70aa96e9
Fix: disable apprev status update when apprev disabled ( #4337 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-07 15:32:46 +08:00
Charlie Chiang and GitHub
3a6d947f07
Feat: create VelaQL views using vela ql apply ( #4324 )
...
* Feat: create VelaQL views using `vela ql create`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: merge reusable function
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format import
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: make changes according to comments
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for `status` or `export` fields
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: make changes according to comments
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: rename variables
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-07-07 13:59:16 +08:00
wyike and GitHub
5de790413f
Feat: support self-signed helm repo ( #4322 )
...
* support self-signed helmrepo
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix golint
fix golint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add certkey and certfile
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-07 12:21:59 +08:00
barnettZQG and GitHub
09acc8a989
Fix: the target conflict when syncing the application ( #4312 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-06 17:54:16 +08:00
Jianbo Sun and GitHub
37605a1a8d
Fix: filter last applied config for CRD, fixes #3679 ( #4331 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-06 17:42:54 +08:00
wyike and GitHub
4ed3171b8e
Fix: more cluster system info range. ( #4329 )
...
* more collect info
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-06 16:13:33 +08:00
huiwq1990 and GitHub
a3ab08741e
end logic not use ( #4325 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-07-06 15:46:10 +08:00
huiwq1990 and GitHub
c97124a30f
Feat: add policy parser test ( #4174 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-07-06 15:42:06 +08:00
Charlie Chiang and GitHub
da5282a15d
Feat: show or list revisions in vela def get and vela show ( #4307 )
...
* Feat: support --version when getting definitions
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for vela show
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-07-06 15:41:00 +08:00
Somefive and GitHub
4509b974ad
Feat: enhance deploy workflow step generator ( #4315 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-06 14:31:46 +08:00
barnettZQG and GitHub
0e71a9d044
Feat: set the cloudshell instance max live time ( #4313 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-05 10:58:00 +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 and GitHub
2af8ab13d6
Fix: fail to query the application logs with the special characters ( #4305 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-01 20:14:05 +08:00
9042bb29d5
Fix: Jfrog Webhook Handler Cannot Get Right Image ( #4301 )
...
Merge branch 'release-1.4'
Apply suggestions from code review
Co-authored-by: lqs429521992 <lqs429521992@qq.com >
Update webhook.go
Fix: format
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Co-authored-by: qingsliu <lqs429521992@qq.com >
2022-07-01 20:04:50 +08:00
Tianxin Dong and GitHub
c6d170fef6
Fix: fix the goroutine leak in http request ( #4298 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-07-01 17:52:54 +08:00
Somefive and GitHub
8f11b5b1a4
Fix: kube apply ignore userinfo for rt ( #4297 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-01 17:30:55 +08:00
wyike and GitHub
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
Somefive and GitHub
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
huiwq1990 and GitHub
68d2d84880
addon use cluster sdk to check deploy ( #4282 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-06-30 19:10:32 +08:00
Somefive and GitHub
de37545a12
Feat: disable component revision for component wo rollout ( #4281 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-30 16:22:46 +08:00
Somefive and GitHub
0469ba494e
Fix: controller use cluster client to support empty label selector selecting local cluster ( #4275 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-29 19:04:28 +08:00
Siege Lion and GitHub
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
Jianbo Sun and GitHub
71df27a8c3
Fix: support stdin and url for vela ql ( #4274 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-06-29 14:50:24 +08:00
Charlie Chiang and GitHub
370940070b
Feat: filter definitions by which addon installed them ( #4156 )
...
* Feat: filter by source addon in `vela def list`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: change header year to 2022
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: use generic filters for extensibility
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: change variable addonFilter to addonName
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: update tests according to code changes
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: unify SearchDefinition params using filters
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: simplify tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: remove redundant code
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests with multiple filters
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: show SOURCE-ADDON column in `def list`, if any
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add addon filter to apiserver definition-lists
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: fix lint issues
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Chore: update swagger doc accordingly
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for filter Applying
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add a helper function to apply filters to lists
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add OwnerAddon to DefinitionBase
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for OwnerAddon field
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add addon util tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-06-29 10:55:50 +08:00
Charlie Chiang and GitHub
d3454ec9d5
Feat: implement addon push command ( #4261 )
...
* Feat: implement addon push command
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: split functions
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add command usages
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for addon push command
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Chore: fix lint
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix old incomplete tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: also add test in pkg/addon
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: sort import
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: add break in for loop and remove default repo checks
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add a cli option to keep original Chart.yaml
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: add more help text
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: fix typo in comments
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: add more help text
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-06-28 20:16:45 +08:00
Tianxin Dong and GitHub
4ecb26e8a2
Feat: store outputs for unsuccessful steps in workflow context ( #4270 )
...
* Feat: store outputs for unsuccessful steps in workflow context
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix the test of velaql
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-06-28 18:49:17 +08:00
Jianbo Sun and GitHub
8b441b6579
Fix: provider can't be added since 1.4 as context abused && Feat: add cache for remote terraform module in vela show ( #4256 )
...
* Fix: provider can't be added since 1.4 as context abused
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Feat: add cache for remote terraform module in vela show
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: add message for terraform resource in error state
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-06-27 11:31:06 +08:00