Ryan Zhang
e61cba4add
add deployment demo
2021-03-15 20:40:02 -07:00
Ryan Zhang
7bd96bb324
implement deployment controller
2021-03-15 20:40:02 -07:00
Ryan Zhang
c34c5a9a6c
finalize controller interface
2021-03-15 20:40:02 -07:00
Ryan Zhang
96d9287525
add deployment rollout demo
2021-03-15 20:39:55 -07:00
Yue Wang
1652b4cf0c
init Helm module ( #1131 )
...
use settings from App to override Values
add discovery util to get workload created by helm module
add helm typed structs into workloadDef and traitDef
update doc & refine code
add e2e test for helm module application
use oam.dev/catalog as helm repo
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-03-15 00:54:43 -07:00
South China University
dd0979b912
Use ‘Ubuntu’ as default base image instead of 'Distroless' for debug convenience ( #1186 )
...
* use ubuntu as default base image
* Apply suggestions from code review
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-03-15 12:24:12 +08:00
yangsoon
60df873b93
Store ComponentDefinition capability schema in configMap ( #1180 )
...
* store componentdefinition capability schema in configMap
* fix componenetdef & traitdef controller test.
* change some componentdefinition field
* fix unit test error
* fix some code bug
* fix some yaml file error.
* fix copyright error
2021-03-15 11:08:46 +08:00
Jianbo Sun
52657ac7ba
Merge pull request #1174 from wonderflow/cli
...
align cli to the application object
2021-03-12 16:42:06 +08:00
Jianbo Sun
99b8e4aba3
add license checker into CI ( #1182 )
2021-03-12 00:34:51 -08:00
wyike
ccc5826616
Remove 3 standard controller (route autoscaler metrics ) ( #1172 )
...
* delete 4 standard controllers related code
delete related yaml
delete setup controller
add back podspecworkload controller
try to fix e2e
update related docs
fix failed test
fix docs problem
remove useless scheme
up timeout for e2e-test
change doc structure
* fix go mod
2021-03-12 14:57:59 +08:00
天元
2d7cbf9467
faster vela traits/workloads
2021-03-12 14:02:45 +08:00
Jianbo Sun
cc044b0de5
Merge pull request #1181 from ryanzhang-oss/add-failure-rollback
...
enable rollout fail revert e2e test
2021-03-12 11:35:18 +08:00
天元
9d5b31be2b
remove local files, diretly use Definition/Application in Cluster
2021-03-12 10:59:24 +08:00
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
天元
d84ebd3ae9
vela ls will list applications
2021-03-11 17:17:05 +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
wangyike
c47dd8c16b
fix dryrun use namespace
2021-03-11 15:47:15 +08:00
天元
bdf239f1ae
delete health scope when delete app
2021-03-11 15:34: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