You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the PR builds have image caching enabled. This is useful because it avoids build and testing images that haven't changed. But this is problematic when we want to use the PR build to validate infrastructure changes. Not building any images or only building a subset may mean that code paths in the infrastructure do not get exercised and leads to a lack of test coverage for the change.
We should consider having a special pipeline defined for PR builds that executes with caching disabled in order to test infrastructure changes. The trigger paths should be set to appropriate values in order to limit when this pipeline runs. It's also not necessary to build the entire portfolio of images but rather just a representative subset that best exercises code paths that should be tested.
My proposal of which paths should be run by this pipeline: --path 'src/*/3.1/alpine/amd64' --path 'src/*/3.1/alpine/arm64v8' --path 'src/*/5.0/nanoserver-2004/amd64'
This provides a mix of operating systems, architecture types, and .NET versions. It also focuses on build legs that are fastest in their respective categories.
Activity
mthalman commentedon Oct 6, 2020
My proposal of which paths should be run by this pipeline:
--path 'src/*/3.1/alpine/amd64' --path 'src/*/3.1/alpine/arm64v8' --path 'src/*/5.0/nanoserver-2004/amd64'This provides a mix of operating systems, architecture types, and .NET versions. It also focuses on build legs that are fastest in their respective categories.