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
Somefive
156f165b5c
Fix: cluster url ( #2675 ) ( #2705 )
2021-11-14 13:54:07 +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]
e8fe203265
[Backport release-1.1] Fix: minor fix for vela cli printing ( #2657 )
...
* Fix: minor fix for vela cli printing
(cherry picked from commit 45177b74e9 )
* add dockerfile go mod cache
(cherry picked from commit db5fd86a53 )
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2021-11-08 10:23:03 +08:00
github-actions[bot]
a075830ae1
Feat: add vela exec for multi cluster ( #2654 )
...
fix
support vela exec
(cherry picked from commit 6bdfbe2a4f )
Co-authored-by: 天元 <jianbo.sjb@alibaba-inc.com >
2021-11-07 09:08:36 +08:00
github-actions[bot]
8ab4634701
[Backport release-1.1] Fix: filter loggable workload in vela logs ( #2653 )
...
* Fix: filter loggable workload in vela logs
(cherry picked from commit d7168f2f13 )
* reviewable
(cherry picked from commit 76547e2c00 )
Co-authored-by: qiaozp <chivalry.pp@gmail.com >
2021-11-06 21:27:10 +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]
8de80ebdb2
[Backport release-1.1] Fix: add owner reference in workflow context cm ( #2621 )
...
* Fix: add owner reference in workflow context cm
(cherry picked from commit f5d5fe4463 )
* fix ci
(cherry picked from commit b4debba07b )
* delete useless test case
(cherry picked from commit 6fffd6c3d9 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-11-04 14:20:24 +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
github-actions[bot]
6bd5d8e6e2
Fix: abnormal aux name ( #2613 )
...
(cherry picked from commit 7b2503e85b )
Co-authored-by: Jian.Li <lj176172@alibaba-inc.com >
2021-11-03 15:27:37 +08:00
github-actions[bot]
22079aacd3
allow import package in custom status cue template ( #2610 )
...
(cherry picked from commit aa80658be8 )
Co-authored-by: chwetion <chwetion@foxmail.com >
2021-11-03 12:22:41 +08:00
github-actions[bot]
b2329d548d
[Backport release-1.1] Feat: vela logs support multicluster ( #2603 )
...
* Feat: add basic multiple cluster logs
(cherry picked from commit ed232ce4d8 )
* fix context
(cherry picked from commit 27cdad1e4b )
* Fix select style
(cherry picked from commit 11ea2693a7 )
* Fix select style
(cherry picked from commit 070dcf4e09 )
* remove useless env
(cherry picked from commit dec63906ce )
* fix naming
(cherry picked from commit 395a655341 )
Co-authored-by: qiaozp <chivalry.pp@gmail.com >
2021-11-02 15:51:58 +08:00
github-actions[bot]
9152c15a88
[Backport release-1.1] Fix(cli): client-side throttling in vela CLI ( #2586 )
...
* fix cli throttling
(cherry picked from commit ef7c640430 )
* fix import
(cherry picked from commit 93a4b8fd0e )
* set to a lower value
(cherry picked from commit e14623c9ca )
Co-authored-by: qiaozp <chivalry.pp@gmail.com >
2021-10-29 15:08:30 +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
Zheng Xi Zhou
d083039a32
Fix: backport all Terraform related features to release-1.1 ( #2553 )
...
Copy all Terraform related code to release-1.1 to fix probelms and support
features.
Fix #2547
2021-10-28 11:37:41 +08:00
Tianxin Dong
5e6be649c1
[Backport release-1.1] Feat: Commit step-generate data without success ( #2565 )
...
* Feat: commit without success
* Feat: add test case
Co-authored-by: Jian.Li <lj176172@alibaba-inc.com >
2021-10-28 10:48:39 +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]
eb5808e4ea
Feat: support secret in webhook notification ( #2516 )
...
(cherry picked from commit 62bd87f13f )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-10-19 10:46:39 +08:00
qiaozp
df8b60d521
Feat: add read object step def ( #2482 ) ( #2487 )
...
(cherry picked from commit 32364aa9e4 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Refactor: addon migrate to application (#2444 )
* Refactor: addon migrate to application
* Refactor: change test for addon
* Fix: golint
* Fix: add annotation const
* Refactor: make CLI compatible
* Fix: go-lint
(cherry picked from commit 8c4af1d69c )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-14 20:55:27 +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]
cfbaf38715
[Backport release-1.1] Fix: Closure Bug In newValue ( #2452 )
...
* Fix: new value bug
(cherry picked from commit dc184327a0 )
* Fix: strategyUnify Bug
(cherry picked from commit 1b2c049ea8 )
* Fix: e2e error
(cherry picked from commit f9bfbc0d53 )
Co-authored-by: Jian.Li <lj176172@alibaba-inc.com >
2021-10-12 19:10:39 +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
Zheng Xi Zhou
53a6d54b73
Fix: support terraform/provider-azure addon ( #2402 ) ( #2418 )
...
Also added some componentdefinitions for Azure cloud resource
2021-10-08 19:14:59 +08:00
github-actions[bot]
bcd072507b
[Backport release-1.1] Feat: multicluster support ServiceAccountToken ( #2415 )
...
* Feat: support serviceaccount in multicluster
(cherry picked from commit 6168af830e )
* Fix: add compatibility & support sa
(cherry picked from commit 0193d74dfa )
* Fix: add multicluster sa test
(cherry picked from commit d445d29649 )
* Fix: add test for upgrade func
(cherry picked from commit f4ba55b540 )
* Style: format
(cherry picked from commit 0a8645c30c )
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
2021-10-08 15:55:12 +08:00
qiaozp
ae075e6cb6
Refactor(cli): Refactor vela env, deprecate vela config ( #2037 ) ( #2413 )
...
* Refactor(cli): cut env to namespace, use application to save
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Fix: test
* Fix: typo
(cherry picked from commit a574fc0fbf )
2021-10-08 14:44:30 +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
Zheng Xi Zhou
305403ff8b
Support remote git repo for Terraform configuration ( #2337 )
...
* Fix: support remote git repo for Terraform configuration
Besides inline HCL Configuration, supprted remote git repo Configuration
* Fix: add unit-tests
* Fix: update all manifests in vela-minimal
2021-09-29 14:58:27 +08:00
Hongchao Deng
49a91ca4c5
Feat: add Addon REST API ( #2369 )
2021-09-28 18:45:32 +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
Jian.Li
22bf2e4c3a
Feat: inputs support setting value in array ( #2358 )
...
* Feat: input support array
* Feat: add test cases
* Feat: add comment
2021-09-28 09:18:07 +08:00
barnettZQG
3a310f0402
Feat: Initialize api for vela dashboard and CLI ( #2339 )
...
* Change the web framework to go-restful.
* Some API specifications are defined.
* Some sample code is provided.
2021-09-26 23:09:23 +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