Ryan Zhang
b64009c02d
rollback after rollout failure
2021-03-11 18:31:41 -08:00
Ryan Zhang
2cebad6ff4
Enable more rollout e2e tests ( #1176 )
...
* enable a few CI tests
* fix webhook related test failure
2021-03-11 17:35:22 -08:00
Ryan Zhang
1048b399fd
rename appRollout and add more fine tune tests ( #1166 )
...
* rename appRollout and add more fine tune tests
* improve rollout
* do not advance AC if we are not rolling
* fix e2e test bug
* fix the test
2021-03-11 15:56:38 +08:00
Jianbo Sun
66c111be6c
add appRevision into context ( #1165 )
2021-03-10 00:47:17 -08:00
Jianbo Sun
76f7f7e7a5
Merge pull request #1168 from zzxwill/definition-controller-copyright
...
Add or update copyright for workload/trait definition controllers
2021-03-10 16:11:47 +08:00
Jianbo Sun
7f8e53b29d
Merge pull request #1103 from wonderflow/docs
...
add quick start for application CRD
2021-03-10 15:15:36 +08:00
zzxwill
9afe577087
Add or update copyright for workload/trait definition controllers
...
Added or updated copyright in newly added files for
orkloaddefinition and traitdefinition controllers and
its dependencies
2021-03-10 14:18:57 +08:00
天元
339889813b
add quick start for application CRD
...
add quick start for application CRD
Update docs/en/quick-start.md
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com >
Update docs/en/quick-start.md
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com >
2021-03-10 10:57:26 +08:00
Zheng Xi Zhou
c2b6e6efdd
Store capability OpenAPI V3 JSON schema in ConfigMap ( #1106 )
...
* Store capability OpenAPI V3 JSON schema in ConfigMap
Store the OpenAPI v3 JSON Schema generated from the parameters of
a capability which could be used by api server
To fix #899
address comments
try to fix data race issue
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* address comments: generate cue instance from cue json instead of local file
* update ConfigMap data at any time
* add more unit-test
* fix conflicts
* adapt to new spec.schematic.cue.template
* adapt to new spec.schematic.cue.template for controller unittest cases
* fix ci issues
* adapt to namespaced scope definition
* add more testcases on namespaced definitions with and without namespaces
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-03-10 10:44:58 +08:00
yangsoon
f60d6820d9
doc: add demo for webserver workload ( #1153 )
...
* add demo for webserver workload
* fix some fmt error
2021-03-09 16:47:07 +08:00
Jianbo Sun
dbc9523728
Merge pull request #1158 from captainroy-hy/rfc-log-1
...
use klog/v2 as logger in util/apply
2021-03-09 10:34:08 +08:00
roywang
6bf85f6f6e
use klog/v2 as logger in util/applicator
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-03-08 21:15:56 +09:00
Jianbo Sun
31b1490359
Merge pull request #1150 from Cweiping/fix/improve_install_doc_command_style
...
improve install doc command style
2021-03-08 11:17:14 +08:00
Jianbo Sun
8bbf62b8fe
Merge pull request #1148 from Cweiping/fix/fix_vela_svc_ls_error
...
fix vela svc ls error
2021-03-07 16:02:19 +08:00
Weiping Cai
0c1b9eba35
improve install doc command style
...
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io >
2021-03-06 21:05:55 +08:00
Weiping Cai
f17d3feb06
fix vela svc ls error
...
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io >
2021-03-06 15:27:52 +08:00
Ryan Zhang
28fce2d7de
rename applicationDeployment to appRollout ( #1146 )
...
* rename applicationDeployment to appRollout
* Update test/e2e-test/rollout_plan_test.go
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-03-05 14:28:53 -08:00
WYike
994ef23c0c
modify controller,webhook,api,chart ( #1085 )
...
solve failed test
add compatibility test for old crd
add app ns for cli
modify compatibility test
solve compatibility problem
add testing for GetDefinition func with cluster scope CRD
generate code for compatibility-test
move testdata generate to makefile
optimize ci pipeline for compatibility-test
2021-03-04 23:14:18 -08:00
Jianbo Sun
784fc0b402
Merge pull request #1143 from yangsoon/workflow
...
fix #1140 delete image after e2e test
2021-03-05 12:56:12 +08:00
Jianbo Sun
68d5e6cdcc
Merge pull request #1142 from ryanzhang-oss/e2e-test
...
add rollout cloneset based rudimentory e2e test
2021-03-05 12:15:49 +08:00
yangsoon
6c794bda08
fix issue #1140 delete image after e2e test
2021-03-05 12:04:07 +08:00
Ryan Zhang
1976a0fa64
removing the definitions by removing their CRDs
2021-03-04 19:56:54 -08:00
Ryan Zhang
c121d33b2c
fix webhook nil pointer
2021-03-04 19:20:02 -08:00
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
6b73436362
add first rollout e2e test
2021-03-04 18:25:30 -08:00
Jianbo Sun
d938b9ee9e
Merge pull request #1137 from ryanzhang-oss/fix-rolling
...
fix rolling with manual annotation and improve the demo a bit
2021-03-04 21:29:04 +08:00
Ryan Zhang
c520a24423
fix rolling with manaul annotation and improve the demo a bit
2021-03-04 00:34:09 -08:00
Ryan Zhang
eac2d37551
add webhook and kruise ( #1135 )
2021-03-03 23:21:02 -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
Jianbo Sun
a39c429020
Merge pull request #1133 from zzxwill/broken-link
...
Fix broken link
2021-03-04 11:11:14 +08:00
Jianbo Sun
003db753aa
Merge pull request #1134 from Cweiping/fix/fix/arm_build_error
...
fix arm64 build failed and block our release pipeline
2021-03-04 11:10:19 +08:00
Weiping Cai
2fb2306117
fix arm64 build failed and block our release pipeline
...
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io >
2021-03-04 09:59:43 +08:00
Zheng Xi Zhou
e5240932a7
Fix broken link
...
`E2E test` link in README.md is broken
2021-03-03 22:40:55 +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
Jianbo Sun
48ee5a1d1c
Merge pull request #1115 from wonderflow/cp1109
...
cherry-pick(1109 and 1114)
2021-03-02 16:35:16 +08:00
Jianbo Sun
84f34e3f01
Merge pull request #1118 from yangsoon/fixdoc
...
fix:fix doc, error link and format
2021-03-02 13:37:23 +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
yangsoon
488341398a
fix:fix doc
2021-03-01 20:25:18 +08:00
Jianbo Sun
a8337921bc
Merge pull request #1112 from ryanzhang-oss/rollout-e2e
...
Rollout e2e demo
2021-03-01 19:25:40 +08:00
Ryan Zhang
abf9270473
manual e2e test example with bug fixes
2021-03-01 01:00:27 -08:00
Holger Protzek
d6f28bfd9e
Removed prometheus and certmanager crd's ( #1005 )
...
* Removed prometheus and certmanager crd's, use cert-manager helm chart dependency instead
* Fixed unit and 2e2 tests. Added servicemonitors and certmanager crd dependencies for tests as testdata.
* Run `helm dependency update`
* Delete kubevela helm release and namespace if existing
* WIP - Bad hack to add the certmanager crds before installing kubevela with cert-manager as dependency. The cert-manager crds are not available, when kubevela Issuer are installed otherwise.
* WIP Added admission patch for webhook
* WIP Refactored secrets config
* WIP Fixed helm chart
* WIP Disabled metrics cap, due missing prometheus dependency by default
* WIP Added certmanager for e2e tests
* WIP Added certmanager for e2e tests
* WIP cleanup
* Updated docs
* Re-added certificate mount path
2021-02-26 16:46:01 +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
Jianbo Sun
e25f7598ca
Merge pull request #1107 from captainroy-hy/chp-1099
...
cherry-pick(#1099 ) add unit test
2021-02-26 11:03:29 +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