Summary
You now know how to persist data and use shared volumes across various tasks in a Tekton pipeline. Now that you can share information such as code bases or images, it will be easier to make examples closer to your day-to-day life as a software developer and CI/CD author.
You've also seen how you can build task runs and pipeline runs directly and pass them arguments such as the parameter values or the workspace definition.
If you've done the exercises, more specifically the last one, you had to use some if
statements in your Bash scripts to validate the user role. In Tekton, there is a way to perform some tasks based on specific conditions instead of relying on Bash scripting. These are called when expressions and will be introduced in the next chapter.