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

fix(e2e): fix argument for az sig image-version create #968

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

GabrielNagy
Copy link
Contributor

It appears there's been a regression in version 2.59.0 of the Azure CLI, where az sig image-version create fails when being passed the --managed-image flag, see the related failing CI run, and the reported issue on the azure-cli project.

Because of this we are not able to create new versions for any of our VM templates.

To fix this we can apply the workaround from the linked issue and pass the VM ID inside the --virtual-machine argument. I've tested this locally and successfully created a new image version with the change.

Partly fixes UDENG-2528

It appears there's been a regression in version 2.59.0 of the Azure CLI,
where az sig image-version create fails when being passed the
--managed-image flag, see the related failing CI run,[1] and the reported
issue on the azure-cli project.[2]

Because of this we are not able to create new versions for any of our VM
templates.

To fix this we can apply the workaround from the linked issue and pass
the VM ID inside the `--virtual-machine` argument.

[1] https://github.com/ubuntu/adsys/actions/runs/8677801641/job/23793927248
[2] Azure/azure-cli#28700
@GabrielNagy GabrielNagy requested a review from a team as a code owner April 24, 2024 14:22
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.77%. Comparing base (af74ad4) to head (2bd6870).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #968   +/-   ##
=======================================
  Coverage   90.77%   90.77%           
=======================================
  Files          78       78           
  Lines        6886     6886           
=======================================
  Hits         6251     6251           
  Misses        621      621           
  Partials       14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@didrocks didrocks left a comment

Choose a reason for hiding this comment

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

Trusting you on it! :)

@GabrielNagy GabrielNagy merged commit 9521cc0 into main Apr 24, 2024
4 checks passed
@GabrielNagy GabrielNagy deleted the fix-image-version-create-argument branch April 24, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants