Commit Graph
30 Commits
Author SHA1 Message Date
天元 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
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
Ryan Zhang d74dbb4fda refactor application controller 2021-01-21 00:34:04 -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
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 SunandRyan Zhang 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
天元 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
天元 3a47d5de73 refactor application object to have more strict schema 2020-12-29 15:48:32 +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
Jian.Liandlj176172 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