wyike and GitHub
60b8ec3ff2
Set scpoe reference in application status.Service ( #1540 )
...
* WIP add new type
* add code and test
* WIP finish docs
* add sidbar for docs
2021-04-22 12:11:04 +08:00
Ryan Zhang and GitHub
467506c498
Finalize deployment rollout ( #1539 )
...
* finalize deployment rollout
* refactor workload controllers to base on the same parent
2021-04-21 13:42:49 +08:00
Ryan Zhang and GitHub
0ac7f02fc9
Continue to add rollout integration test ( #1535 )
...
* refine the workload controllers with test
* refine deployment rollout that supports rollback
2021-04-20 11:47:29 -07:00
Herman Zhu and GitHub
b726c5291f
feat(app) add k8s event for Application ( #1463 )
...
add k8s event for Application
fixed #1424
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com >
fix
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com >
2021-04-20 12:05:36 +08:00
yangsoon and GitHub
fb6d505e6e
fix kubectl vela -h ( #1512 )
2021-04-16 20:43:26 +08:00
wyike and GitHub
ebc8476a31
garbage collection mechanism for AppRevision ( #1501 )
...
* WIP refactor gc func
WIP write gc code
WIP update chart,cmd args
add cleanupRevison func into garbageCollection
add more test
finish unit-test
refactor use func implements
Complete e2e test
WIP rewrite some logic
add func test and rewirte context pointing to func
fix cilint
refactor some function
fix typo
fix ci error
change gc logic
after change gc number, fix all test
add check appRevision collection
WIP finish most code
* add rollout batch to fix rollout e2e-tet
* fix component name in rollout
* ignore gc error, just log the error
2021-04-16 16:46:41 +08:00
Zheng Xi Zhou and GitHub
0333b9e891
Refactor template_test.go to make it readable ( #1507 )
...
Some tests are not named which make it difficult to
read test cases and add more
2021-04-16 15:39:05 +08:00
f9f2c3b119
update: try to add workloadDefinitionRef to application status ( #1471 )
...
* add workloadDef in application status' services
* Update pkg/controller/core.oam.dev/v1alpha2/application/apply.go
* fix: go fmt
Co-authored-by: charles <charles.cai@sap.com >
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-04-16 13:21:52 +08:00
34684650c3
fix appContext update failed error ( #1500 )
...
* fix appContext update failed error
* Update pkg/controller/core.oam.dev/v1alpha2/applicationcontext/applicationcontext_controller.go
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* gofmt comments
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-04-16 13:05:09 +08:00
Ryan Zhang and GitHub
e76992df87
randomize port to listen to separate tests ( #1497 )
...
* randomize the port
* make all tests sequential
2021-04-16 10:16:20 +08:00
yangsoon and GitHub
199e747865
Introduce vela as a kubectl plugin ( #1485 )
...
* add kubectl plugin
* add vela show
* add test
2021-04-15 18:25:46 +08:00
Jianbo Sun and GitHub
c6b65cbd5b
fix flaky test ( #1498 )
...
* fix flaky test
* fix flaky check apprevision created more than one
* remove unused annottaion
2021-04-15 18:25:17 +08:00
xiqiu618 and GitHub
9fa237721e
add app name as label for AppRevision ( #1488 )
2021-04-15 15:41:53 +08:00
Zheng Xi Zhou and GitHub
384c5ab6a9
Remove trait-injector from controller options ( #1490 )
...
As trait injector isn't used, so removed it.
2021-04-14 18:54:02 +08:00
wyike and GitHub
a7bfb2fb6f
refactor appRevison extract func to utils ( #1481 )
...
* refactor appRevison extract func to utils
* add some corener case check
* add more checks
2021-04-14 15:48:23 +08:00
Ryan Zhang and GitHub
f7cfe6fbae
improve cloneset integration test suite ( #1482 )
2021-04-14 12:29:28 +08:00
Shiwen Cheng and GitHub
e8ed4d78cf
Keep docker binary command due to the issue #416 ( #1478 )
2021-04-14 11:26:35 +08:00
Yue Wang and GitHub
dcf79a9b57
fix falky unit test ( #1474 )
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-04-13 20:01:47 +08:00
Yue Wang and GitHub
b411d79ed0
add webhook validation on CUE template outputs name ( #1460 )
...
add hooks for process.Context to do validation
add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-04-13 19:18:15 +08:00
Yue Wang and GitHub
63b348f4d8
implement cli vela system live-diff ( #1419 )
...
move dry-run and live-diff into an independent pkg
WIP add sample and doc
WIP unit test for live-diff
add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-04-13 12:29:25 +08:00
yangsoon and GitHub
5164efeb4a
add context.appRevisionNum ( #1466 )
2021-04-12 15:36:19 +08:00
wyike and GitHub
2254777523
ignore error not found when deleting resourceTracker ( #1462 )
...
* ingore error not found when delete resourceTracker
* ignore error not found
2021-04-12 10:57:16 +08:00
LeoLiuYan and GitHub
389722a94e
Remove duplicated logic ( #1465 )
...
Signed-off-by: LeoLiuYan <929908264@qq.com >
2021-04-12 10:24:34 +08:00
Shiwen Cheng and GitHub
4b86689d63
Update copyright year ( #1464 )
...
* Update copyright year to 2021 for The KubeVela Authors
* Update copyright year to 2021 for other project authors
2021-04-11 21:00:14 +08:00
Shiwen Cheng and GitHub
2b07ec49d4
[Improvement-1457] Use kind cmd code to load docker image instead of local kind binary ( #1458 )
...
* [Improvement-1457] Use kind cmd code to load docker image instead of local kind binary
* [Improvement-1457] Update copyright year and kind repo declaration
2021-04-11 20:59:21 +08:00
Yue Wang and GitHub
7edfbde2f5
skip applying helm-release if app spec not change ( #1461 )
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-04-11 15:47:00 +08:00
Yue Wang and GitHub
2d6f2083db
refactor pkg/appfile ( #1447 )
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-04-11 14:10:16 +08:00
yangsoon and GitHub
c619b7b290
fix bug which Component/TraitDefinition won't work when contains "_|_" in value ( #1450 )
2021-04-09 21:46:04 +08:00
yangsoon and GitHub
2e92a66fa5
fix data race ( #1446 )
2021-04-09 20:15:02 +08:00
Ryan Zhang and GitHub
6d65169449
fix webhooks and try to fix e2e ( #1441 )
...
* fix webhooks and try to fix e2e
* address comments
2021-04-09 13:27:16 +08:00
yangsoon and GitHub
9bf6cc2659
update version ( #1442 )
2021-04-09 12:28:04 +08:00
Zheng Xi Zhou and GitHub
e8e45dd7d3
Add unit-tests for ApplicationRollout related packages ( #1413 )
...
* Add unit-tests for ApplicationRollout related packages
Part I: pkg/controller/common/rollout
* Add more unittets
* add unit tests for cloneset controller
* fix test issue
* add more unit-tests for cloneset_controller and deployment_controller
* fix rebase issues
2021-04-08 14:08:48 -07:00
yangsoon and GitHub
08a1dc5a22
Add package discover refresh when component/trait definition are registered ( #1402 )
...
* add discover refresh
* add test
* fix store openapi schema
* fix discovermapper
2021-04-08 20:35:21 +08:00
Jian.Li and GitHub
a446aab46b
Fix Bug: strategyUnify not work with close call ( #1430 )
2021-04-08 18:41:04 +08:00
Shiming Zhang and GitHub
f2de6de6f8
Remove useless code ( #1433 )
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com >
2021-04-08 18:39:42 +08:00
Ryan Zhang and GitHub
325a4cdb0e
Add a new cloneset scale controller ( #1301 )
...
* add scale implementation
* fine tune the logic and adjust e2e test
* fix tests and fine tune logic
* try to fix flaky verification
* allow zero size step
* fix scale down check
2021-04-07 11:14:46 -07:00
wyike and GitHub
b33b6fbead
garbage collection for cross-namespace workloads and traits in application layer ( #1421 )
...
* add logic for gc cross ns resources
WIP regenerate api and charts
rewrite handle resourceTracker logic
WIP add e2e test logic
add more e2e test
* WIP refactor sevral funs name and add comments for code
* WIP add more corener case e2e test
* add unit test and fix bug
* WIP refactor handleResouceTracker logic
* refactor func name aglin with others and add comments
* make generate to fix check-diff ci error
* change resourceTracker status as a subresource
2021-04-07 21:34:48 +08:00
Jian.Li and GitHub
15b1bd2660
Fix the bug that the registered k8s built-in gvk does not exist ( #1414 )
...
* fix bug for method exist(gvk)
* check that all built-in k8s resource are registered
2021-04-07 13:06:19 +08:00
4b25ed4ba1
fix import inner package in the format of third party package path and split test cases ( #1412 )
...
* test third party path in cue
* fix typo
* fix pkg mount bug
Co-authored-by: 天元 <jianbo.sjb@alibaba-inc.com >
2021-04-02 13:04:52 +08:00
Herman Zhu and GitHub
5b1b054cca
refactor(workload) remove all the duplicate fields ( #1410 )
...
remove all the duplicate fields in parser above as template contains
fix #1388
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com >
2021-04-02 10:24:27 +08:00
Stupig and GitHub
1444376b0c
newline is missing for BaseContextFile ( #1396 )
2021-04-01 12:07:27 +08:00
yangsoon and GitHub
04486f89bb
fix crd: add additional print column and short Name for CRD ( #1377 )
...
* add additional print column
* add shortname
* fix printcolumn & test
2021-04-01 11:51:43 +08:00
Jianbo Sun and GitHub
bbea29c8e5
fix kube-webhook-certgen to patch CRD conversation && remove cert-manager in CI e2e test && remove issuer create from CLI env ( #1267 )
...
* remove cert-manager in CI e2e test and remove issuer create from CLI env
* update job patch image(https://github.com/wonderflow/kube-webhook-certgen )
2021-03-31 21:21:28 +08:00
Yue Wang and GitHub
3bdf7a044f
fix generate schema for helm values ( #1375 )
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-03-31 17:31:54 +08:00
wyike and GitHub
20f6e0ab02
skip check cross ns resource owner, add tests ( #1374 )
2021-03-31 15:00:16 +08:00
Jianbo Sun and GitHub
96c1d0786a
the application context should not own application object ( #1370 )
...
* the application context should not own application object
* add time for flaky test
2021-03-31 13:55:57 +08:00
Ryan Zhang and GitHub
0629049e1f
add initial finalizer and abandon support ( #1362 )
...
* add initial finalizer and abandon support
* fix lint
2021-03-30 02:04:38 -07:00
天元
78ed5cade0
minor fix
2021-03-30 00:24:10 +08:00
天元
72f533e5eb
use AppContext as the ownerRef
2021-03-30 00:21:17 +08:00
天元
0d8f656cdb
fix some tests
2021-03-29 23:45:29 +08:00