Default pipeline
- Last updated on December 29, 2023
- •
- Less than a minute to read
Let's look at the default pipeline that covers the base case scenario.
To open this file, navigate to Pipelines in your Customer's Canvas account, click dots next to Default pipeline, and then click Edit.
This pipeline has three basic tasks:
- Getting the design from the project and putting this design to the artifacts.
- Rendering the design and putting print files to the result.pdf file.
- Cleaning up the pipeline and getting the final artifacts.
flowchart TB
t1(Getting a design)
t2(Rendering the design)
t3(Finalizing)
t1--design-->t2
t2--print file-->t3
{
"tasks": [
{
"description": "Extract design from project",
"name": "extract",
"type": "extract-project-design",
"parameters": {},
"outputArtifacts": [
"design"
]
},
{
"description": "Render design",
"name": "render-hires",
"type": "render-hires",
"inputArtifacts": [
"design"
],
"parameters": {
"hiResOutputDpi": 300,
"hiResOutputFileFormat": "pdf",
"hiResOutputColorSpace": "cmyk",
"hiResOutputRgbColorProfileName": "",
"hiResOutputCmykColorProfileName": "",
"hiResOutputGrayscaleColorProfileName": "",
"hiResOutputToSeparateFiles": false,
"hiResOutputChannelContainersToSeparateFiles": false,
"hiResOutputChannelContainersRenderEmptyPage": true
},
"outputArtifacts": [
"result*"
]
},
{
"description": "Finalize",
"name": "finalizing",
"type": "finalize",
"finalArtifacts": [
"result*"
]
}
]
}
As a result, the print files will be assigned to finalArtifacts
and will appear in the project.
To change the default name of the print file, you can specify it in the outputArtifacts
array of the render-hires
task.