Jianbo Sun
9a0ea76210
Revert "Backport #2629 to release-1.1: patch status retry while conflict happens" ( #2704 )
...
* Revert "Fix: patch status retry while conflict happens (#2629 ) (#2638 )"
This reverts commit 4e9a7fc82e .
* Style: make reviewable
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
2021-11-14 17:07:30 +08:00
Jian.Li
fce05bffc5
Backport #2683 : Feat: output log with structured tag & add step duration metrics ( #2696 )
...
* debug task
(cherry picked from commit 93378eda67 )
* metrics
(cherry picked from commit 7366804014 )
* trace context
(cherry picked from commit f32105f23b )
* add step_duration metrics
(cherry picked from commit f9fc065e71 )
* add readme docs
(cherry picked from commit 69146b468d )
2021-11-12 23:55:00 +08:00
Zheng Xi Zhou
6c0b943dfc
Fix: application status.services doesn't include Terraform typed components ( #2692 )
...
Function aggregateHealthStatus() in pkg/controller/core.oam.dev/v1alpha2/
application/apply.go which is used to retrieve components status, was
abandoned. All unit-tests of it was abandoned too. Fixed it and restore all the unit
tests.
2021-11-12 22:33:09 +08:00
github-actions[bot]
d83fa47741
Fix: fix delete a component from application not delete workload ( #2690 )
...
lint
Fix: error test
Fix: fix e2e rollout
Fix comment
(cherry picked from commit 7fb0c2ad13 )
Co-authored-by: wangyike <wangyike_wyk@163.com >
2021-11-12 11:47:24 +08:00
github-actions[bot]
c89d1e1713
[Backport release-1.1] Fix: allow definition schema cm can be same name in different definition type ( #2639 )
...
* Fix: fix definition schema cm name
(cherry picked from commit ef899413a3 )
* fix ut
(cherry picked from commit 374aa64e32 )
* fix ut
(cherry picked from commit a4357f6acf )
* fix show
(cherry picked from commit b3033f9f80 )
* add switch default case
(cherry picked from commit dbe8167959 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-11-06 10:50:00 +08:00
Somefive
4e9a7fc82e
Fix: patch status retry while conflict happens ( #2629 ) ( #2638 )
2021-11-05 15:55:09 +08:00
github-actions[bot]
3b62e44ef8
Feat: add reconcile timeout configuration for vela-core ( #2633 )
...
(cherry picked from commit 923ec1844f )
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
2021-11-04 20:49:23 +08:00
github-actions[bot]
855cbfe3ec
[Backport release-1.1] Feat: store workflow step def properties in cm ( #2614 )
...
* Fix: fix notification def
(cherry picked from commit f35a213048 )
* Feat: store workflow step def properties in cm
(cherry picked from commit 7f3902536c )
* fix ci
(cherry picked from commit a252749f77 )
* fix data race
(cherry picked from commit 0b55ce8386 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-11-03 19:10:18 +08:00
wyike
73b3d3106b
Feat(rollout): fill rolloutBatches if empty when scale up/down ( #2569 ) ( #2582 )
...
* Feat: fill rolloutBatches if empty
* Fix: fix unit-test
* Test: add more test
Fix: lint
Fix: fix lint
2021-10-29 15:07:45 +08:00
wyike
237c71d94e
Backport 2527 to release 1.1 ( #2555 )
...
* Fix: resolve confict
* Fix: cherry pick 2472 to 1.1
2021-10-28 20:49:27 +08:00
Jian.Li
d21a337dd7
Backport 2522 to release 1.1 ( #2529 )
...
* Feat: not apply if render hash not change
* Fix: generateRenderHash panic
2021-10-27 11:56:11 +08:00
github-actions[bot]
e30876e4d2
Fix: compatibility bug ( #2470 )
...
make reivwable
(cherry picked from commit df5a802bd4 )
Co-authored-by: wangyike <wangyike_wyk@163.com >
2021-10-13 16:59:30 +08:00
github-actions[bot]
141c6bb2ef
[Backport release-1.1] Fix: change raw extension to pointer ( #2469 )
...
* Fix: change raw extension to pointer
(cherry picked from commit 113f785c97 )
* Test: fix ut
(cherry picked from commit 7b9dac98c2 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-10-13 16:58:20 +08:00
github-actions[bot]
bdfd8e1f8d
Fix: wrong log print format ( #2453 )
...
(cherry picked from commit 16ecbb8b91 )
Co-authored-by: Xiaoxi He <xxhe@alauda.io >
2021-10-12 19:27:53 +08:00
github-actions[bot]
d3006f2d9e
[Backport release-1.1] Fix: fix unhandled err ( #2450 )
...
* Fix: fix unhandled err
refer to https://lift.sonatype.com/result/bhamail/kubevela/01FFT7CSVNCPF6808ZM856V3HN?tab=results
(cherry picked from commit d0ced6cfc9 )
* Test: fix panic err
(cherry picked from commit e5e5f9ac42 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-10-12 14:36:52 +08:00
wyike
66013a9607
Fix: confilict ( #2443 )
...
Fix: nil pointer panic
2021-10-11 17:56:18 +08:00
github-actions[bot]
1d133df1dd
[Backport release-1.1] Feat: add support for envbinding with namespace selector ( #2440 )
...
* Feat: add support for envbinding with namespace selector
(cherry picked from commit 409fe1bf38 )
* Fix: service account kubeconfig e2e-test
(cherry picked from commit db7539641c )
* Docs: add comments to explain functions
(cherry picked from commit c9bf6b8914 )
* Docs: add envbinding example
(cherry picked from commit 0011c4563f )
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
2021-10-11 15:36:20 +08:00
Somefive
b2127ee4fa
Feat: use #ApplyComponent for EnvBinding ( #2382 ) ( #2414 )
...
* Feat: use #ApplyComponent in EnvBinding
* Fix: application test compRev control by resourcetracker
* Fix: add more detail in error info
2021-10-08 14:43:44 +08:00
Jian.Li
a865c85d05
Fix: Applied Resources Statistics Error ( #2398 )
...
* Fix: isSameObjReference
* Fix: healthScope
2021-09-30 14:24:09 +08:00
Tianxin Dong
ab2d2750f2
Fix: revision GC in workflow mode ( #2355 )
...
* Fix: revision GC in workflow mode
* Test: add revision cleanup test
* Fix: e2e test
2021-09-30 14:16:16 +08:00
Tianxin Dong
f9b218919a
Feat(workflow): add depends on in workflow ( #2387 )
...
* Feat: add depens on in charts
* Feat(workflow): add depends on in workflow
2021-09-30 10:30:44 +08:00
wyike
2c64d04417
Feat: pass owner to workload if rollout failed ( #2397 )
...
delete useless file
2021-09-30 09:52:20 +08:00
Jian.Li
ef653ebeb4
Feat: add inputs test cases and optimize code ( #2388 )
...
* Feat: add test case & optimize code
* Fix: e2e test
2021-09-29 15:08:00 +08:00
Jianbo Sun
a2ad91f2f5
Fix: try fix CI unit test ( #2376 )
2021-09-28 18:44:50 +08:00
whichxjy
811c783a00
Feat: support rollout controller for StatefulSet ( #1969 )
...
* Feat: support rollout controller for StatefulSet
* Feat: support one statefulset in rollout
* Feat: add tests for StatefulSet rollout controller
* Fix: correct workload-deleting error
* Feat: remove advanced sts
2021-09-28 11:46:30 +08:00
Tianxin Dong
360c19cf2d
Feat: add vela minimal chart ( #2340 )
...
* Feat: add vela minimal chart
* Feat: add README in minimal chart
2021-09-24 17:02:43 +08:00
Jianbo Sun
0a9518f583
Fix: remove appcontext CRD and controller ( #2270 )
2021-09-23 15:05:47 +08:00
Tianxin Dong
e6668ac390
Fix: do not override the workload name if its specified ( #2336 )
...
* Fix: do not override the workload name if its specified
* Fix: resolve comments
2021-09-23 15:05:25 +08:00
hughXia
cafb55256f
Fix: fix typo ( #2317 )
...
Co-authored-by: shengmiao.xia <shengmiao.xia@easystack.cn >
2021-09-17 22:09:29 +08:00
Hongchao Deng
d0e8418c4a
Fix: don't increment count in status ( #2306 )
2021-09-15 13:20:58 +08:00
Jian.Li
0e8ffd717f
Fix: apply-component bug ( #2292 )
...
* Fix: apply-component bug
* Feat: uniform apply-component input/output format
2021-09-14 21:37:46 +08:00
Somefive
e8d051a532
Support MultiCluster EnvBinding with cluster-gateway ( #2247 )
...
* Feat: init multicluster
* Feat: add secret namespace auto-detect
* Style: format
* Style: split gc codes
* Feat: add cluster cli
* Fix: rebase workflow on master
* Feat: add component selector for env binding
* Fix: selector & patch conflict
* Feat: add local cluster support & fix unit test
* Fix: fix omitempty bug
* Feat(health-scope): support multi-cluster's healthcheck
* Fix: resourcetracker gc bug & rename
* Feat: add multicluster to op.Read
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2021-09-14 20:35:10 +08:00
wyike
3d29df3a52
Fix: fix in middler of test ( #2275 )
...
add test
delete uesless
add comments
fix small issue
fix error
add charts back
2021-09-14 18:05:21 +08:00
Tianxin Dong
e73655a8b2
Refactor: change field exportKey to valueFrom ( #2284 )
2021-09-14 10:23:39 +08:00
Hongchao Deng
ce70f9f57f
Fix: add exponential backoff wait time for workflow reconciling ( #2279 )
2021-09-13 22:34:25 +08:00
Jian.Li
b66f2995a5
Fix: Bugs (as follows) ( #2278 )
...
* Fix: suspend step id
* Feat: add test cases
* Fix: reslove conflict
* Fix: reduce reconclie duration for test
2021-09-13 20:03:49 +08:00
Jianbo Sun
cad21c5138
Fix: refactor workflow and fix some e2e tests ( #2272 )
...
* Fix: add e2e plugin test back
* Fix: e2e rollout test and try change port to 37081
* Fix: add rollout plan test back
* Refactor: change the workflow state machine and add workflow succeed state
* Refactor: refine definition controller and fix e2e of app revision
* Refactor: unlock all the normal cases
* Fix: add helm schematic logic back into workflow
2021-09-13 14:17:12 +08:00
Tianxin Dong
af01349f28
Test: fix rollout e2e test ( #2277 )
2021-09-13 11:13:03 +08:00
Jianbo Sun
537f19f06b
Fix: remove podspecworkload controller and CRD ( #2269 )
2021-09-12 10:17:09 +08:00
Jian.Li
6cbdbe84b2
Refactor application code to make it run as Dag workflow ( #2236 )
...
* Refactor: remove use of AppConfig in AppRevision
* Refactor: remove insert secret and configmap
* Feat(workflow): upgrade
* Fix(conflict): workflow cherry
* Feat(workflow): support DAG mode
* Feat(workflow): prepare steps in step
* Feat(tools): random string
* Fix(rand): gosec weak random
* Fix(ci): test passing
* Feat(workflow): generate steps
* Fix: fix rebase from master
* Fix: fix workflow ut
* Feat(test): add test cases
* Fix: fix lint and rebase from master
* Refactor: application code
* Fix: fix ci lint
* Fix: make code reviewable
* Fix: workflow_test.go
* Feat: collect services
* Fix(ci): unit tests
* Feat: make one
* Test: application with input/output and workflow
* Fix: trace test
* Fix: update step index falied
* Feat: refactor op.#Load
* Fix: delete dead code
* Refactor: op.xxx
* Fix: patch component
* Test: add generator test
* Fix: add license
* Fix: pending e2e plugin test
* Fix: disable test/e2e-test
* Fix: patch by script
Co-authored-by: 天元 <jianbo.sjb@alibaba-inc.com >
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-09-12 10:12:46 +08:00
wyike
8b1ce6937f
Fix: remove matchlabels in webservice template ( #2255 )
2021-09-10 12:44:38 +08:00
Zheng Xi Zhou
19bcfdd8df
Fix: bump version of Terraform Controller ( #2250 )
...
Bumped the version of Terraform controller to change the filed of
Configuration's status.
Related issue: https://github.com/oam-dev/terraform-controller/pull/104
2021-09-09 17:19:57 +08:00
Jianbo Sun
65402bd926
Fix: remove some unused flaky tests ( #2242 )
2021-09-08 09:30:04 +08:00
wyike
ae724b2a9a
Docs: canary rollout demo (rollout part only) ( #2177 )
...
Feat: component definition support context.revision
2021-09-07 17:08:56 +08:00
Yue Wang
4ed40bebe3
Feat(app): show health status from HealthScope in application status ( #2228 )
...
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
Co-authored-by: roywang <royyuewang@tencent.com >
2021-09-07 11:27:29 +08:00
Eng Zer Jun
426aa7af34
Refactor: move from io/ioutil to io and os package ( #2234 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <zerjun@beatchain.co >
2021-09-06 18:33:42 +08:00
yangsoon
493e255d78
Fix: align the envbind-app name with the original application name ( #2232 )
2021-09-05 14:45:44 +08:00
Somefive
32b6502e74
Feat: add pressure-test parameter optimize ( #2230 )
2021-09-03 17:29:54 +08:00
yangsoon
d4277f644e
Fix(app): When only the policy is specified, the resources in the app need to be rendered and created ( #2197 )
...
* Fix(app): apply app when policy is specified
* Fix(policy): update env-binding policy
* Test(policy): add test
2021-09-01 17:27:47 +08:00
Zheng Xi Zhou
4e010d7bae
Fix: support more Terraform variable types ( #2194 )
...
Including null, list(...), map(...) Terraform types
2021-08-30 20:16:24 +08:00