github.com/oam-dev/kubevela@v1.9.11/vela-templates/definitions/internal/workflowstep/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 if parameter.auto == false { 17 suspend: op.#Suspend & {message: "Waiting approval to the deploy step \"\(context.stepName)\""} 18 } 19 deploy: op.#Deploy & { 20 policies: parameter.policies 21 parallelism: parameter.parallelism 22 ignoreTerraformComponent: parameter.ignoreTerraformComponent 23 } 24 parameter: { 25 //+usage=If set to false, the workflow will suspend automatically before this step, default to be true. 26 auto: *true | bool 27 //+usage=Declare the policies that used for this deployment. If not specified, the components will be deployed to the hub cluster. 28 policies: *[] | [...string] 29 //+usage=Maximum number of concurrent delivered components. 30 parallelism: *5 | int 31 //+usage=If set false, this step will apply the components with the terraform workload. 32 ignoreTerraformComponent: *true | bool 33 } 34 }