roy wang
93ae8a9099
fix staticcheck issues
...
add staticcheck CI action
add staticcheck in Makefile
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-01-29 18:42:03 +09:00
天元
b88309a333
fix inner containerizedworkload not work
2021-01-29 15:51:29 +08:00
天元
6922f7cfab
fix ci
2021-01-29 11:39:44 +08:00
天元
aed2494875
allow multiple outputs for workloaddefintion
2021-01-29 11:39:44 +08:00
Ryan Zhang
ad496b132a
further develop appDeployment controller
2021-01-28 17:59:31 -08:00
Zheng Xi Zhou
2a943c9429
Using Terraform as IaC module in KubeVela ( #863 )
...
* Integrate Terraform into KubeVela
Integrated Terrafrom into KubeVela to enable it to deploy
infrastruce resouces by `vela up`
* extend Terraform modules/files as WorkloadDefinition
stop printing terraform log to console
Support one workload consumes two cloud services
Refactor Terraform plugin based on Application Object
add testcase
* refactor code per reviewer's comments
fix rebase issue
* find lost code back
* refactor code to make the modification as little as to that of branch master
* remove blank lines from imports
2021-01-28 18:36:52 +08:00
Zheng Xi Zhou
aa03e9c9d4
OpenAPI: Application creation based on Application object ( #924 )
...
* OpenAPI: Application creation based on Application object
Implemented Application creation OpenAPI based on new Application object
To #913
* fix e2e problems
* fix import issue
2021-01-28 10:15:26 +08:00
Ryan Zhang
462be588af
address comments and fix CI
2021-01-26 20:47:56 -08:00
Ryan Zhang
c85bbe1ae2
add rolling annotation to the application
2021-01-26 00:29:49 -08:00
Ryan Zhang
a257f6e60c
application controller ignore annotation
2021-01-26 00:03:53 -08:00
Ryan Zhang
e664831ff6
application deployment
2021-01-25 22:17:35 -08:00
Jianbo Sun
97f45ae859
code refactor ( #935 )
...
* code refactor
* update boilerplate.go.txt
2021-01-26 10:26:41 +08:00
roywang
59a6ef5140
implement util/apply with three-way diff
...
add/fix unit tests
fix e2e tests
update doc & add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-21 18:05:29 +09:00
Ryan Zhang
d74dbb4fda
refactor application controller
2021-01-21 00:34:04 -08:00
Ryan Zhang
adbe1f9368
add the rollout code framework
2021-01-20 13:08:00 -08:00
zhangrun.zr
f55dd467b9
feature: add healthcheck policy for workload and trait by cue template
...
Signed-off-by: zhangrun.zr <zhangrun.zr@alibaba-inc.com >
2021-01-19 13:03:05 +08:00
Ryan Zhang
7524aeee31
Merge pull request #852 from rain18/task
...
feature: add http task for application cue template
2021-01-18 20:11:59 -08:00
roy wang
580056b209
fix unstable unit test
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-18 18:59:58 +09:00
zhangrun.zr
2706e63743
fix: use httptest instead of echo and rename context
...
Signed-off-by: zhangrun.zr <zhangrun.zr@alibaba-inc.com >
2021-01-18 15:52:22 +08:00
Jianbo Sun
89863b30e8
fix ci and refactor code ( #887 )
...
* adjust CI scripts
* fix go ci order
* try fix
* use appfile to update trait
* fix vela status
* use assert.ObjectAreEqual to check diff for map case
* remove application controller own AC and Components
* tune place
* fix lint
* update
* remove error check of vela init test
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com >
2021-01-15 19:04:12 +08:00
天元
1f1f3af7b7
refacter and add tests
2021-01-11 20:48:17 +08:00
天元
2761e7afb9
use map[string]string for scope
2021-01-11 10:54:57 +08:00
天元
8410f03eb0
addressing comments
2021-01-11 10:45:13 +08:00
天元
f694d1ad5d
add tests
2021-01-08 18:16:03 +08:00
天元
3dd954541e
add tests
2021-01-07 20:24:25 +08:00
天元
ba614da809
fix ci
2021-01-07 19:40:32 +08:00
天元
b92e2a92fc
try test again
2021-01-07 19:28:19 +08:00
天元
718a4b1999
fix ci
2021-01-07 17:52:15 +08:00
天元
4cfee561b9
refactor and add scope to application
2021-01-07 13:07:12 +08:00
天元
3d3b3239d8
add trait type
2021-01-05 21:18:27 +08:00
天元
b1a97b08ec
add workload type to label
2021-01-05 21:08:41 +08:00
天元
5e06e41477
try fix ci
2021-01-05 17:15:55 +08:00
天元
01bd05d0a5
add test for component revision hook
2020-12-31 16:41:55 +08:00
Jianbo Sun
810cbcaae4
Merge pull request #841 from zzxwill/issue-trait-no-definition
...
Allow trait to work without TraitDefinition
2020-12-31 10:52:01 +08:00
zzxwill
dfdb833abe
Check trait CR is created and update ApplicationConfiguration
2020-12-31 09:16:56 +08:00
天元
02bb9a1dc1
refine error message: trait definition not found
2020-12-30 18:25:30 +08:00
Ryan Zhang
b25e911a74
use the correct cue parse api
2020-12-29 13:24:04 -08:00
zzxwill
d8d891f6c9
Allow trait to work without TraitDefinition
...
Fix the issue of applying trait if its traitdefinition
doesn't exits.
To fix issue #839
2020-12-30 00:14:26 +08:00
天元
3a47d5de73
refactor application object to have more strict schema
2020-12-29 15:48:32 +08:00
Jianbo Sun
69dcf2fc5a
Merge pull request #807 from wonderflow/datainput
...
support strategy patch datainput merge for slice case
2020-12-25 12:42:13 +08:00
天元
e3b4bcd2ca
support custom component revision
2020-12-25 09:40:54 +08:00
天元
4bed55b400
support strategy patch datainput merge for slice case
2020-12-23 21:53:05 +08:00
天元
7609da212f
fix workload can not be update when revision enable trait is attached
2020-12-21 21:12:19 +08:00
天元
3cb172f7ff
minor fix
2020-12-15 13:55:36 +08:00
Jian.Li
e882a650ae
Extend application's capabilities by trait definition ( #742 )
...
* add dsl pkg
* realize context capabilities for application
* fix golint
* fix check-diff
* upgrade vela server sample
* comment group
* Definition Reference be Optional & fix three-part trait crd apply without namespace
* Improve samples
2020-12-13 20:00:06 -08:00
roywang
a961b002c2
faster refresh capabilities
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2020-12-09 23:51:04 +09:00
Jianbo Sun
1ec07b0198
Merge pull request #722 from wonderflow/doc
...
add some detail for route design
2020-12-07 11:29:13 +08:00
天元
799bcf9cef
add some detail for route design
2020-12-04 17:27:41 +08:00
天元
21cae61f93
build version into vela-core and lock helm version on release
2020-12-04 16:45:37 +08:00
Jian.Li
ee906dbd5a
Using CUE to implement OAM model on Kubernetes server side ( #669 )
...
Init: Using CUE to implement OAM model on Kubernetes server side
* vela server
* fix refator
* lint code
* vela server
* fix refator
* lint code
* rebase upstream
* remove lister
* add vela-server sample
* fix lint error
* fix lint error
* fix check-diff error
* add test case
* add test case for application controller
* add reconciler test with ginkgo
* remove make server
* remove the kustomize scripts
* fix units test bug
* config direct
* suite test
* add application validater
Co-authored-by: lj176172 <lj176172@alibaba-inc.com >
2020-12-03 17:09:55 +08:00