github-actions[bot]
29ecc5c0df
Feat: support vela show for workflow step definition ( #3161 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 23852b3d10 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-25 15:05:46 +08:00
github-actions[bot]
e9f7cf7c23
Fix: add context parameters into the error message ( #3159 )
...
Signed-off-by: zeed-w-beez <zeed.w.zhao@gmail.com >
(cherry picked from commit 170888063d )
Co-authored-by: zeed-w-beez <zeed.w.zhao@gmail.com >
2022-01-25 13:28:01 +08:00
github-actions[bot]
cebeff867a
[Backport release-1.2] Feat: addon parameter support ui-shcema ( #3155 )
...
* Feat: addon parameter support ui-shcema
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
(cherry picked from commit 8e2bf9c68d )
* add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 661d9f7a47 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-01-25 10:47:07 +08:00
github-actions[bot]
7902a19aae
[Backport release-1.2] Fix: retrieve Terraform variables from variables.tf ( #3153 )
...
* Fix: retrieve Terraform variables from variables.tf
If Terraform modules/resources are stored in remote git repos, get
variables from file `varialbes.tf`, or from `main.tf`.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit b257825af6 )
* set the required field per the variables' property
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 4b151582c5 )
* fix ut issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit b52145c8a4 )
* fix ut issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 410acc8ae2 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-24 13:56:59 +08:00
github-actions[bot]
ee8773e1cf
[Backport release-1.2] Fix: handle workflow cache reconcile ( #3148 )
...
* Fix: handle workflow cache reconcile
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 12df87ac11 )
* fix return and move backoff to memory
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit ee876f53c3 )
* handle failed to patch case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit eac4a1b370 )
* add store in err case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 32825c5c41 )
* make reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 02b9c60922 )
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit bff156cbe6 )
* do cleanup in ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 463bd96e78 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-24 10:37:48 +08:00
github-actions[bot]
8cf2f20846
[Backport release-1.2] Fix: workflow skip executing all steps occasionally ( #3147 )
...
* fix asi
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit 2c26caedd3 )
* fix lint
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit b63e892eb3 )
* add trace tag
(cherry picked from commit 1a6d79642e )
* add args for this feature
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit b9181b9fc0 )
* enable-asi-compatibility
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit 5d013db0bd )
Co-authored-by: Jian.Li <lj176172@alibaba-inc.com >
2022-01-23 10:13:59 +08:00
github-actions[bot]
cd036b87ae
Feat: support wild match for env patch ( #3116 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit fe0d33c6d9 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-01-18 18:07:05 +08:00
github-actions[bot]
7e447c6532
fix revision will change when add new trait with skiprevisionaffect to application ( #3117 )
...
Signed-off-by: chwetion <chwetion@foxmail.com >
(cherry picked from commit 86f6fef216 )
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-18 13:41:48 +08:00
github-actions[bot]
d34372bf47
[Backport release-1.2] Feat: add JFrog webhook trigger ( #3114 )
...
* add jfrog webhook to update application image
Signed-off-by: chwetion <chwetion@foxmail.com >
(cherry picked from commit 962fce6870 )
* edit jfrog default request header
Signed-off-by: chwetion <chwetion@foxmail.com >
(cherry picked from commit a977bfc9af )
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-18 11:51:15 +08:00
Somefive
12f392cd92
Fix: rollout workload namespace not aligned with rollout ( #3107 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-17 20:06:27 +08:00
StevenLeiZhang
af27e6a776
ignore vela-system, which is specified in needNamespace for addon metadata information ( #3109 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-01-17 20:02:05 +08:00
StevenLeiZhang
f57815a5bf
ignore files under the addon path of github addon registry ( #3099 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-01-17 20:01:46 +08:00
Somefive
69527b257c
Feat: support external revision in patch component ( #3106 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-17 19:29:28 +08:00
barnettZQG
d88d4d8eca
Fix: clear old data in mongodb unit test case ( #3103 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-17 19:06:29 +08:00
barnettZQG
fccc5df25e
Fix: can't query data from the MongoDB ( #3095 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-17 11:25:09 +08:00
yangsoon
6cee468743
Feat: add more performance optimization and prometheus metrics for controller ( #3086 )
...
* Feat: add more prometheus metrics
Signed-off-by: yangsoon <yangsoonlx@gmail.com >
* Feat: add detail gc rt duration metrics
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add monitor to client
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add all cache object
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Fix: watch job
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add deleg client
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add optimize for rt list and disable controllerrevision
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add apprev disable optimize
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Fix: optimize log
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add time recorder for app ctrl
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add in-memory workflow context
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add reconcile-reduction & random-pick-gc & optimize rt record
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add optimize for healthcheck & resourcetracker trigger
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: record the resource-tracker number by informer event-handler
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Feat: add promethus collect annotation in template
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Fix: command line comment bug
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: rename args and remove legacy controller metrics
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: make code reviewable
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Chore: optimize flag descriptions
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: break optimize package
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: gc policy test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-01-14 15:18:02 +08:00
wyike
102a155194
fix lost create time and spell error ( #3089 )
...
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-14 15:10:56 +08:00
wyike
f39a3fb792
Feat: system information collection logic in apiserver ( #3082 )
...
* Feat: userInfoCollection
Signed-off-by: wangyike <wangyike_wyk@163.com >
* Signed-off-by: wangyike <wangyike_wyk@163.com >
change enable/disable to update interface
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-14 10:16:31 +08:00
Somefive
8b5d7ed395
Feat: reset re-sync time ( #3008 )
...
* Feat: set resync
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: rename re-sync period
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor return value
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-13 20:12:54 +08:00
wyike
5b1c47c918
cue template health check skipStandard workload and fix test diverge ( #3087 )
...
Signed-off-by: wangyike <wangyike_wyk@163.com >
add annotation
Signed-off-by: wangyike <wangyike_wyk@163.com >
set skipStandardworkload in wl
Signed-off-by: wangyike <wangyike_wyk@163.com >
add annotation
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-13 19:08:43 +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
barnettZQG
b4732ed275
Feat: add cluster name in service endpoint ( #3076 )
...
* Feat: add cluster name in service endpoint
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add cli unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-12 14:44:22 +08:00
chwetion
bfbdb85503
Feat: add DockerHub webhook trigger ( #3081 )
...
* add dockerhub webhook to update application image
Signed-off-by: chwetion <chwetion@foxmail.com >
* fix e2e webhook response return value
Signed-off-by: chwetion <chwetion@foxmail.com >
* add e2e for dockerhub webhook
Signed-off-by: chwetion <chwetion@foxmail.com >
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-12 11:37:06 +08:00
wyike
d64c78db47
Feat: addon enable support local dir for install offline ( #3066 )
...
* local reader
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix lint
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix comments and add test
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-11 11:29:10 +08:00
Kingram
ceb95229cd
Feat: add Harbor webhook trigger ( #3065 )
...
* Feat: add harbor webhook trigger (#3029 )
Signed-off-by: kingram <kingram@163.com >
* resolve comments
Signed-off-by: kingram <kingram@163.com >
* fix: add comments
Signed-off-by: kingram <kingram@163.com >
2022-01-10 21:26:43 +08:00
Basuotian
8be11a7e7e
Feat: Add Lark support for notification ( #3053 ) ( #3059 )
...
Signed-off-by: Shuai Tian <tians1@xiaopeng.com >
Co-authored-by: Shuai Tian <tians1@xiaopeng.com >
2022-01-10 19:42:06 +08:00
Minglong Song
b30ca0c8a2
Fix: Do not fiter event triggered by resync for application controller ( #3064 )
...
Signed-off-by: songminglong <1247768069@qq.com >
2022-01-10 14:48:58 +08:00
Zheng Xi Zhou
1a50dd76b5
Fix: generate docs for Terraform ComponentDefinition ( #3051 )
...
* Fix: generate docs for Terraform ComponentDefinition
Generated kubevela.io docs for Terraform typed ComponentDefinition
with `vela def gen-doc xxx` cli.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Refactor code
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* refine cloud resource title
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-10 14:08:48 +08:00
Jianbo Sun
12a106fcfe
Fix: migrate test from crd v1beta1 to v1 ( #3061 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-10 10:25:35 +08:00
barnettZQG
53d3ff6915
Fix: security alerts ( #3058 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-07 16:27:23 +08:00
barnettZQG
d4762e09cd
Feat: support query endpoints in status command and speed up CLI response ( #3052 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-07 15:49:27 +08:00
Zheng Xi Zhou
96485ea0db
Fix: when a provider is set in ComponentDefinition, it should look for the provider ( #3047 )
...
* Fix: when a provider is set in ComponentDefinition, it should look for the provider
Fixed the issue "The error message is not correct when AWS provider is not available"
Fix #3046
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-06 19:02:03 +08:00
Tianxin Dong
251c440453
Feat: add ACR webhook trigger ( #3044 )
...
* Feat: add ACR webhook trigger
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change to interface
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix payload types
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-06 17:31:02 +08:00
wyike
770894412a
Chore: deprecate appDeployment related logic ( #3050 )
...
* deperecated appDeployment
Signed-off-by: wangyike <wangyike_wyk@163.com >
* delete more code
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-06 16:24:09 +08:00
Tianxin Dong
4d6c0eb9d5
Fix: reset step status to stopped if the workflow is terminated ( #3049 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-06 15:15:28 +08:00
wyike
53081d043b
Chore: deprecate and delete approllout related code ( #3040 )
...
* Fex: delete useles approllout related code
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix failed test
Signed-off-by: wangyike <wangyike_wyk@163.com >
Fix: failed e2e test
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix-test
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix test
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix e2e-test
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix e2e rollout test
Signed-off-by: wangyike <wangyike_wyk@163.com >
* delete useless test code
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix failed unit-test
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-06 14:33:11 +08:00
Jianbo Sun
8495465087
Refactor: refine cli commands && align kubectl-vela with vela && use getnamespaceAndEnv for all ( #3048 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-06 13:29:02 +08:00
qiaozp
5f31b9aad0
Feat: add test for registry name in addon response ( #2858 )
...
* add test for registry name when list addon
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* revert
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-01-06 11:48:34 +08:00
barnettZQG
9f2e43756e
Feat: support query service endpoints by velaql ( #3036 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-06 00:35:46 +08:00
Zheng Xi Zhou
8033279751
Fix: Generate doc for Terraform typed ComponentDefinition ( #3041 )
...
* Fix: Generate doc for Terraform typed ComponentDefinition
When the configuration of a Terraform Typed ComponentDefinition is in
remote Git, generate the properties for it. And generated outputs for
all Terraform ComponentDefinition
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-05 19:45:30 +08:00
chwetion
070b313897
Feat: support application trigger deletion ( #3037 )
...
* support application trigger deletion
Signed-off-by: chwetion <chwetion@foxmail.com >
* add unit test for deleting application trigger
Signed-off-by: chwetion <chwetion@foxmail.com >
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-05 14:25:24 +08:00
wyike
c170cecd34
fix addon panic bug ( #3026 )
...
Signed-off-by: wangyike <wangyike_wyk@163.com >
Fix lint
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-05 13:40:51 +08:00
Somefive
acac0554f3
Fix: filter managedfields update events ( #3043 )
...
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
2022-01-05 13:30:58 +08:00
wyike
1bceea29be
Fix: helm addon demo issues ( #3033 )
...
* helm-port-forward
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix several issues
Signed-off-by: wangyike <wangyike_wyk@163.com >
* Fix comments
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-04 15:57:57 +08:00
qiaozp
ac6b125b7f
Fix: error case is not tested when generate api schema ( #3035 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-01-04 11:14:57 +08:00
Zheng Xi Zhou
24c00fc99b
Fix: don't skip health check for observability in single cluster ( #3031 )
...
* Fix: don't skip health check for observability in single cluster
When there is no clusters, users use cli to enable observability,
we use workflow `apply-application-in-parallel` to enable the addon.
This workflow will skip health check and the addon won't become ready.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Fix CI issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-04 11:13:09 +08:00
barnettZQG
f468814371
Feat: add uischema manage command ( #3021 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-30 14:38:00 +08:00
barnettZQG
a1b1d4a6f8
Fix: trigger webbook bug ( #3024 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-30 14:37:40 +08:00
Tianxin Dong
72a00b57e6
Feat: add webhook token in application ( #2970 )
...
* Feat: add webhook token in application
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Fix: change update cm to commit context
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* refactor the code
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix json merge
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add create and update time
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-12-30 10:10:34 +08:00
Jamie
ff4b10f0ee
Fix: op.#Task couldn't work, debug task.cue and fix bugs ( #3005 )
...
Signed-off-by: yunjiazhong <yunjiazhong@tencent.com >
Co-authored-by: yunjiazhong <yunjiazhong@tencent.com >
2021-12-29 19:26:27 +08:00