Moved to https://github.com/michaelsauter/ods-pipeline/wiki so that it can be split up into multiple documents ...
-
-
Save michaelsauter/db826ba8ee078dcd468291af931cbba6 to your computer and use it in GitHub Desktop.
I re-read the docs (always a good thing to do 😄) and realised that I was wrong on the "no task parallelism when tasks mount the same workspace" assumption. See https://tekton.dev/docs/pipelines/workspaces/#specifying-workspace-order-in-a-pipeline-and-affinity-assistants. I verified this to work as expected in our cluster, meaning tasks still run in parallel by default even if they share the same workspace (because they are assigned to the same node by default). This removes a big limitation outlined above - I've updated the proposal accordingly. Especially build tasks in monorepos will benefit hugely from this.
With regards to running tasks in parallel sharing files in the same workspace, there's a nice thread about it:
@felipecruz91 thanks for the link. I discovered this as well and the current proposal already takes this into account :)
@henrjk Thanks for your comments! I have been thinking about your use case as well and also came to the point of the SO answer. However, I don't have a complete picture right now what a good balance would be. My thoughts so far:
In any case, the proposal is still quite flexibel (right now it is mainly "readme-ware") so I'm sure we can adapt it until we have a nice concept. Would love to workshop this with you / the team so that we learn from your experience with the monorepo!