Commit Graph

256 Commits

Author SHA1 Message Date
yangsoon 3a68ec77fd
fix CI: add action to release kubectl-vela binary file (#1503)
* add kubectl-vela release

* add docs
2021-04-15 22:54:31 +08:00
Shiwen Cheng e8ed4d78cf
Keep docker binary command due to the issue #416 (#1478) 2021-04-14 11:26:35 +08:00
Serhat Şevki Dinçer 282efa2893
Create codeql-analysis.yml (#1470)
* Create codeql-analysis.yml

* rm schedule from codeql

* codeql: master & release branches only on push

* codeql: use release-* pattern

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
2021-04-14 10:54:08 +08:00
Jianbo Sun 5d40f121ea
add release docs when have tag (#1444) 2021-04-09 16:50:59 +08:00
woshicai 58c3283411
update: run helm lint & test after e2e-setup (#1415)
Co-authored-by: charles <charles.cai@sap.com>
2021-04-09 14:13:59 +08:00
yangsoon 7ede0746c1
add clean-image action (#1436) 2021-04-09 10:17:21 +08:00
Jianbo Sun 6b8875012d
use shell instead action to sync website && don't sync index.js and config.js (#1386)
* use shell instead action to sync website && don't sync index.js and config.js

* update test website build

* use bash instead sh
2021-04-01 10:06:34 +08:00
Jianbo Sun 07c8c23884
minor fix for docs (#1356)
* minor fix for docs

* minor fix for docs

* remove blog
2021-03-30 08:47:20 +08:00
yangsoon f762a1279e
add docs check (#1340) 2021-03-29 18:28:05 +08:00
Jianbo Sun 2dfc653ef0
add gitub action to sync docs to website (#1331)
* action for auto docs

* test

* fix

* merge action file

* update

* test

* update

* update

* update

* bump github action

* test

* bump action to 0.2.3

* add ignore file

* revert empty line

Co-authored-by: guoxudong <guoxudong.dev@gmail.com>
2021-03-28 18:29:28 +08:00
yangsoon aa548ab3d4
fix action (#1332) 2021-03-28 17:18:21 +08:00
yangsoon c4512decf1
fix vela show (#1327) 2021-03-28 10:37:31 +08:00
Jianbo Sun 8e8ec58b97
merge e2e in one to save time (#1318) 2021-03-26 20:40:19 +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
Lei Zhang 26f0db3d30 Fix GitHub readme issue 2021-03-25 11:18:22 -07:00
Jianbo Sun b726481e7a
update the docs v1alpha2->v1beta1 (#1292)
* fix example

* update the docs v1alpha2->v1beta1

* add more dependency for build runner
2021-03-25 16:44:47 +08: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
Ryan Zhang 11bc937f62
temporaily disable rollout e2e test (#1260) 2021-03-22 13:17:31 +08:00
天元 d4705380a8 remove dashboard related code 2021-03-20 18:36:51 +08:00
mason1kwok d6cb52d73a add skip condition on e2e-rollout CI 2021-03-18 14:54:37 +08:00
Jianbo Sun 019d8719a3 Revert "test run e2e on github native action runner (#1209)"
This reverts commit 86b363c56c.
2021-03-18 12:09:56 +08:00
Ryan Zhang 7e22c19383
move out rollout e2e (#1205)
* move out rollout e2e

* fix go workflow
2021-03-17 19:13:24 -07:00
Jianbo Sun 86b363c56c
test run e2e on github native action runner (#1209)
* test run e2e on github native action runner

* add ginkgo

Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com>
2021-03-17 17:45:10 -07:00
Jianbo Sun cbc7a3855e
Merge pull request #1202 from wonderflow/upgradeci
upgrade golang ci lint to 1.38.0 and fix lint error
2021-03-16 16:07:19 +08:00
天元 711a4a9d7a configure ci to skip duplicate job 2021-03-16 15:35:13 +08:00
天元 1cdcf2ab48 upgrade golang ci lint to 1.38.0 and fix lint error 2021-03-16 15:06:48 +08:00
Jianbo Sun 99b8e4aba3
add license checker into CI (#1182) 2021-03-12 00:34:51 -08:00
WYike 994ef23c0c
modify controller,webhook,api,chart (#1085)
solve failed test

add compatibility test for old crd

add app ns for cli

modify compatibility test

solve compatibility problem

add testing for  GetDefinition func with cluster scope CRD

generate code for compatibility-test

move testdata generate to makefile

optimize ci pipeline for compatibility-test
2021-03-04 23:14:18 -08:00
yangsoon 6c794bda08 fix issue #1140 delete image after e2e test 2021-03-05 12:04:07 +08:00
Ryan Zhang c520a24423 fix rolling with manaul annotation and improve the demo a bit 2021-03-04 00:34:09 -08:00
Ryan Zhang eac2d37551
add webhook and kruise (#1135) 2021-03-03 23:21:02 -08:00
Jianbo Sun 003db753aa
Merge pull request #1134 from Cweiping/fix/fix/arm_build_error
fix arm64 build failed and block our release pipeline
2021-03-04 11:10:19 +08:00
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
天元 d7a12ac5fd enable CI for release-* 2021-02-23 19:13:18 +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
zzxwill d404ae9459 build with npm instead of yarn 2021-02-08 16:18:22 +08:00
Zheng Xi Zhou 3ee746ae17
Add latest release tag to be the prefix of latest version of Chart (#1007)
* Add latest release tag to be the prefix of latest version of Chart

Currently the latest chart is vela-core:latest, which could
not be supported by Artifacthub, add latest tag and make the
latest chart version as `vx.y.z-latest`

* calculate the next tag to be the latest master chart version

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
2021-02-07 17:55:34 +08:00
Zheng Xi Zhou 51860cf11a
Fix wrong target directory name for artifathub.io (#1004) 2021-02-03 19:51:34 +08:00
Zheng Xi Zhou fb15b43914
Fix issue: artifacthub-repo.yml not uploaded to repo (#1003)
* Fix issue: artifacthub-repo.yml not uploaded to repo

* Update .github/workflows/registry.yml

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
2021-02-03 19:03:08 +08:00
Zheng Xi Zhou dd04402a28
Build KubeVela legacy chart (#983)
* Build KubeVela legacy chart

Also pushed it to oss bucket
fix #528

* remvoe flag `--devel`

* make it explictly to modify values.yaml for legacy chart
2021-02-03 14:27:04 +08:00
Zheng Xi Zhou 942115a1c3
Set KubeVela as verified publisher of ArtifactHub (#986)
* Set KubeVeal as verified publisher of ArtifactHub

Set KubeVela team as a verified publisher of Artifacthub,
Add README to the repo and add helm badge in github readme

To impleted #977

* Update hack/artifacthub/artifacthub-repo.yml

Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com>

* Update hack/artifacthub/artifacthub-repo.yml

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>

* add more owners

* add README to chart

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com>
2021-02-02 15:37:40 +08:00
天元 b80bacf65d fix version 2021-02-01 13:19:33 +08:00
天元 316b438674 minor change for CI name 2021-01-29 18:24:38 +08:00
Jianbo Sun 104f0827dc
Merge pull request #958 from captainroy-hy/static-check-action
add staticcheck CI action
2021-01-29 18:14:56 +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
天元 ed436d4e6d merge chart and docker publish into registry 2021-01-29 17:12:18 +08:00
天元 e5e71dbc25 change from create release by github robot to manuelly
automatically upload artifacts after manually released
2021-01-29 17:11:58 +08:00
天元 bed609e192 build linux/arm64 cli command 2021-01-29 12:18:38 +08:00
天元 cf60e72fe9 use the number version 2021-01-27 17:02:10 +08:00
天元 a2707395e9 force push to cloud 2021-01-27 16:37:16 +08:00
天元 a420785dc2 add repo url 2021-01-27 16:32:58 +08:00
天元 ccf47a2189 fix no config 2021-01-27 16:20:55 +08:00
天元 3d98b94fd8 upload charts to alibaba cloud oss bucket 2021-01-27 16:17:23 +08:00
Ryan Zhang 023d24d392 draft 2021-01-19 15:50:38 -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
天元 76e0bbcabd run CI check for all PR including docs/ and *md 2020-12-25 17:53:04 +08:00
majian c06aca6f60
add dashboard lint check (#815) and remove unused ref 2020-12-25 14:24:06 +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
zzxwill f69476df37 Remove "question" issue template
Removed "Question" issue as we enable Github "Discussion" #744
2020-12-09 14:50:29 +08:00
天元 9224e8eb47 fix CI 2020-12-07 20:15:40 +08:00
天元 c018b4e722 fix log 2020-12-05 15:15:02 +08:00
天元 21cae61f93 build version into vela-core and lock helm version on release 2020-12-04 16:45:37 +08:00
zzxwill 2bd770d88d Remove automatically prefixed "[BUG]" in the issue title
Remove "[BUG]" from the default issue as maintainers can
use labeling mechanism to tell whether it is
2020-12-03 11:54:02 +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
Morlay ecae9e4785 version tags should in workflow docker.yml too 2020-11-23 14:55:10 +08:00
Morlay 7457c39f48 multi-arch images support
Signed-off-by: Morlay <morlay.null@gmail.com>
2020-11-19 14:16:17 +08:00
天元 1a592496a1 update KIND action to fix CI
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-11-17 10:47:44 +08:00
Hongchao Deng 3edc6ed317 CI: ignore all markdown changes 2020-11-11 19:42:41 -08:00
Hongchao Deng 4b609e0fff vela up support url, fix scale/rollout/metrics to focus on appfile, fix reference doc
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-11-11 17:13:24 -08:00
Hongchao Deng 2476f83b1b ignore dashboard build on doc change 2020-11-10 15:21:38 -08:00
Hongchao Deng cd3c91b537 make CI ignore doc change 2020-11-10 11:01:51 -08:00
Hongchao Deng 1809b47bb9
doc: add extending vela (#511)
* doc: add extending vela

- also rename in `system update` name -> type, type -> category

Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>

* github action: fixed ubuntu version

Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>

* update
2020-11-05 10:09:29 +08: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
Hongchao Deng 82f5ee0bd3 setup and use self hosted runner 2020-10-27 15:49:43 -07:00
天元 0990e6fa64 fix autoscaler
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-10-27 10:19:26 +08:00
Hongchao Deng 4fa3fb6486 move codecov upload to github workflow 2020-10-16 16:44:35 -07:00
天元 d9302ff982 add args for vela install and fix E2E with fresh image build 2020-10-14 23:22:15 +08:00
天元 e0d7eed9d3 update readme 2020-09-17 14:52:33 +08:00
天元 2116c9ad0e use compressed file for release 2020-09-17 14:42:00 +08:00
Sun Jianbo 1a43c0e540
Merge pull request #276 from wonderflow/routetrait
add route trait as vela api gateway
2020-09-17 14:06:00 +08:00
天元 c390928368 split release and daily build 2020-09-16 22:57:56 +08:00
天元 c4897008dc add docker image build 2020-09-16 21:50:56 +08:00
天元 fe09a85e53 add docker build 2020-09-16 21:34:20 +08:00
天元 1b9ee5c882 add route trait as vela apigate 2020-09-16 19:42:01 +08:00
Ryan Zhang 16fd51a213
adjust the helm setting and README (#269)
* add dependancy installer and fix e2e

* fix build

* add kubebuilder
2020-09-15 15:08:17 +08:00
天元 5328a7d6b9 update readme 2020-09-11 18:15:38 +08:00
天元 edce904df6 fix create release workflow 2020-09-11 00:30:39 +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
hanxie 7accf86367
add dashboard ci (#256)
* Update 更新配置

* Add dashboard ci

* Fix ci

* Fix ci
2020-09-10 16:57:08 +08:00
天元 7f78ce5e7b refine and split and faster CI 2020-09-10 15:31:51 +08:00
Ryan Zhang 7de9f7b16b install kubebuilder to make the test run 2020-08-27 00:40:46 -07: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 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
天元 fb73e27de3 fix e2e test 2020-08-14 15:51:51 +08:00
zzxwill 190fe97530 remove oam runtime workaround and complete some TODOs 2020-08-10 11:48:54 +08:00
zzxwill 106d8a4729 renaming command name 2020-08-10 10:43:02 +08:00
zzxwill 90655bfdfc run e2e before make build and unit-test 2020-08-10 10:17:22 +08:00
zzxwill d853ff82b0 sleep 10 seconds 2020-08-10 10:17:22 +08:00
zzxwill 5ffe9e2ce5 Temporarily fix oam kubernetes runtime CRD issue
after PR https://github.com/crossplane/oam-kubernetes-runtime/pull/162
is merged, this workround should be removed
2020-08-10 10:17:22 +08:00
zzxwill 22fe290c2c manually install oam runtime and apply definition manifests 2020-08-10 10:17:22 +08:00
天元 728ebb33b2 refactor rudr run to rudr <workload>:run 2020-08-01 13:14:06 +08:00
guoxudong 49e7b62596 add issue templates
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-07-23 18:27:23 +08:00
天元 05122b30a9 add CI workflow
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-07-17 13:58:31 +08:00