Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip env processing on matrix import step #7854

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

benbp
Copy link
Member

@benbp benbp commented Mar 11, 2024

Matrix filters are intended to work against the environment variable key, not the resolved value. There is a bug where resolve environment variables on an imported matrix, before processing any matrix filters passed in from the top level. This PR changes import behavior to skip env var lookup until after the imported matrix has been combined with the parent matrix.

@benbp benbp added the Central-EngSys This issue is owned by the Engineering System team. label Mar 11, 2024
@benbp benbp requested a review from a team as a code owner March 11, 2024 19:10
@benbp benbp self-assigned this Mar 11, 2024
@benbp benbp requested a review from scbedd March 11, 2024 19:10
Copy link
Member

@scbedd scbedd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, def makes sense. Thanks @benbp

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

benbp added a commit to Azure/azure-sdk-for-js that referenced this pull request Mar 11, 2024
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#7854 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
@benbp benbp enabled auto-merge (squash) March 11, 2024 21:07
@benbp benbp merged commit ee4f485 into Azure:main Mar 11, 2024
22 checks passed
@benbp benbp deleted the benbp/gen-matrix-import-env branch March 12, 2024 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants