dotnet / dotnet/dotnet-docker

Use Build Matrix Trimming in (at least) nightly PR validation

Open
#7,023 1 comment 0 reactions 0 assignees View on GitHub
area-infrastructure
Dominant language
Dockerfile
Stars
4.9k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
26

Description

In PRs that only change a couple of images, we waste a ton of compute running build legs that ultimately do nothing. In the nightly repo, I think we can better optimize for PR validation speed by turning on [Build matrix trimming](https://github.com/dotnet/docker-tools/pull/1449).

Open question: should we should turn it on for any other pipelines?

**Definitely:**
- nightly PR validation

**Maybe:**
- nightly (no-cache) PR validation
- main PR validation
- main (no-cache) PR validation
- release PR validation
- etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.