mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +00:00
* 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>
34 lines
967 B
YAML
34 lines
967 B
YAML
# Code generated by KubeVela templates. DO NOT EDIT. Please edit the original cue file.
|
|
# Definition source cue file: vela-templates/definitions/internal/builtin-apply-component.cue
|
|
apiVersion: core.oam.dev/v1beta1
|
|
kind: WorkflowStepDefinition
|
|
metadata:
|
|
annotations:
|
|
definition.oam.dev/description: Apply components and traits for your workflow steps
|
|
name: rollout-wait-succeed
|
|
namespace: vela-system
|
|
spec:
|
|
schematic:
|
|
cue:
|
|
template: |
|
|
import (
|
|
"vela/op"
|
|
)
|
|
|
|
// apply components and traits
|
|
apply: op.#ApplyComponent & {
|
|
component: parameter.component
|
|
}
|
|
|
|
parameter: {
|
|
// +usage=Declare the name of the application
|
|
appName: string
|
|
// +usage=Declare the name of the component
|
|
component: string
|
|
}
|
|
|
|
wait: op.#ConditionalWait & {
|
|
continue: apply.traits["rollout"].value.status.rollingState=="rolloutSucceed"
|
|
}
|
|
|