Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been thinking about having a globals.yml file in common that could have some common properties. This might be one of them but I'm not sure I would do it just for this one case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seemed to start popping up for java and adding 3+ minutes to their builds, hence the quick fix. But I agree next time we have to add something similar we can think about adding a globals.yml for eng/common.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have a globals.yml. https://github.com/Azure/azure-sdk-tools/blob/main/eng/pipelines/templates/variables/globals.yml
Do we want to serve another purpose
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sima-zhu the challenge is that globals is not in
eng/common
so it can't be referenced by templates that are ineng/common
. I think we would probably would want separate globals files, as the configurations we use for tools might be different than the ones we use for the language repos (and we may want to be able to iterate on those without having to do as much cross-pipeline testing).