Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
410 stars 198 forks source link

[EngSys] Add PR number as a tag for RepoMan TestTemplates flow #4085

Open vhvb1989 opened 4 months ago

vhvb1989 commented 4 months ago

As the transition to AVM continues, there might be cases where we need to check a rg in the Portal and see where it came from. The current tags and name are helping to know the rg/resources are coming from the test-templates, but it is not clear if the pipeline was triggered by which PR (what changes).

Having a tag or the PR number in the name would help to understand such cases. See the last time this was required here: https://github.com/Azure/azure-dev/pull/3976#issuecomment-2215405821

benbp commented 4 months ago

To be consistent we can add the devops build id and other values (these env vars are auto-populated by devops). See example for our language live tests: https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/TestResources/New-TestResources.ps1#L342-L345