Yue Wang
06a099f540
fix isControlledByApp in AC controller ( #1294 )
...
fix component_version e2e
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-03-25 21:19:07 +08:00
Ryan Zhang
efa5078d81
fix appRevision label getting overridden ( #1293 )
...
* fix lable getting overidden
* randomize namespace
2021-03-25 17:28:17 +08:00
Ryan Zhang
c5d81c975a
add abandoning state to the rollout ( #1290 )
...
* add abandoning state
* fine tunee2e timing and improve logging
* add back one application UT and fine tune timing in e2e and improve test robustness
2021-03-25 14:04:06 +08:00
Jianbo Sun
53ae9aaa40
add webhook convert. ( #1282 )
...
fix diff
update example and test data version
fix convert function
fix e2e for helm
clean up creationTimestamp in a hack way
fix ci
pending package suit test
fix group version
fix ci
fix ut
rename type to kind
fix example
fix conflicts
Co-authored-by: yangsoon <yangsoonlx@gmail.com >
2021-03-24 17:15:20 -07:00
Ryan Zhang
a4fda31829
Restore rollout after the change to point to appRevision ( #1271 )
...
* modify appRollout to reference appRevision
* fine tune rollout e2e tests
2021-03-24 14:09:40 -07:00
Yue Wang
b6218bf67d
re-open e2e-test for helm schematic ( #1277 )
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-03-24 15:19:50 +08:00
yangsoon
4b9e933ca5
add v1beta1 types ( #1268 )
2021-03-24 13:27:29 +08:00
Jianbo Sun
acf497b1c7
make CUE inner kube package as a standalone package && clean code ( #1263 )
2021-03-23 16:30:49 +08:00
Yue Wang
f554523196
generate OpenAPI schema for Helm schematic compDef ( #1250 )
...
* get JSON schema for Helm schematic ComponentDefinition
Signed-off-by: roy wang <seiwy2010@gmail.com >
* add e2e test
update doc
add unit tests
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-03-23 00:16:17 +08:00
Hongchao Deng
75c123df2f
fix metadata missing in AppRevision spec data ( #1257 )
...
* fix metadata missing in AppRevision spec data
* fix test
2021-03-22 11:29:25 +08:00
LeoLiuYan
48e8c24ad1
Remove duplicated logic of reset appRollout status
...
Signed-off-by: LeoLiuYan <929908264@qq.com >
2021-03-20 22:24:36 +08:00
Ryan Zhang
135282834d
swap appConfig with appContext ( #1245 )
...
* swap appConfig with appContext
* fix e2e test
* fix e2e test
* surpress helm test
2021-03-20 00:02:58 -07:00
天元
7931e2a0a5
more useful vela system dry-run
2021-03-20 12:51:00 +08:00
Jianbo Sun
657baf9f15
init applicationRevision Object as revision of Application ( #1210 )
...
* generate appRevision and create AC with the same name
* Update pkg/controller/core.oam.dev/v1alpha2/application/application_controller_test.go
* fix ci
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com >
2021-03-19 12:30:31 -07:00
Jianbo Sun
99e8ff648e
Merge pull request #1237 from mengjiao-liu/format-code
...
Code normalization
2021-03-19 16:07:16 +08:00
wyike
4903eb7cb2
refactor ac reconcile so that we can reuse it in new AC ( #1236 )
...
* refactor ac reconcile so that it returns the status
* add appContext to reuse appconfig reconcile logic
* fix lint
* update makefile for verbose info
* fix appcontext register error
* fix application configuration finalizer bug
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com >
2021-03-19 00:04:01 -07:00
Jian.Li
e4a5b17e90
Support import K8s native API and CRD in definition ( #1211 )
...
* vela builtin package
* add test cases
* add gvk test cases
* lint
* testEnv
* lint
* check-diff
* Optimized code
* test case split
* add docs
2021-03-18 22:22:40 -07:00
Jianbo Sun
276d544766
Merge pull request #1226 from oam-dev/fix-rollout
...
allow state transition to be modified at any state
2021-03-19 12:23:22 +08:00
Jianbo Sun
2084ac6e3d
Merge pull request #1230 from mengjiao-liu/normalize-function-name
...
Fix the function and method names that does not conform to the naming convention
2021-03-19 12:22:59 +08:00
mengjiao.liu
fdefd614cf
Code normalization
2021-03-19 10:46:01 +08:00
yangsoon
f51a07c802
add related test
2021-03-18 21:05:35 +08:00
mengjiao.liu
f4223ebc1a
Fix the function and method names that does not conform to the naming convention
2021-03-18 20:09:36 +08:00
天元
0161b082b6
fix data race
2021-03-18 17:56:22 +08:00
Ryan Zhang
b0bf9b1d96
allow state transition to be modified at any state
2021-03-18 00:39:02 -07:00
yangsoon
6a96062464
add related test.
2021-03-18 12:12:09 +08:00
yangsoon
b788401920
fix e2e_test
2021-03-18 12:12:08 +08:00
yangsoon
c678247211
fix unit_test.
2021-03-18 12:12:08 +08:00
yangsoon
3345846f78
add help_test & fix componentdef-controller
2021-03-18 12:12:08 +08:00
yangsoon
c349c94181
fix app_controller & helm related tests.
2021-03-18 12:12:08 +08:00
yangsoon
7328e572e5
replace workloaddef with componentdef in app_controller
2021-03-18 12:12:08 +08:00
Herman Zhu
dc89cfafa4
fix spelling mistake
...
Signed-off-by: Herman Zhu <zhuhuijunzhj@gmail.com >
2021-03-18 11:16:20 +08:00
Ryan Zhang
d4c2b7cb5a
Refactor appConfig Controller to make it reusable and rename appDeployment to appRollout ( #1208 )
...
* temp
* rename appDeploy and refactor AC controller
2021-03-16 22:46:38 -07:00
天元
d7dbcfc1cc
fix more lint error in deployment controller
2021-03-16 15:09:18 +08:00
天元
1cdcf2ab48
upgrade golang ci lint to 1.38.0 and fix lint error
2021-03-16 15:06:48 +08:00
Ryan Zhang
14b3a4d6cb
refine the user experience by waiting for the AC to be templated
2021-03-15 22:03:23 -07:00
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
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
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
天元
9d5b31be2b
remove local files, diretly use Definition/Application in Cluster
2021-03-12 10:59:24 +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
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