Jianbo Sun
198c836849
cherry-pick( #1136 ) fix revision enable workload check and prevent GC if replica>0 ( #1141 )
...
* fix revision enable workload check and prevent GC if replica>0
* fix ci and vet
2021-03-04 18:52:48 -08:00
Ryan Zhang
c520a24423
fix rolling with manaul annotation and improve the demo a bit
2021-03-04 00:34:09 -08:00
Jianbo Sun
570cf01949
Merge pull request #1117 from wonderflow/cap
...
align workload/trait definition schema with v0.2.2 spec
2021-03-04 11:55:08 +08:00
天元
8c8ca60756
align workload/trait definition schema with v0.2.2 spec
2021-03-02 17:35:58 +08:00
Ryan Zhang
7207819080
fine tune rollout experience with demo ( #1119 )
...
* fine tune rollout experience with demo
* fix test
2021-03-02 17:24:12 +08:00
天元
66177ddd13
update CRD and fix workload not create first time
2021-03-02 10:13:54 +08:00
Jianbo Sun
b4b3a8ab69
parent override child when annotation/labels conflicts && one revision will apply once only in force mode && AC.status CRD updated ( #1109 )
...
* when annotation/labels passthrough from parent to child conflicts, the parent will override the child.
e.g. 1) AC will override its component/workload; 2) workload will override child-resource; 3) AC will override its trait
* apply once only force will block workload apply when revision not changed even ac generation updated
2021-03-02 10:13:54 +08:00
Ryan Zhang
abf9270473
manual e2e test example with bug fixes
2021-03-01 01:00:27 -08:00
Jianbo Sun
abaac1de2b
Merge pull request #1108 from ryanzhang-oss/fix-appcontroller-loop
...
fix application controller loop
2021-02-26 11:21:09 +08:00
Ryan Zhang
d4a47f733f
fix application controller loop
2021-02-25 18:59:54 -08:00
roywang
171e20a7d6
add unit test
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-02-26 11:36:37 +09:00
Jianbo Sun
9bf008aa3f
Merge pull request #1102 from ryanzhang-oss/appConfig-init
...
Complete the app rollout implementation
2021-02-25 20:54:35 +08:00
Ryan Zhang
2b24bad2b8
appConfig prepare for workload rollout for the first time and complete the stand alone rollout logic
2021-02-25 00:58:17 -08:00
Jianbo Sun
97eac314de
cherry-pick( #1101 ) fix component custom revison loop infinitely create revision ( #1104 )
...
* fix component custom revison loop infinitely create revision
* use accurate compare function for revision to componentName
2021-02-25 00:52:28 -08:00
Jianbo Sun
3270bfc0da
Merge pull request #1092 from wonderflow/outputs
...
output not allowed in traitdefinition, should use outputs
2021-02-24 19:39:01 +08:00
天元
6eeb98870f
fix doc and test
2021-02-24 18:59:36 +08:00
天元
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
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
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
天元
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
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