Skip to content

Fix test stage matrix generation - #1465

Merged
mthalman merged 1 commit into
dotnet:mainfrom
mthalman:dev/mthalman/test-matrix
Oct 9, 2024
Merged

mthalman merged 1 commit into
dotnet:mainfrom
mthalman:dev/mthalman/test-matrix

Conversation

@mthalman

@mthalman mthalman commented Oct 9, 2024

Copy link
Copy Markdown
Member

The changes from #1459 cause a failure during the Test stage (example build - internal link): generateBuildMatrix: command not found.

This is because it's attempting to run the command directly from the agent rather than from the container. This was a result of a mistake in the YAML. It was attempting to condition the logic differently depending on whether it was generating a matrix for the test stage or not. But that was unnecessary. In both build stage and test stage scenarios, it can use the same template logic for running the command.

Another issue was that Set GenerateBuildMatrix Command step had a silent failure: commonMatrixAndBuildOptions: command not found. This is because the common init steps were not being passed to the generate-matrix.yml template for the test stage. That's been fixed as well.

@mthalman
mthalman requested a review from a team as a code owner October 9, 2024 15:28
@ghost

ghost commented Oct 9, 2024

Copy link
Copy Markdown

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the untriaged label Oct 9, 2024
@ghost

ghost commented Oct 9, 2024

Copy link
Copy Markdown

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@mthalman
mthalman requested a review from MichaelSimons October 9, 2024 15:29
@mthalman
mthalman merged commit 17a44b0 into dotnet:main Oct 9, 2024
@mthalman
mthalman deleted the dev/mthalman/test-matrix branch October 9, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants