Tianxin Dong
a855eddedc
Fix: refactor the step group in workflow ( #3956 )
...
* Fix: refactor the step group in workflow
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add tests for discover
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-05-23 20:17:13 +08:00
zq200618
7d9c647b1a
Feat: support step group with substep in the workflow ( #3772 )
...
Signed-off-by: zhengq2006 <zhengq200618@cmbchina.com >
workflow substep develop
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
2022-05-23 10:26:21 +08:00
Tianxin Dong
21216055fb
Feat: add vela debug command ( #3580 )
...
* Feat: add debug configmap if debug policy is specified
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add vela debug command
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* make code reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix sonartype lift
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix cue string
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: display better for debug
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* tidy the go mod
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add debug test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change uitable vendor
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add more tests
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* pass resource keeper from handler
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix rebase
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-18 11:06:14 +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
d6cf2cdd2f
Fix: add process context in workflow ( #3318 )
...
* Fix: add process context in workflow
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add context data in process context
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* delete usesless func
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* use multi cluster ctx in process ctx
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* remove debug log
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-28 10:30:55 +08:00
Tianxin Dong
cb7bc0e7f4
Fix: handle workflow cache reconcile ( #3128 )
...
* Fix: handle workflow cache reconcile
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix return and move backoff to memory
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* handle failed to patch case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add store in err case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* make reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* do cleanup in ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-22 15:54:17 +08:00
barnettZQG
d4762e09cd
Feat: support query endpoints in status command and speed up CLI response ( #3052 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-07 15:49:27 +08:00
Tianxin Dong
655c2615e1
Feat: add workflow reconciling backoff time and failed limit times ( #2881 )
...
* Feat: add workflow failed after retries
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add workflow reconcile backoff time
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* make reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve some comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add tests
* fix rebase
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix status
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix requeue time interval
* resolve comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change time to pointer
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix pointer test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change time to cm
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve comments and add e2e test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-12-15 11:33:33 +08:00
Jian.Li
0803b45faf
Feat: output log with structured tag & add step duration metrics ( #2683 )
...
* debug task
* metrics
* trace context
* add step_duration metrics
* add readme docs
2021-11-12 11:48:41 +08:00
Tianxin Dong
85c887d3e4
Fix: change raw extension to pointer ( #2451 )
...
* Fix: change raw extension to pointer
* Test: fix ut
2021-10-13 16:16:53 +08:00
Tianxin Dong
f9b218919a
Feat(workflow): add depends on in workflow ( #2387 )
...
* Feat: add depens on in charts
* Feat(workflow): add depends on in workflow
2021-09-30 10:30:44 +08:00
Jian.Li
ef653ebeb4
Feat: add inputs test cases and optimize code ( #2388 )
...
* Feat: add test case & optimize code
* Fix: e2e test
2021-09-29 15:08:00 +08:00
Tianxin Dong
e73655a8b2
Refactor: change field exportKey to valueFrom ( #2284 )
2021-09-14 10:23:39 +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
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
Jian.Li
1a6d2be6d0
Feat(workflow): input.ParameterKey described like paths notation ( #2214 )
...
* Feat(workflow): input.ParameterKey path notation
* Feat(workflow): add test case
* Fix(lint): format code
2021-09-01 11:34:16 +08:00
Jianbo Sun
0781937100
Fix: align all CUE template keyword to use parameter ( #2181 )
2021-08-30 11:43:20 +08:00
Jian.Li
96a8b24a64
Make the WorkflowStepDefinition to be Universal ( #2124 )
...
* support script
* add comment
2021-08-19 19:15:41 +08:00
Zhizhen He
1e294b3164
chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml ( #2089 )
2021-08-15 10:53:05 +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
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
Jian.Li
4481e7637d
Optimize Workflow ( #1978 )
...
* open op.#Steps
* export
* fmt code
* fix bug & upgrade workflow doc
* fmt
* upgrade test coverage
* upgrade test coverage
2021-07-29 11:35:22 +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