github.com/oam-dev/kubevela@v1.9.11/pkg/definition/gen_sdk/testdata/deploy.cue (about) 1 import ( 2 "vela/op" 3 ) 4 5 "deploy": { 6 type: "workflow-step" 7 annotations: { 8 "category": "Application Delivery" 9 } 10 labels: { 11 "scope": "Application" 12 } 13 description: "A powerful and unified deploy step for components multi-cluster delivery with policies." 14 } 15 template: { 16 deploy: op.#Deploy & { 17 policies: parameter.policies 18 parallelism: parameter.parallelism 19 ignoreTerraformComponent: parameter.ignoreTerraformComponent 20 } 21 parameter: { 22 //+usage=If set to false, the workflow will suspend automatically before this step, default to be true. 23 auto: *true | bool 24 //+usage=Declare the policies that used for this deployment. If not specified, the components will be deployed to the hub cluster. 25 policies: *[] | [...string] 26 //+usage=Maximum number of concurrent delivered components. 27 parallelism: *5 | int 28 //+usage=If set false, this step will apply the components with the terraform workload. 29 ignoreTerraformComponent: *true | bool 30 } 31 }