Yue Wang
baa8d87e71
implemente kube schematic ( #1298 )
...
* implemente kube schematic
generate schema for kube schematic parameters
add e2e test
Signed-off-by: roywang <seiwy2010@gmail.com >
* add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
* add doc
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-03-26 23:02:58 +08:00
Jianbo Sun
1c89435515
fix app upgrade without rollout and rollout plan will create multiple version resources ( #1315 )
...
* fix app upgrade without rollout and rollout plan will create multiple version resources
* add and enhance tests
* fix test
2021-03-26 22:20:55 +08:00
yangsoon
2c68c0e6d4
fix docs example ( #1316 )
2021-03-26 19:14:07 +08:00
wyike
74a82e0397
add header-check.sh ( #1310 )
...
add ci workflow
update scripts
add missed licence header for all files
2021-03-26 15:24:19 +08:00
Ryan Zhang
0926469541
fix appRollout CRD version ( #1303 )
...
* fix appRollout CRD version
* make rollout e2e more robust
2021-03-26 08:23:10 +08:00
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
yangsoon
fc55b65aad
Compatible with Application containing WorkloadDefinition type helm moudle ( #1261 )
...
* add workloaddef ref to helm.
* fix package_suit_test
* show git diff result.
2021-03-24 21:22:29 +08:00
Jianbo Sun
9366c6e0b4
add hpa trait and fix template without params ( #1279 )
2021-03-24 16:18:58 +08: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
Hongchao Deng
ab7ccb7499
Merge pull request #1272 from hongchaodeng/appd-1
...
AppDeployment: Add definitions and utilities code
2021-03-23 20:52:02 -07:00
Jianbo Sun
320651c80d
add doc for cue development guide ( #1269 )
...
* create toc
* add CUE development-guide
* fix dry-run description
* Update docs/en/cue/development-guide.md
* finish the guide
* fix ci and sidebar
Co-authored-by: yangsoon <yangsoonlx@gmail.com >
2021-03-24 11:08:09 +08:00
Hongchao Deng
6e73038f92
fix lint
2021-03-23 22:33:54 -04:00
Hongchao Deng
baff3d77c4
AppDeployment: Add API types, necessary labels, and utilities
2021-03-23 22:33:54 -04: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
yangsoon
7b1037ccad
application-controller compatible workloaddef.
2021-03-18 19:36:55 +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