-
Notifications
You must be signed in to change notification settings - Fork 414
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
[AVM Question/Feedback]: Dev-ops-infrastructure/pool - Image reference unclear #3845
Comments
Important The "Needs: Triage 🔍" label must be removed once the triage process is complete! Tip For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation. |
Hey Sebastian. I believe the issue is more "unclear docs" than an issue with the module. The AVM module parameter is which images to support in the Managed DevOps pool, as per this setting in the portal: The learn docs linked on the other hand is talking about "built in aliases". In your Azure DevOps YAML you can use aliases as image override, and select runner type. You may also set additional aliases in the AVM module using The confusion, and a fully understandable one, is that aliases and image references uses almost the same names but is actually different settings. Add to this that the Azure Pipelines images have no other version but latest as per point number one above. Additionally - The confusion is made extra big since we have the Azure pipelines - Ubuntu 22.04 image that is set using the value I hope this clears it up a bit, and that the docs gets some improvement on this topic. //Björn |
Oh, I may have misread stuff.. You are of course correct about the docs also, but the link provided was to the Alias chapter. Looking at the official learn docs for ARM deployment and Choose your pools image we see that here they do not include latest in the version, where as in the AVM module they do. Someone with insight in the ARM/AVM settings may better answer if |
Warning Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly. Tip
|
Warning Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly. Tip
|
Caution **This issue requires the AVM Core Team's (@Azure/avm-core-team-technical-bicep) immediate attention as it hasn't been responded to within 6 business days. ** Tip
|
Hey @SebastianClaesson, |
Hey @elizatargithub7 & @surajguptha, please advice when you get the chance :) bicep-registry-modules/avm/res/dev-ops-infrastructure/pool/tests/e2e/defaults/main.test.bicep Lines 63 to 67 in a237334
|
Warning Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly. Tip
|
Caution **This issue requires the AVM Core Team's (@Azure/avm-core-team-technical-bicep) immediate attention as it hasn't been responded to within 6 business days. ** Tip
|
Hey @SebastianClaesson, I just checked the REST API invovcation (CREATE) and can at least say that also the |
Hi @AlexanderSehr , The deployment has been fine, it is just unclear if /latest flag is needed or not! |
The latest flag is not needed, if it's missing, our service will add it. |
Thanks! I'll close the issue, this is the answer I was looking for (and expected!) |
Check for previous/existing GitHub issues
Description
Hi,
Reference AVM; https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/dev-ops-infrastructure/pool
When setting the image name, I can see that in all examples it's set as "< wellKnownImageName >/latest".
bicep-registry-modules/avm/res/dev-ops-infrastructure/pool/tests/e2e/defaults/main.test.bicep
Lines 63 to 67 in a237334
Reference:
https://github.com/Azure/bicep-registry-modules/blob/main/avm/res/dev-ops-infrastructure/pool/README.md#example-1-using-only-defaults
However Microsoft Learn does not have this documented:
https://learn.microsoft.com/en-us/azure/devops/managed-devops-pools/configure-images?view=azure-devops&tabs=arm#azure-pipelines-image-predefined-aliases
Is it necessary to set /latest in the wellKnownImageName reference, or is it just to be explicit that it's the latest produced image that is used.
And leaving it without "/latest" would produce the same result?
Or is the effect something else when excluding "/latest" in the image reference?
Thanks!
/Sebastian
The text was updated successfully, but these errors were encountered: