-
Notifications
You must be signed in to change notification settings - Fork 18
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
chore(updatecli):Track ubuntu 22_04 AMD64
AZ images
#1507
base: main
Are you sure you want to change the base?
chore(updatecli):Track ubuntu 22_04 AMD64
AZ images
#1507
Conversation
Signed-off-by: jayfranco999 <[email protected]>
Signed-off-by: jayfranco999 <[email protected]>
Signed-off-by: jayfranco999 <[email protected]>
Signed-off-by: jayfranco999 <[email protected]>
ubuntu 22_04 AMD64
imagesubuntu 22_04 AMD64
AZ images
@@ -17,6 +17,7 @@ build { | |||
image_publisher = "canonical" | |||
# List available SKUs with the command `az vm image list-skus --offer 0001-com-ubuntu-server-jammy --location eastus --publisher canonical --output table` | |||
image_sku = local.az_instance_image_sku[var.architecture] | |||
image_version = try(local.images_versions["azure"]["ubuntu"][var.agent_os_version][var.architecture], "N/A") |
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.
This line looks good to me 👍
Current image version in the YAML images definition file is latest
. As such, the CI check uses the expected "latest" reference:
-> SourceImageName: '/subscriptions/****/providers/Microsoft.Compute/locations/eastus2/publishers/canonical/ArtifactTypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/latest'
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.
Good work! Still some work is needed:
- Blocker: fix the
updatecli
errors. It looks like the source responds with an empty string on the CI. Not sure if it is an updatecli error, AZ credential error, or something else. - Rebase the PR against the latest main reference
transformers: | ||
- addprefix: '"' | ||
- addsuffix: '"' |
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.
Did you test locally? If yes what was the result for your test?
On the CI side, it fails with the following error:
ERROR: something went wrong in "target#updateVersion" : something went wrong in target "updateVersion" : "validation error: transformer input is empty"
As per jenkins-infra/helpdesk#4365 (comment)
This PR pins and tracks the latest AZ image for
ubuntu 22_04 AMD64