Jian.Li
4ff4afde51
Feat: Make applicationComponent can be modified in step ( #2304 )
...
* Feat: component properties can be modfiled in step
* Fix: op.#ApplyRemaining
2021-09-15 13:25:22 +08:00
Somefive
e8d051a532
Support MultiCluster EnvBinding with cluster-gateway ( #2247 )
...
* Feat: init multicluster
* Feat: add secret namespace auto-detect
* Style: format
* Style: split gc codes
* Feat: add cluster cli
* Fix: rebase workflow on master
* Feat: add component selector for env binding
* Fix: selector & patch conflict
* Feat: add local cluster support & fix unit test
* Fix: fix omitempty bug
* Feat(health-scope): support multi-cluster's healthcheck
* Fix: resourcetracker gc bug & rename
* Feat: add multicluster to op.Read
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2021-09-14 20:35:10 +08:00
Hongchao Deng
215c4e0752
Fix: patch any key using retainKeys strategy ( #2280 )
2021-09-13 20:19:16 +08:00
Jian.Li
445db3b276
Fix: E2E Test ( #2274 )
...
* Fix: value.lookUpByScript bug
* Fix: apply-component patch trait resource
2021-09-12 22:45:14 +08:00
Jian.Li
6cbdbe84b2
Refactor application code to make it run as Dag workflow ( #2236 )
...
* Refactor: remove use of AppConfig in AppRevision
* Refactor: remove insert secret and configmap
* Feat(workflow): upgrade
* Fix(conflict): workflow cherry
* Feat(workflow): support DAG mode
* Feat(workflow): prepare steps in step
* Feat(tools): random string
* Fix(rand): gosec weak random
* Fix(ci): test passing
* Feat(workflow): generate steps
* Fix: fix rebase from master
* Fix: fix workflow ut
* Feat(test): add test cases
* Fix: fix lint and rebase from master
* Refactor: application code
* Fix: fix ci lint
* Fix: make code reviewable
* Fix: workflow_test.go
* Feat: collect services
* Fix(ci): unit tests
* Feat: make one
* Test: application with input/output and workflow
* Fix: trace test
* Fix: update step index falied
* Feat: refactor op.#Load
* Fix: delete dead code
* Refactor: op.xxx
* Fix: patch component
* Test: add generator test
* Fix: add license
* Fix: pending e2e plugin test
* Fix: disable test/e2e-test
* Fix: patch by script
Co-authored-by: 天元 <jianbo.sjb@alibaba-inc.com >
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-09-12 10:12:46 +08:00
Eng Zer Jun
426aa7af34
Refactor: move from io/ioutil to io and os package ( #2234 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <zerjun@beatchain.co >
2021-09-06 18:33:42 +08:00
Jian.Li
7a42c743d7
Feat(workflow): outputs support script notation ( #2218 )
...
* Feat(workflow): output support script notation
* Feat(cue): add test case
2021-09-01 19:19:01 +08:00
Jianbo Sun
0781937100
Fix: align all CUE template keyword to use parameter ( #2181 )
2021-08-30 11:43:20 +08:00
Yue Wang
9780ce3bef
Feat(cue): support access components artifacts in cue template context ( #2161 )
...
Signed-off-by: roywang <seiwy2010@gmail.com >
Co-authored-by: roywang <royyuewang@tencent.com >
2021-08-29 09:11:10 +08:00
Zheng Xi Zhou
5fcc2ad9f7
Fix: fix EOF event when describing an application ( #2134 )
...
Fixed the issue: When component properties don't meet the parameter
of the ComponentDefinition, it will hit 'EOF' event
Co-authored-by: Jian.Li <74582607+leejanee@users.noreply.github.com >
Fix #2132
2021-08-27 18:45:05 +08:00
Jian.Li
9311c22c16
Feat(workflow): support to send dingDing message ( #2141 )
...
* Feat(workflow): send dingding message
* Bug(e2e): upgrade golang version
2021-08-21 07:18:04 +08:00
Jian.Li
96a8b24a64
Make the WorkflowStepDefinition to be Universal ( #2124 )
...
* support script
* add comment
2021-08-19 19:15:41 +08:00
Gesa Stupperich
2ee3256b20
Store component parameters in context ( #2030 )
2021-08-06 10:48:00 +08:00
yangsoon
0752244d0b
enable policy ( #2011 )
2021-08-04 18:58:57 +08:00
Jian.Li
5f1d07bfc6
Order Steps by Field Tag ( #2022 )
...
* sort by tag
* add test cases for order tag
* parse comments
* fix atrr conflict
* fix bug
2021-08-04 16:30:11 +08:00
Jianbo Sun
aa87d3da24
upgrade K8s dependency lib to v0.21 ( #1985 )
...
* upgrade K8s dependency to v0.21
* update CRD for new version of controller-runtime
* fix ci component revision create must fill Raw in runtime.RawExtension
* try fix test
* start control plane timeout set to 1min and fix tests
* add timeout for env test start and stop
* longer timeout time for BeforeSuit function
* upgrade kubebuilder and k8s cluster version to match with v1.21.2 in github action
* fix test
* fix resource tracker ownerRef override
* update developer guides
2021-08-03 11:30:02 +08:00
Shaw Ho
d9cd048d79
Fix addRevisionLabel to selector ( #1983 )
...
Signed-off-by: Xiaoxi He <tossmilestone@gmail.com >
2021-08-02 16:36:54 +08:00
Jian.Li
9d6aaa6044
Workflow Support op.# ApplyComponent and op.#ApplyRemaining ( #1993 )
...
* add cap
* workflow
* add docs
* upgrade op.#ApplyComponent
* lint
* bytes to string
2021-07-31 07:14:00 +08:00
wyike
3199fd7577
support context.componentRevName in cue template of traitDefinition ( #1973 )
...
* add logic and test for component context replace
* add more test
* add comments
* fix comments
* rename context revision name
* add bad revision name test
2021-07-28 10:28:02 +08:00
Hongchao Deng
ed0039e1ee
[Feature] CUE Based Workflow Step ( #1935 )
...
* Workflow WIP (#1934 )
* interface
* add model value
* walk fields
* provider
* stdlin
* tasks
* add stdlib
* Adjust TaskGenerator
* Unified configmap format
* development completed
* fix import cycle
* demo passing
* upgrade action
* add value test cases
* format
* apis
* add context test cases
* fmt
* fmt
* add context to taskGenerator (#1942 )
* fix configmap test
* add workflow integration test
* upgrade code
* initial workflow commit
* interface
* add model value
* walk fields
* provider
* stdlin
* tasks
* add stdlib
* Adjust TaskGenerator
* Unified configmap format
* development completed
* fix import cycle
* demo passing
* upgrade action
* add value test cases
* format
* apis
* add context test cases
* fmt
* fmt
* add context to taskGenerator (#1942 )
* fix configmap test
* add workflow integration test
* lint code
* improve pkg[value、context] testing coverage
* Improve testing coverage(#1957 )
* add license
* add test cases
Co-authored-by: Jian.Li <74582607+leejanee@users.noreply.github.com >
Co-authored-by: Jian.Li <lj176172@alibaba-inc.com >
2021-07-22 18:53:30 +08:00
Jian.Li
fcecd0cc8d
patchKey support x.y ( #1916 )
2021-07-14 17:03:50 +08:00
wangyuan249
f4cbe1b98b
Add ignore feature for cue parameter ( #1756 )
...
* add ignore feature for cue parameter
* add test
* fix diff
* fix test
* fix test 2
* fix interact init
2021-06-10 10:29:35 +08:00
yangsoon
b6a6982a57
add test ( #1761 )
2021-06-04 19:05:59 +08:00
Jian.Li
4f47bec238
refactor cue related packages in vela ( #1734 )
...
* refactor-cue
* import group
* readme
* fmt
2021-06-02 15:37:06 +08:00
Zheng Xi Zhou
9e40b77b60
Support cloud resource provisiong and consuming ( #1264 )
...
* Support cloud resource provisioning and consuming (Crossplane)
Provided a way to store secret for cloud resource generated by
Crossplane and to consume the secret
Refer to #1128
* Separate cloud resource producer and consumer in two applications
* add unit test to check whether application can consume cloud resource secret
* update Cloud Resource doc
* Provisioning and consuming cloud resource in different applications v1 (one cloud resource)
* one component consumes two cloud resources
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-03-29 17:20:33 +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
天元
9d5b31be2b
remove local files, diretly use Definition/Application in Cluster
2021-03-12 10:59:24 +08:00
天元
6eeb98870f
fix doc and test
2021-02-24 18:59:36 +08:00
Jianbo Sun
97f45ae859
code refactor ( #935 )
...
* code refactor
* update boilerplate.go.txt
2021-01-26 10:26:41 +08:00
roy wang
6303d311c8
fix lint issues in /pkg/*
...
fix lint issues in /cmd/*
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-11-26 17:18:54 +09: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
天元
3c233d3a9b
fix lint
2020-11-23 15:55:46 +08:00
天元
42c9e68512
fix go sec and remove unnecessary code
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-18 10:34:22 +08:00
Hongchao Deng
debc0da3b6
Merge pull request #620 from wonderflow/golint
...
add description for export const variable and function
2020-11-17 11:15:14 -08:00
天元
fb8c33af8d
add description for export const variable and function, fix golint
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-17 21:04:53 +08:00
天元
974027e233
fix go imports lint complain
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-17 20:40:08 +08:00
天元
efb76ee5ee
tunning docs
2020-11-16 14:07:38 +08:00
zzxwill
7031e04c75
Revise Autoscaler doc with appfile focused
...
- Splitted autoscale docs to be appfile focused,
and add cpu utilization scaling policy for appfile
- Allow user to input parameter with int type, like
10 instead of "10"
- Change cpuRequest/cpu to proper names
To fix #564
2020-11-12 19:02:14 +08:00
天元
ab72ddbea4
clean code
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-12 10:54:21 +08:00
天元
07351d9dd7
update vela init UI
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-11 16:16:01 +08:00
Zheng Xi Zhou
91f47586cf
Autoscaler for appfile ( #510 )
...
* Autoscaler for appfile
completed spec.extension.template to support autoscale in
cli and appfile
* add alias name to cpuRequest in Cli for deploying webservice
2020-11-07 07:54:59 +08:00
Hongchao Deng
8fdf48eac1
Add appfile tutorial and fix code
...
includes:
- fix up command to save appfile to env dir
- update cue template to include cmd and config
- move design to doc/design
2020-10-29 22:41:07 -07:00
Hongchao Deng
f962dc0f11
fix ut
2020-10-26 23:38:11 -07:00
Hongchao Deng
95823cdcdb
fix
2020-10-26 23:19:59 -07:00
Hongchao Deng
cff6a74430
capability: use def name as name
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-26 20:51:16 -07:00
Hongchao Deng
1b82e3ae2a
vela config command
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-23 13:49:10 -07:00
Hongchao Deng
20a5457d5f
refactor pkg/application to use Appfile ( #402 )
...
* refactor pkg/application to use Appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* fix build
* fix workload
* refactor pkg/application to use Appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* rebase
* fix
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* e2e
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* update design
* add test coverage for appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* comment
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
2020-10-21 13:01:46 +08:00
Hongchao Deng
b08c6b9441
Appfile: Extensible, User-friendly Application Config Format ( #390 )
...
* design doc
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* Support deployment via appfile
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* design update
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* comments
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* update
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com >
* refactor
* add multi services example in design doc
2020-10-18 11:22:17 +08:00
Hongchao Deng
af91fdf21e
cue: rename 'data' to 'output'
2020-10-12 21:02:33 -07:00
Ryan Zhang
c69c809264
improve CUE format
2020-09-25 21:58:30 -07:00