Weiping Cai
2fb2306117
fix arm64 build failed and block our release pipeline
...
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2021-03-04 09:59:43 +08:00
Holger Protzek
d6f28bfd9e
Removed prometheus and certmanager crd's ( #1005 )
...
* Removed prometheus and certmanager crd's, use cert-manager helm chart dependency instead
* Fixed unit and 2e2 tests. Added servicemonitors and certmanager crd dependencies for tests as testdata.
* Run `helm dependency update`
* Delete kubevela helm release and namespace if existing
* WIP - Bad hack to add the certmanager crds before installing kubevela with cert-manager as dependency. The cert-manager crds are not available, when kubevela Issuer are installed otherwise.
* WIP Added admission patch for webhook
* WIP Refactored secrets config
* WIP Fixed helm chart
* WIP Disabled metrics cap, due missing prometheus dependency by default
* WIP Added certmanager for e2e tests
* WIP Added certmanager for e2e tests
* WIP cleanup
* Updated docs
* Re-added certificate mount path
2021-02-26 16:46:01 +08:00
Jianbo Sun
dd222ac876
refactor cli/dashboard/apiserver to reference folder ( #1084 )
...
* refactor cli/dashboard/apiserver to reference folder
* address comments
2021-02-23 13:03:38 +08:00
kinsolee
05bd7a3ab2
fix: remove lagacy command of 'make core-install'
2021-02-19 22:26:33 +08:00
zzxwill
d404ae9459
build with npm instead of yarn
2021-02-08 16:18:22 +08:00
zzxwill
9230e5c181
Revert package management and build tool to npm
...
As yarn failed to build and start the dashboard most
of time, revert the tool to npm
2021-02-05 11:31:37 +08:00
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
Jianbo Sun
c41bd241ce
update kubevela installation guide ( #955 )
...
* update kubevela installation guide
* adress comments
* Update docs/en/install.md
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
* Update docs/en/install.md
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
* remove line
* address comments
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
2021-01-29 15:46:58 +08:00
天元
bed609e192
build linux/arm64 cli command
2021-01-29 12:18:38 +08:00
Ryan Zhang
e664831ff6
application deployment
2021-01-25 22:17:35 -08:00
Ryan Zhang
d74dbb4fda
refactor application controller
2021-01-21 00:34:04 -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
天元
3a47d5de73
refactor application object to have more strict schema
2020-12-29 15:48:32 +08:00
Zheng Xi Zhou
ddba62fba0
Generate restful api based on Swagger ( #765 )
...
* Generate restful api based on Swagger
As OpenAPI has to be quickly developped to support front-end developement, so
did the restufl api docs. Based on swagger, generate the docs automatically
* fix conflicts and add application list annotation
2020-12-22 16:35:26 -08:00
天元
b8fd6f9823
add blog about how to extend kubevela by cuelang
2020-12-15 20:14:50 +08:00
majian
cf2a57c96a
Integrate swagger and add env api ( #764 )
...
* 1.swagger integrate
2.add env swagger comment
Signed-off-by: majian <majian159@live.com>
* use swagger.json
Signed-off-by: majian <majian159@live.com>
2020-12-12 08:54:33 -08:00
majian
7acc52ebdb
1.use yarn ( #769 )
...
2.reinstall package
Signed-off-by: majian <majian159@live.com>
2020-12-11 10:28:08 -08:00
guoxudong
ec287a181f
Adapted for brew installation
2020-12-11 10:20:53 +08:00
Zheng Xi Zhou
50f4d10b00
Add make target to start both OpenAPI server and dashboard ( #766 )
...
Start up dashboard all in one
2020-12-10 11:10:10 -08:00
天元
ee547ec441
add release version into README
2020-12-07 15:30:39 +08:00
天元
21cae61f93
build version into vela-core and lock helm version on release
2020-12-04 16:45:37 +08:00
Jianbo Sun
7d3397ac31
Merge pull request #673 from zzxwill/docs-reference
...
Auto-generate reference docs
2020-12-03 18:11:49 +08:00
天元
1a37228e03
add a tip for make diff fail
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-12-02 13:54:19 +08:00
zzxwill
f7718b4c08
Auto-generate reference docs
...
Automatically generate reference docs for all workloads and traits.
1) moved design part from hack/references/configurations/rollout.yaml to design/vela-core/rollout.md
2) added usages for all workloads/traits, except route (#672 )
3) renamed some reference docs
Attention: atuo-generation of specifications for all parameters has NOT been implemented, they are generated
based on files under `hack/references/configurations`
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
2020-12-01 13:56:24 +08:00
天元
6b931d9b32
fix unstable test as workload changed by reconcile
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-27 20:11:26 +08:00
天元
43754e89b6
merge CI and makefile
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-27 12:16:36 +08:00
天元
26b4e3c2d5
merge main.go
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-27 11:08:58 +08:00
天元
cfadfd8763
merge tests and run on CI
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-27 11:08:58 +08:00
天元
2e975e678c
merge code: apis,pkg all moved
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-27 11:07:50 +08:00
天元
fc805214c7
standardize project structure: change api to apis
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-25 17:28:09 +08:00
天元
ba7a4a33fc
add more strict golangci check
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
add description for export const variable and function, fix golint
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-23 16:19:20 +08:00
天元
974027e233
fix go imports lint complain
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-17 20:40:08 +08:00
天元
9a89699691
refactor crd generate mode
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-14 09:10:39 +08:00
天元
cd4615405f
updated oam-k8s-runtime and go through rollout fix bugs
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-13 11:24:49 +08:00
天元
5c0f26c6f6
fix doc gen path
2020-11-10 20:16:15 +08:00
Hongchao Deng
6b4325eebc
skip capability e2e due to rate limit
...
plan to change e2e into a mock UT to avoid remote call.
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-11-03 21:37:35 -08:00
Hongchao Deng
e20b6c9bf4
doc: add app init, config, and capability references
...
additionally:
- change backend workload type to worker
- add cue format script
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-11-03 19:25:41 -08:00
Hongchao Deng
7cfc80cd41
add render-only to ini cmd and ignore route if domain is empty
2020-11-01 23:34:12 -08:00
zzxwill
cc93367b22
Fix `charts/vela-core/crds/_.yaml` generation issue
...
Fixed the issue of `charts/vela-core/crds/_.yaml` generation
by removing unkonwn struct in pkg/commands/show.go.
2020-10-31 13:43:10 +08:00
Hongchao Deng
9c2b75d9af
update
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-30 19:07:00 -07:00
Hongchao Deng
9be4316256
doc: separate appfile chapter into a few sections to gradually add traits, workloads
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-30 19:07:00 -07:00
Hongchao Deng
0ef3d8650b
fix and clean up charts
...
currently the charts has following issues:
- cert-manager has manifests in multiple places. Should be combined into one.
Prefer pure yaml since its helm chart requires `--set installCRDs=true` flag and uninstalling CRD via helm is inconvient.
- The bootstrap of vela-core will setup metrics controller. This requires Prometheus Operator CRD. Move related CRD to vela-core chart.
- move prometheus to vela-system namespace. Remove monitoring namespace.
- remove grafana. It's already a dependency of prometheus chart.
- change default image pull policy to IfNotPresent. Should not be Always.
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-29 13:56:33 -07:00
Hongchao Deng
42115e7774
e2e: delete kind cluster in setup
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-27 20:55:50 -07:00
Jianbo Sun
5dd91add89
Merge pull request #447 from wonderflow/fixdoc
...
fix doc gen path
2020-10-27 17:06:21 +08:00
天元
4d4ea8f3c4
fix doc gen path
2020-10-27 15:48:44 +08:00
Hongchao Deng
182805c9ca
move and remove extra parameter def
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-26 23:14:48 -07:00
Hongchao Deng
3d17464c44
fix trait definition
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-26 20:51:16 -07:00
Hongchao Deng
eed2e2f219
fix
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-26 20:51:16 -07:00
Hongchao Deng
8b0764e170
fix codecov
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-21 17:15:13 -07:00
天元
04fcad21d4
refactor command and add vela generate-doc for cli
2020-10-20 14:54:02 +08:00
Ryan Zhang
b13677363f
install CRD manually
2020-10-20 11:30:34 +08:00
Jianbo Sun
1cc8a3980c
Merge pull request #387 from wonderflow/route1
...
give route trait new discovery port way with podspecable design
2020-10-18 11:24:38 +08:00
Hongchao Deng
0e83ff303c
add codecov
2020-10-16 15:16:58 -07:00
天元
3d2bd9a898
add a design doc for route trait, along with fix and tests
2020-10-16 20:50:08 +08:00
天元
2c721e5177
move definition files to a separate dir
2020-10-15 16:40:00 +08:00
天元
d9302ff982
add args for vela install and fix E2E with fresh image build
2020-10-14 23:22:15 +08:00
天元
a66938eee8
add more to contributing guide
2020-10-14 12:01:52 +08:00
roy wang
ad819b354a
fix e2e-setup
...
revert commented e2e cases
Signed-off-by: roy wang <seiwy2010@gmail.com>
2020-10-13 21:56:44 +09:00
roy wang
53fc9e5b71
add ready/health probes
...
add waiting for webhook secret ready
add unit tests
Signed-off-by: roy wang <seiwy2010@gmail.com>
2020-10-13 18:57:58 +09:00
Jianbo Sun
1479109324
move chart build to source file, allow chart CRD switching to V1 of cert-manager ( #382 )
...
* add chart_source
* generate chart to fake file
* switching to V1 of cert-manager
make exec time longer
2020-10-13 17:20:59 +08:00
roy wang
8b3bda82f7
add e2e test for vela init
...
modify e2e setup to wait oam-runtime pod running
add k8sclient in e2e test
refine tracking status of vela init
Signed-off-by: roy wang <seiwy2010@gmail.com>
2020-10-09 19:36:33 +09:00
天元
2116c9ad0e
use compressed file for release
2020-09-17 14:42:00 +08:00
天元
1b9ee5c882
add route trait as vela apigate
2020-09-16 19:42:01 +08:00
天元
1e4a1159b5
clean up
2020-09-11 17:52:14 +08:00
天元
044df63770
change go package to oam-dev/kubevela
2020-09-11 12:29:12 +08:00
天元
f1497c3fc2
fix release workflow
2020-09-11 00:10:46 +08:00
天元
cc669f450f
cross build and upload assert
2020-09-10 21:54:44 +08:00
天元
12ecb89bc4
release
2020-09-10 20:33:37 +08:00
天元
1354b4afa4
add golintci and make it happy
2020-09-10 14:57:36 +08:00
天元
b466e6216c
add lint check
2020-09-10 13:10:57 +08:00
Ryan Zhang
4f270614d7
first step
2020-09-01 00:38:42 -07:00
Ryan Zhang
f87b88d8b2
add containerized workload
2020-08-28 11:43:42 -07:00
Ryan Zhang
291a9e628e
add all the controllers
2020-08-26 21:52:51 -07:00
Ryan Zhang
2478c1a9ae
add the metrics trait
2020-08-26 21:52:26 -07:00
天元
da1831efef
add kubebuilder framework back and import oam-k8s-runtime
2020-08-26 15:38:52 +08:00
Zheng Xi Zhou
8da6e93480
Refine CI build ( #196 )
...
* Refine CI build
remove vela binary build during e2e-test, instead
use the binary after make build
* update old command `vela system:init`
2020-08-25 16:08:16 +08:00
Zheng Xi Zhou
4fea3e9cf9
Implement API trait attach/detach, application get, capability center add/sync/list and fix detach issue ( #187 )
...
* implemented trait attach, get application
* implemented API for trait detach and fix trait detach issue
* implemeted API add/sync/list capability center
* implemented API capability add/remove/list
* update test-cases according to new cli style
* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
2020-08-25 10:14:18 +08:00
Zheng Xi Zhou
79d3d3c446
Implement env APIs ( #164 )
...
* Implement API `api/envs/default/apps/
implement API `api/envs/default/apps/ and refactor code
* address comments from @wonderflow and @ryan
* fix code rebase issue
* Implement env APIs
implemented APIs for env and make api-test
and e2e-setup
* fix ci issues
* address comments
2020-08-18 18:15:28 +08:00
zzxwill
7c45ddb3c5
exclue e2e testw folder in case those test suites are triggerred by unit-test
2020-08-10 10:17:22 +08:00
zzxwill
a0177272d0
move e2e test folder in case those test suites are triggerred by unit-test
2020-08-10 10:17:22 +08:00
zzxwill
bc0c15988c
update new rudr run command and add ginkgo test to makefile
2020-08-10 10:14:39 +08:00
天元
6c1ad6c516
fix vela system:init info
2020-08-09 18:34:01 +08:00
erdun
8e8967a914
fix version info
2020-08-08 16:32:56 +08:00
天元
8418534a43
rename rudrx/rudr to vela
2020-08-07 13:40:20 +08:00
天元
dcf311cd4a
clean up docs and test
2020-07-31 12:18:17 +08:00
天元
89601bee18
support rudr env
2020-07-31 10:34:17 +08:00
erdun
4875cd2aab
move init code to cobra
2020-07-20 00:17:39 +08:00
天元
05122b30a9
add CI workflow
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-07-17 13:58:31 +08:00
天元
4f13b58663
init rudrx
2020-07-07 00:12:13 +08:00