天元
580110ed44
fix apply only once observedGeneration should mark after meet all dependency requirements && add log for apply only once
2021-02-24 17:31:31 +08:00
Jianbo Sun
9bb996e9d5
Merge pull request #1091 from ryanzhang-oss/render-workload-name
...
render the workload and trait name differently
2021-02-23 15:51:35 +08:00
Ryan Zhang
dee442eb3d
render the workload and trait name differntly
2021-02-22 21:22:54 -08:00
Jianbo Sun
dd222ac876
refactor cli/dashboard/apiserver to reference folder ( #1084 )
...
* refactor cli/dashboard/apiserver to reference folder
* address comments
2021-02-23 13:03:38 +08:00
Ryan Zhang
073f3bc0c7
add hashtag and consolidate libs ( #1082 )
...
* add hashtag and consolidate libs
* fix CI
2021-02-20 23:10:15 -08:00
Ryan Zhang
d3511415c2
add webhooks to the rollout plan and use AC as App snapshot ( #1031 )
...
* add webhooks
* app controller change
* add component revision and appconfig revision and test
* solidify the component revision logic and fix component revisoin bugs
* fix command cli e2e failure
* fix the bug caused by rawExtention
* fix UT test
* retry on component not found
* lint
* revert component revision create order
2021-02-19 12:11:26 -08:00
roy wang
062df46e47
fix ScopeDefinition not found blocking finalizer
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-02-10 15:50:06 +09:00
roy wang
e7396ae9ab
fix unstable unit test
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-02-08 17:01:39 +09:00
Jianbo Sun
da52367897
Merge pull request #1036 from captainroy-hy/fix-unstable-ut
...
quick fix unstable unit test
2021-02-08 10:04:16 +08:00
roywang
c908d8e1e7
quick fix unstable unit test
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-02-07 22:35:59 +09:00
zhinong.gt
994c194d0f
add data passing mechanism in kubevela
2021-02-07 16:43:13 +08:00
Dylan
abe01d2add
fix: update CR's status with retry.RetryOnConflict ( #1015 )
2021-02-06 23:08:22 -08:00
roy wang
47ab481eee
implement ApplyOnceOnlyForce
...
add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-02-06 12:58:32 +09:00
Ryan Zhang
b564e0ef26
add more code to complete the rollout plan ( #1024 )
2021-02-05 12:08:19 -08:00
Jianbo Sun
4b06961e6f
Merge pull request #1014 from wonderflow/definition
...
move template out from extension to spec.template
2021-02-05 15:51:44 +08:00
天元
96a589b098
move template out from extension
2021-02-05 14:45:30 +08:00
Ryan Zhang
15020660c9
cloneset controller draft
2021-02-04 17:01:22 -08:00
天元
868e0925d4
move health check and status out of extention
2021-02-04 17:56:20 +08:00
天元
87e52bb349
add demo, test and refine code
2021-02-04 14:14:52 +08:00
天元
f310665fe0
implement vela status in application CRD controller and refactor the health check code
2021-02-03 18:13:47 +08:00
Holger Protzek
f737379738
Added ingressClass to route trait ( #947 )
...
* Added ingressClass to route trait
* typo
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* run make reviewable
* fixed ingress test
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-02-02 09:52:20 +08:00
Ryan Zhang
7f64974701
This PR spells out the rollout states ( #972 )
...
* add rollout state transition:
* address comments
2021-02-01 17:40:59 +08:00
roy wang
93ae8a9099
fix staticcheck issues
...
add staticcheck CI action
add staticcheck in Makefile
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-01-29 18:42:03 +09:00
天元
b88309a333
fix inner containerizedworkload not work
2021-01-29 15:51:29 +08:00
Jianbo Sun
5c188dd9cc
Merge pull request #952 from wonderflow/removecode
...
remove unused dependency installation
2021-01-29 14:58:57 +08:00
天元
6922f7cfab
fix ci
2021-01-29 11:39:44 +08:00
天元
aed2494875
allow multiple outputs for workloaddefintion
2021-01-29 11:39:44 +08:00
Ryan Zhang
ad496b132a
further develop appDeployment controller
2021-01-28 17:59:31 -08:00
Zheng Xi Zhou
2a943c9429
Using Terraform as IaC module in KubeVela ( #863 )
...
* Integrate Terraform into KubeVela
Integrated Terrafrom into KubeVela to enable it to deploy
infrastruce resouces by `vela up`
* extend Terraform modules/files as WorkloadDefinition
stop printing terraform log to console
Support one workload consumes two cloud services
Refactor Terraform plugin based on Application Object
add testcase
* refactor code per reviewer's comments
fix rebase issue
* find lost code back
* refactor code to make the modification as little as to that of branch master
* remove blank lines from imports
2021-01-28 18:36:52 +08:00
天元
61c256a97c
remove unused dependency installation as we have reduce 3rd party dependency , they will be installed as capability from registry
2021-01-28 14:55:25 +08:00
Zheng Xi Zhou
aa03e9c9d4
OpenAPI: Application creation based on Application object ( #924 )
...
* OpenAPI: Application creation based on Application object
Implemented Application creation OpenAPI based on new Application object
To #913
* fix e2e problems
* fix import issue
2021-01-28 10:15:26 +08:00
Ryan Zhang
462be588af
address comments and fix CI
2021-01-26 20:47:56 -08:00
Ryan Zhang
c85bbe1ae2
add rolling annotation to the application
2021-01-26 00:29:49 -08:00
Ryan Zhang
a257f6e60c
application controller ignore annotation
2021-01-26 00:03:53 -08:00
Ryan Zhang
e664831ff6
application deployment
2021-01-25 22:17:35 -08:00
Jianbo Sun
97f45ae859
code refactor ( #935 )
...
* code refactor
* update boilerplate.go.txt
2021-01-26 10:26:41 +08:00
roywang
59a6ef5140
implement util/apply with three-way diff
...
add/fix unit tests
fix e2e tests
update doc & add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-21 18:05:29 +09:00
Ryan Zhang
d74dbb4fda
refactor application controller
2021-01-21 00:34:04 -08:00
Ryan Zhang
adbe1f9368
add the rollout code framework
2021-01-20 13:08:00 -08:00
zhangrun.zr
f55dd467b9
feature: add healthcheck policy for workload and trait by cue template
...
Signed-off-by: zhangrun.zr <zhangrun.zr@alibaba-inc.com >
2021-01-19 13:03:05 +08:00
Ryan Zhang
7524aeee31
Merge pull request #852 from rain18/task
...
feature: add http task for application cue template
2021-01-18 20:11:59 -08:00
roy wang
580056b209
fix unstable unit test
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-18 18:59:58 +09:00
zhangrun.zr
2706e63743
fix: use httptest instead of echo and rename context
...
Signed-off-by: zhangrun.zr <zhangrun.zr@alibaba-inc.com >
2021-01-18 15:52:22 +08:00
Ryan Zhang
df32d4b1ba
update rollout CRD spec
2021-01-15 19:19:32 -08:00
Jianbo Sun
89863b30e8
fix ci and refactor code ( #887 )
...
* adjust CI scripts
* fix go ci order
* try fix
* use appfile to update trait
* fix vela status
* use assert.ObjectAreEqual to check diff for map case
* remove application controller own AC and Components
* tune place
* fix lint
* update
* remove error check of vela init test
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com >
2021-01-15 19:04:12 +08:00
天元
1f1f3af7b7
refacter and add tests
2021-01-11 20:48:17 +08:00
天元
2761e7afb9
use map[string]string for scope
2021-01-11 10:54:57 +08:00
天元
8410f03eb0
addressing comments
2021-01-11 10:45:13 +08:00
天元
f694d1ad5d
add tests
2021-01-08 18:16:03 +08:00
天元
3dd954541e
add tests
2021-01-07 20:24:25 +08:00