qiaozp
23cbc9c91f
Feat: implement pipeline APIs ( #4908 )
...
* add context when run pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Feat: implement pipeline API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Extract get log logic and implement getPipelineRunLog API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Init and delete pipeline contexts
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix panic
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Allow not specifying context
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* change pipeline to path parameter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add permission check filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* project -> projects in route
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix route conflict
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add project alias
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Feat: change the list pipeline API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: filter the project
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: the error of the run APi
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* fix log pipeline run API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix lint, fix the error of log api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix error returning
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the lable to annotation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* remove log config not found error
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix pipeline list api return no context info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: create the namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* get pipeline lastrun info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* allow query single step output
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* organize code in api layer
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix project filter, add context value when get pp run, extend lastRun
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix get output and implement get input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the last run
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* if query sub-step outout, return it directly
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the run stats
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the output
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* flatten the input/output api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* more info for i/o vars
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix nested i/o struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add fromStep in input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add e2e test skeleton
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add more e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* use db to store pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* keep the last 5k lines of log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* use stern param to keep last lines of logs
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* filter, nil labels, spec check
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* empty res, index, detail param
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix e2e test and unit test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add context e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* goimports
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add more test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* review
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* remove optional tag in returned value, unify the imports name
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add stop test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* more coverage
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* single case selct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* optimize log color
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add default permission and role
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix permission ut
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* change the log api implementation
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add color, add container order
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix filter nil will cut all log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* longer timeout and lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Co-authored-by: barnettZQG <barnett.zqg@gmail.com>
2022-10-31 23:59:04 +08:00
Jianbo Sun
9c5b7a526d
Fix: align sha256sums file with binary name ( #4830 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-10-09 10:09:05 +08:00
Somefive
668a637f86
Feat: upgrade go1.19 ( #4790 )
2022-09-28 10:19:28 +08:00
qiaozp
d7f57ed122
Feat: request token when vela auth gen-kubeconfig ( #4687 )
...
* Feat: request token when vela auth gen-kubeconfig
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* 1.24 test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix test
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix test
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* format
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* more test on 1.24
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* rollback some logic and fix test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-09-05 17:34:51 +08:00
qiaozp
a3e1c4d5ce
Chore: Update CODEOWNERS ( #4682 )
2022-09-02 11:09:59 +08:00
qiaozp
6d77b9c651
Chore: Add v1.23 to regular CI test ( #4673 )
...
* Chore: use higher k8s version in CI
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* 1.23
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* egress-selector-mode=disabled
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* egress-selector-mode=disabled
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add hub args
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix multicluster test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix multicluster test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add all egress
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* version matrix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* cal egress arg
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* regular v1.23 and restict concurency
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-09-01 16:57:13 +08:00
qiaozp
e3c1e391f9
Chore: Migrate to k3d in CI & trim redundant steps ( #4652 )
2022-08-31 08:08:37 +08:00
Charlie Chiang
be0914f839
Chore: update backport bot os ( #4590 )
...
* Chore: update backport bot os
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* go with the latest version
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
2022-08-11 14:53:06 +08:00
barnettZQG
bb67ecaecf
Fix: remove the cloudshell dockerfile ( #4546 )
...
* Fix: remove the cloudshell dockerfile
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the configmap name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the way to get the namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-08-03 15:49:40 +08:00
qiaozp
233fe5e7a7
Fix: publish chart version ( #4535 )
...
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-08-02 20:12:22 +08:00
qiaozp
b4c65441c9
Chore: update chart-publishing, only push index and new charts ( #4529 )
...
* Chore: update chart-publishing, only push index and new charts
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-08-02 19:28:11 +08:00
Jianbo Sun
4283a0caef
Chore: update code owner ( #4482 )
...
* Chore: update code owner
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: update code owner
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-07-27 17:24:50 +08:00
Jianbo Sun
6a9064b823
Revert "Chore: upgrade kind in tests, fix flaky test ( #4105 )" ( #4450 )
...
This reverts commit 8aaf526877 .
2022-07-25 19:07:46 +08:00
qiaozp
8aaf526877
Chore: upgrade kind in tests, fix flaky test ( #4105 )
...
* Chore: upgrade kind in tests, fix some hacky test.
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* longer wait
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* make e2e-multicluster test timeout 20m
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* switch to kind v0.14.0
Signed-off-by: 伊灵 <qiaozhongpei.qzp@alibaba-inc.com>
2022-07-22 10:09:31 +08:00
Jianbo Sun
01737d62b0
Chore: split unit test from e2e test for apiserver and use skip-dup v4 ( #4369 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-07-16 17:34:52 +08:00
barnettZQG
c43575a63c
Fix: add the job of independently publishing chart packages ( #4360 )
...
* Fix: add the job of independently publishing chart packages
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: add the job of independently publishing chart packages
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-07-12 12:23:28 +08:00
Jianbo Sun
eea8570e10
Feat: add the CloudShell feature ( #4280 )
...
* Feat: add the CloudShell feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: handle the error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: change the auth package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the CSR name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the generate function
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-07-01 23:31:15 +08:00
qiaozp
7a87e6e632
Chore: avoid update version file when publish smaller version ( #4272 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
2022-06-30 15:50:04 +08:00
barnettZQG
cf296b757c
Chore: change the acr registry address ( #4214 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-06-22 13:48:33 +08:00
Charlie Chiang
f8272d822b
Chore: fix potential bot failures ( #4141 )
...
* Chore: fix potential bot failures
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Chore: add npm cache
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
* Chore: fix ubuntu version to 20.04 in issue-commands
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
2022-06-09 22:45:05 +08:00
Jianbo Sun
c1ccfb1d83
Fix: bump oamdev/kube-webhook-certgen to v2.4.1 to support arm64 ( #4113 )
...
* Fix: split the image build process to make it faster
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: bump oamdev/kube-webhook-certgen to v2.4.1 to support arm64
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-06-05 14:16:31 +08:00
Jianbo Sun
05b45fa52c
Fix: change the image name in ghcr to align with docker image registry ( #4110 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-06-04 14:11:58 +08:00
Jianbo Sun
7f3b55efa0
Chore: add @StevenLeiZhang into owners file and ajust for more flexible owners ( #4100 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-06-02 13:34:09 +08:00
wyike
48236f69bd
Fix: CI workflow for rollout acr image build and push ( #4061 )
...
* fix the rollout acr image
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix
test
test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
finish fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* merge two sction
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-05-30 19:34:57 +08:00
qiaozp
8fb38672f5
Fix: release script condition syntax ( #4042 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
2022-05-28 01:28:19 +08:00
Somefive
383a2bd695
Feat: minimize controller privileges & enforce authentication in multicluster e2e test ( #4031 )
...
* Feat: enable auth in multicluster test & restrict controller privileges while enabling authentication
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Feat: fix statekeep permission leak & comprev cleanup leak
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: use user info in ref-object select
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Feat: set legacy-rt-gc to disabled by default
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: pending healthscope with authentication test
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-05-28 01:26:06 +08:00
qiaozp
46bdc8025e
Fix: don't update version file when publish alpha/beta version ( #3989 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
2022-05-26 11:30:29 +08:00
Jianbo Sun
9244efe813
Feat: build docker image(oamdev/vela-cli) for vela-cli ( #3976 )
...
fixes #1392
One of the use case could be https://github.com/kubevela/kubevela/discussions/3821
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-05-26 10:27:31 +08:00
Jianbo Sun
cdfdc7febd
Deprecate: oam runtime is no longer maintained, users should use kubevela instead ( #3958 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-05-24 10:24:22 +08:00
barnettZQG
09ce919b2b
Feat: Refactoring the API Server module for better layering ( #3945 )
...
* Feat: Refactoring the API Server module for better layering
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: fix the lint errors
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-05-23 12:17:28 +08:00
JarHMJ
02f5a96a72
Feat: run image scan CI for every pull request and fix CVEs in time ( #3855 )
...
Signed-off-by: huangminjie <minjie.huang@daocloud.io>
2022-05-11 14:09:10 +08:00
barnettZQG
99bb76a3fd
Fix: update latest version ( #3794 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-04-29 17:49:47 +08:00
Jianbo Sun
755ccad654
Chore: update some docs to the new org url ( #3792 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-04-29 15:59:29 +08:00
barnettZQG
2cc32e6c62
Chore: sync the cli binaries to OSS ( #3764 )
...
* Feat: show the parsing capability error message
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Chore: sync the cli binaries to OSS
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-04-28 19:18:16 +08:00
qiaozp
b8b254e582
Chore: fix e2e test check tag exist and set matrix ( #3743 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
2022-04-24 18:03:36 +08:00
qiaozp
d7c6f6cc73
Chore: fix missing trigger for e2e tests ( #3738 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
2022-04-24 10:15:28 +08:00
qiaozp
1125f87fd7
Feat: run e2e test on several K8s version ( #3714 )
...
* Feat: run e2e test on several K8s version
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* upgrade kind version
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* rollback 1.22
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* bump up kruise
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* with sha
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* try fix ci
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* use 1.22
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* remove sah
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
* revert kind
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
2022-04-22 17:05:19 +08:00
wyike
3eb1f53606
specify staticcheck version ( #3726 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix the workflow
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix
try to fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix make file
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix makefile
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-04-22 14:16:15 +08:00
Somefive
0e97aa2291
Feat: vela status --tree ( #3609 )
...
* Feat: vela status --tree
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Feat: support show not-deployed clusters
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: add tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: add multicluster e2e coverage
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Chore: minor fix
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-04-12 17:58:45 +08:00
Jianbo Sun
aea98ff5bf
Chore: try fix lint ( #3571 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-04-06 10:19:53 +08:00
qiaozp
4eafb46c87
Chore: bump test k8s to 1.20 ( #3567 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
2022-03-31 22:12:55 +08:00
barnettZQG
044c4bf73c
Feat: add RBAC support ( #3493 )
...
* Feat: add the rbac data model
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: add some api about the project
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: add CRUD about the project and the project user
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: add CRUD about the role and perm check filter function
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: update swagger config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: add default roles and perm policies
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: add perm check filter for all webservice
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: change the method that find project name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: query applications and envs by user perm
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: support get login user info
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change default permissions
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: change PermPolicy to Permission
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: add some unit test and fix the e2e test error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change some comment word
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e api path error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-03-28 16:03:11 +08:00
Sunghoon Kang
040d5e1776
Chore: fix `issue-commands` workflow ( #3451 )
...
It seems that the `issue-commands` workflow keeps failing.
This commit fixes the `issue-commands` workflow by bumping up the
action version and replacing `npm install` with `npm ci` for
reproducibility.
Refs: https://github.com/oam-dev/kubevela-github-actions/pull/11
Signed-off-by: Sunghoon Kang <hoon@linecorp.com>
2022-03-16 10:12:58 +08:00
Hongchao Deng
c1b116b360
Chore: update CODEOWNERS to promote barnettZQG and leejanee ( #3435 )
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2022-03-14 10:22:57 +08:00
Tianxin Dong
bef24bdf22
Fix: separate waiting and failed backoff time and make them configurable ( #3362 )
...
* Fix: separate waiting and failed backoff time and make them configurable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* change var name in chart values
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* fix ci
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-03-08 16:04:19 +08:00
Tianxin Dong
b8fd610523
Feat: add helm chart doc and make command ( #3331 )
...
* Feat: add helm chart doc and make command
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* fix makefile and add generate helm doc in release ci
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-02-28 10:03:23 +08:00
barnettZQG
3d0b9b7c71
Feat: rollout controller is disabled by default ( #3250 )
...
* Feat: rollout controller is disabled by default
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: change rollout image pull policy
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: remove controller from the rollout addon in testdata
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: rollout controller is disabled by default
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: extended waiting time for the addon mock server
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-02-16 14:25:04 +08:00
barnettZQG
17794e4ce1
Fix: upgrade package github.com/docker/cli for CVE-2021-41092 ( #3216 )
...
* Fix: upgrade package github.com/docker/cli for CVE-2021-41092
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Chore: change go version to 1.17
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Chore: change go mod
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change install cue shell
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-02-09 19:18:40 +08:00
Jianbo Sun
3157e65d8a
Feat: Add image scan for vela core ( #3210 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-02-09 14:00:12 +08:00
wyike
800b50cf0b
fix acr image no version ( #3100 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-01-17 16:09:21 +08:00
Jianbo Sun
3d9e1c7d80
Fix: use personel token of vela-bot instead of github token for homebrew update ( #3096 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-01-17 11:45:01 +08:00
barnettZQG
8284581e0c
Feat: set GOPROXY build arg ( #3004 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2021-12-28 10:26:07 +08:00
wyike
e519c6142a
Chore: delete useless test ( #2984 )
...
* delete useless test
Signed-off-by: wangyike <wangyike_wyk@163.com>
* delete healthscope related test
Signed-off-by: wangyike <wangyike_wyk@163.com>
* small fix
Signed-off-by: wangyike <wangyike_wyk@163.com>
* remove useless report
Signed-off-by: wangyike <wangyike_wyk@163.com>
2021-12-23 18:13:00 +08:00
Jianbo Sun
e8f2b79721
Fix: use specific cli release download folder ( #2889 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2021-12-07 17:53:04 +08:00
Jianbo Sun
ecd7f62f89
Chore: add more frequency on CI image clean job && delete rollout-test image ( #2883 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2021-12-06 16:37:34 +08:00
Jianbo Sun
fb5716cc13
Feat: add vela apiserver release into github workflow ( #2877 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2021-12-03 17:01:50 +08:00
Hongchao Deng
e5aba94cd1
Merge branch 'apiserver' into merge
2021-11-22 17:25:50 +08:00
yangsoon
530f158795
Feat: velaql support query the resources created by helmrelease ( #2726 )
...
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com>
2021-11-18 11:53:38 +08:00
Tianxin Dong
b3014c2f62
Fix: fix backport script ( #2699 )
2021-11-12 22:34:12 +08:00
Zheng Xi Zhou
4e9e88e4a5
Fix: pushing to ACR won't succeed all the way ( #2685 )
...
* Fix: pushing to ACR won't succeed all the way
Use action `docker/login-action` instead of `docker/login-action` to
login in ACR
* poc
* manual login
* manual push
* cat
* format
* echo
* dockerfile
* docker build
* v0.9.9
* domain
* poc
* formal
* buildx
* split acr and dockerhub
* finalizer
* fix
* final
2021-11-12 11:45:24 +08:00
Somefive
cee3630ead
Feat: upgrade cluster gateway to support remote debug ( #2673 )
2021-11-12 11:44:18 +08:00
Zheng Xi Zhou
53d380ff41
Fix: application status.services doesn't include Terraform typed components ( #2643 )
...
* Fix: application status.services doesn't include Terraform typed components
Function aggregateHealthStatus() which is used to retrieve components status, was
abandoned. All unit-tests of it was abandoned too. Fixed it and restore all the unit
tests.
2021-11-11 14:07:46 +08:00
Somefive
7103f8ff52
Feat: merge master into apiserver ( #2660 )
...
* Feat(rollout): fill rolloutBatches if empty when scale up/down (#2569 )
* Feat: fill rolloutBatches if empty
* Fix: fix unit-test
* Test: add more test
Fix: lint
Fix: fix lint
* Update release.yml (#2537 )
* Feat: add registry, merge registry and cap center (#2528 )
* Feat: add registry command
* Refactor: comp/trait command combine with registry
* Feat: refactor `vela comp/trait`
* Fix: import
* Fix: fix if type is autodetects.core.oam.dev
* Fix: fix list from url
* Fix: test
* Feat: add test
* Fix: remove dup test
* Fix: test
* Fix: test
* Fix: fix label filter
* Fix: reviewable
* Fix test
* fix personal repo in test
* Fix test
* Fix test
* add some boundary check
* reviewable
* Fix: fix nocalhost trait (#2577 )
* fix incorrect addon status (#2576 )
* Fix(cli): client-side throttling in vela CLI (#2581 )
* fix cli throttling
* fix import
* set to a lower value
* remove addon with no defs (#2574 )
* Feat: vela logs support multicluster (#2593 )
* Feat: add basic multiple cluster logs
* fix context
* Fix select style
* Fix select style
* remove useless env
* fix naming
* Feat: vela cluster support use ocm to join/list/detach cluster (#2599 )
* Feat: add render component and apply component remaining (#2587 )
* Feat: add render component and apply component remaining
* fix ut
* fix e2e
* allow import package in custom status cue template (#2585 )
Co-authored-by: chwetion <chwetion@foxmail.com>
* Fix: abnormal aux name (#2612 )
* Feat: store workflow step def properties in cm (#2592 )
* Fix: fix notification def
* Feat: store workflow step def properties in cm
* fix ci
* fix data race
* Fix: change Initializer to Application for addon Observability (#2615 )
In this doc, updated the Observability implementation from initializer
to Application. I also store definitions as it's not well stored in
vela-templates/addons/observability
* Fix: fix backport param (#2611 )
* Fix: add owner reference in workflow context cm (#2573 )
* Fix: add owner reference in workflow context cm
* fix ci
* delete useless test case
* Fix: op.delete bugs (#2622 )
* Fix: op.delete some bugs
* Fix: app status update error
Fix: make reviewable
* Fix: show reconcile error log (#2626 )
* Feat: add reconcile timeout configuration for vela-core (#2630 )
* Fix: patch status retry while conflict happens (#2629 )
* Fix: allow definition schema cm can be same name in different definition type (#2618 )
* Fix: fix definition schema cm name
* fix ut
* fix ut
* fix show
* add switch default case
* Feat: remove envbinding policy into workflow (#2556 )
Fix: add more test
* Feat: add vela prob to test cluster (#2635 )
* Fix: upgrade stern lib to avoid panic for vela logs (#2650 )
* Fix: filter loggable workload in vela logs (#2651 )
* Fix: filter loggable workload in vela logs
* reviewable
* Feat: add vela exec for multi cluster (#2299 )
fix
support vela exec
* Fix: health check will check for multiclusters (#2645 )
* Fix: minor fix for vela cli printing (#2655 )
* Fix: minor fix for vela cli printing
* add dockerfile go mod cache
* Feat: support apiserver-related multicluster features (#2625 )
* Feat: remove envbinding policy into workflow
Feat: add support for env change (env gc)
Fix: fix rollout timeout setting bug
* Feat: support disable trait and env without workflow
* Fix: add hint for replaced value
Co-authored-by: wyike <wangyike_wyk@163.com>
Co-authored-by: basefas <basefas@hotmail.com>
Co-authored-by: qiaozp <47812250+chivalryq@users.noreply.github.com>
Co-authored-by: Tianxin Dong <dongtianxin.tx@alibaba-inc.com>
Co-authored-by: yangsoon <yangsoonlx@gmail.com>
Co-authored-by: Chwetion <137953601@qq.com>
Co-authored-by: chwetion <chwetion@foxmail.com>
Co-authored-by: Jian.Li <74582607+leejanee@users.noreply.github.com>
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com>
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2021-11-09 13:06:55 +08:00
Zheng Xi Zhou
84315ff0e6
Fix: push docker images to Alibaba Cloud ACR ( #2601 )
...
* Fix: push docker images to Alibaba Cloud ACR
Added Github action to push docker images to Alibaba Cloud ACR
* Fix: change acr domain
2021-11-09 10:46:06 +08:00
Tianxin Dong
1438247aaf
Fix: fix backport param ( #2611 )
2021-11-04 12:51:26 +08:00
basefas
a8494d1bee
Update release.yml ( #2537 )
2021-10-28 17:54:51 +08:00
Yin Da
0fedad7cd2
Merge branch 'master' into apiserver
2021-10-28 15:19:03 +08:00
Tianxin Dong
7e5dac7c98
Fix: fix backport command ( #2557 )
2021-10-27 14:18:37 +08:00
Hongchao Deng
3ebc94394c
Feat: addon service impl ( #2515 )
...
* Feat: addon service impl
* get addon from git/configmap
* add ListAddonRegistries
* add GetAddonModel
* add CreateAddonRegistry and bcode/addon.go
* add applyAddonData
* update
* Fix: getAddonFromGit
* Fix: getAddonFromGit, remove trailing .git
* add comment
* add enable/disable/status impl
* add deleteAddonRegistry and check dup addon
* read addon without accessing database
* change to query parameter, add addon detail
* Feat: add addon readme for apiserver
* Make enable/disable/status runnable
* chore: fix bcode
* Fix: refactor parse to util
* Fix: refactor addonutil to pkg
* add addon test for create and delete addon registry
* fix version prefix
* add post func
* add enable/disable test
* add provider aws readme
* done testing
* fix comment and refactor statusAddon
* move enable/disable logic to usecase
* add GITHUB_TOKEN env
* Fix: Add github token support and use it in test
* add license
Co-authored-by: qiaozp <chivalry.pp@gmail.com>
2021-10-26 17:52:34 +08:00
Tianxin Dong
605fb58a3c
Fix: pass on octokit error to make the check consistent ( #2549 )
2021-10-26 12:09:14 +08:00
Somefive
accf0138f8
Feat: apiserver cluster api ( #2526 )
...
* Fix: multicluster api
* Feat: add apiserver cluster api & fix codecov
* Feat: add pod capacity and resourceused stat
* Feat: add cloud cluster manage
* Test: add test for cloud cluster
* Test: pending cloud resource api
* Style: refactor
* Fix: apiserver e2e test
* Fix: fix application usecase policy bug
* Style: add returns for cluster api
* Feat: add provider detail info & add cache & add rollback protection
* Style: refactor
* Style: add error code
2021-10-23 00:29:43 +08:00
yangsoon
c7f9cdcbbf
Feat: add the oam application api in apiserver ( #2492 )
...
* Feat: oam application api in apiserver
* Feat: enable unit-test and e2e-test
2021-10-23 00:29:42 +08:00
Tianxin Dong
952af10a4b
Fix: check pr title instead of commit msg ( #2541 )
2021-10-23 00:28:59 +08:00
Tianxin Dong
d82f8e3cc6
Fix: fix the backport label permission to read ( #2504 )
2021-10-18 11:46:21 +08:00
Somefive
8336f5ae9c
Fix: rework apiserver code coverage ( #2489 )
2021-10-15 15:37:19 +08:00
Tianxin Dong
13c24e5697
Fix: fix label trigger from startWith to contains ( #2496 )
2021-10-15 15:24:32 +08:00
Tianxin Dong
17b840f402
Feat: add label backport in github action ( #2494 )
2021-10-15 13:24:44 +08:00
wyike
89eaf502fa
Test: add e2e-test for multi-cluster rollout ( #2472 )
...
* Test: add e2e-test guarantee multi-cluster rollout
* Fix: install rollout runtime chart
add cluster name in dockerfile
Fix: build image error
enable all test
Fix: add rollout chart
add shebang
fix image repo
2021-10-14 18:27:50 +08:00
basefas
96c52ab2fc
Chore: add homebrew bump ( #2434 )
...
* Chore: add homebrew bump
* Chore: update token
2021-10-12 12:52:40 +08:00
barnettZQG
0d036e7449
Feat: initialize the Apiserver framework ( #2417 )
...
* Feat: add kubeapi and mongodb datastore implementation
* Style: change kubeapi import code style
* Style: change mongodb package import code style
* Style: add some comment
* Style: change databasePrefix to tableNamePrefix
* Chore: install mongodb in unit-test job
* Chore: install mongodb in compatibility-test job
* Feat: add apiserver e2e test case
* Docs: change developer guide doc
* Feat: use common.Scheme
Co-authored-by: barnettZQG <yiyun.pro>
2021-10-12 11:53:24 +08:00
Jianbo Sun
426fe5cc11
Chore: add chaneglog and add backport github action and change the pull request template ( #2410 )
2021-10-08 13:35:04 +08:00
Somefive
5704c3b83c
Fix: fix multicluster coverage bug ( #2401 )
2021-10-01 08:25:56 +08:00
Somefive
83b26349c7
Feat: bootstrap multicluster testing ( #2368 )
...
* Feat: bootstrap multicluster testing
* Fix: update action step name in .github/workflows/e2e-multicluster-test:yml
Co-authored-by: Jianbo Sun <wonderflow@icloud.com>
* Fix: update setup-core wait condition
* Fix: add apply envbinding app test & upgrade gomega
* Fix: remove end_e2e duplicate script
Co-authored-by: Jianbo Sun <wonderflow@icloud.com>
2021-09-30 10:19:39 +08:00
barnettZQG
6771c688dd
Docs: add a WeChat QR code ( #2351 )
...
* Docs: add wechat QR code
* Update README.md
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
Co-authored-by: barnettZQG <yiyun.pro>
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
2021-09-26 13:41:20 +08:00
Tianxin Dong
360c19cf2d
Feat: add vela minimal chart ( #2340 )
...
* Feat: add vela minimal chart
* Feat: add README in minimal chart
2021-09-24 17:02:43 +08:00
qiaozp
a8adaefc78
Chore: remove e2e-api-test in rollout test to speed up ( #2345 )
2021-09-24 15:44:59 +08:00
qiaozp
b4c7ed1773
Chore: deprecate 'vela dashboard' apiserver ( #2341 )
...
* Chore: deprecate
'vela dashboard' apiserver
* Chore: fix import
* Fix: preparation
* Fix: test
2021-09-24 13:00:07 +08:00
Jianbo Sun
cad21c5138
Fix: refactor workflow and fix some e2e tests ( #2272 )
...
* Fix: add e2e plugin test back
* Fix: e2e rollout test and try change port to 37081
* Fix: add rollout plan test back
* Refactor: change the workflow state machine and add workflow succeed state
* Refactor: refine definition controller and fix e2e of app revision
* Refactor: unlock all the normal cases
* Fix: add helm schematic logic back into workflow
2021-09-13 14:17:12 +08:00
Jianbo Sun
f270c5901b
Chore: add backup for code owners ( #2252 )
2021-09-09 17:56:47 +08:00
majian
e0eded58e5
Feat: support code-generator and sync to kubevela-core-api ( #2174 )
2021-09-09 09:28:31 +08:00
Tianxin Dong
75eab7bdde
Docs: remove the commit convention doc ( #2187 )
2021-08-30 11:41:01 +08:00
Jianbo Sun
cb790bfc13
initilize KubeVela codeowner file ( #2178 )
...
* Chore(maintainer): initilize KubeVela codeowner file
* Update .github/CODEOWNERS
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com>
* Update .github/CODEOWNERS
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com>
* Update .github/CODEOWNERS
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com>
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com>
2021-08-28 08:26:41 +08:00
Tianxin Dong
2145afe4e1
Feat(ci): add commit lint ci ( #2160 )
2021-08-25 17:00:50 +08:00
Jianbo Sun
f033768dd2
fix(CI): use buildkit as docker build engine to avoid 401 unauthorized error ( #2120 )
2021-08-18 22:36:02 +08:00
Jianbo Sun
8e4a0c8306
try fix github action push to image hub ( #2115 )
2021-08-18 14:35:43 +08:00
Tianxin Dong
601510e43c
feat(def): add built-in workflow definitions ( #2094 )
...
* use_vela_bin
* Update gen_definitions.sh
add version print
* Update gen_definitions.sh
* Update gen_definitions.sh
* update crossplatform build check
* test
* feat(def): add built-in workflow definitions
* delete pod disruptive in workflow step def
* make cue files reviewable
* fix workflow step definition
* fix ci
* add clean up step
* add build clean up
Co-authored-by: Yin Da <yd219913@alibaba-inc.com>
Co-authored-by: Somefive <Somefive@foxmail.com>
2021-08-18 13:22:57 +08:00
Zheng Xi Zhou
b11d0c69d6
Fix the issue to set the latest nighty build chart name ( #2109 )
...
This is a patch for https://github.com/oam-dev/kubevela/pull/2103
2021-08-17 20:40:41 +08:00
Zheng Xi Zhou
a9ab04dfe3
Store OSS bucket and endpoint to Github Action secret ( #2111 )
...
Storing OSS bucket and endpoint to Github Action secret will help
a developer to test the function without needing to changing code,
revert code. Instead, he/she just need to configure the secret contect
2021-08-17 18:54:14 +08:00
Zheng Xi Zhou
3ccaf04354
Refine the lastest chart name build on master branch ( #2103 )
...
Rename the latest master chart name to x.y.z-nighty-build
2021-08-17 15:13:59 +08:00
wyike
682385dea9
runtime rollout chart ( #2075 )
...
* first commit
WIP
finish all tests
finish github workflow
only for test
only for test
revert test code
minimize rbac
neats imports
fix tests
* reorg
small change
* rename
2021-08-12 21:33:00 +08:00