-
Notifications
You must be signed in to change notification settings - Fork 31
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 minimal images on gce and ec2 #416
Fix minimal images on gce and ec2 #416
Conversation
3e7e89d
to
6feda1c
Compare
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.
Validated both ec2 and gce integration test runs are covered and functioning thanks for the fix!
Bump VERSION to 9.1.1 and merge away.
@@ -155,7 +155,7 @@ def test_public_api(cloud: BaseCloud): | |||
], | |||
indirect=True, | |||
) | |||
def test_public_api_mininal_images(cloud: BaseCloud): | |||
def test_public_api_minimal_images(cloud: BaseCloud): |
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 much prefer mininal
.... But, if we prefer to be correct and all +1.
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.
Bahahahah
tests/unit_tests/gce/test_cloud.py
Outdated
], | ||
) | ||
def test_get_name_filter(self, release, image_type, expected_name_filter): | ||
gce = FakeGCE(tag="tag") |
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.
Same, fake tag=tag param unnecessary. not a blocker to landing. Resolve or not and merge as you see fit.
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.
alright removed all references to tags for these fake classes since its a noop.
d431fe7
to
8aedfe7
Compare
PR canonical#410 introduced minimal images and added integration test coverage for EC2 and GCE but the helper functions used to find images on those clouds were not updated. This fixes this issue and should include all the remaining functionality needed for minimal images to work on those clouds.
8aedfe7
to
1d0c7f2
Compare
Please just rebase, do not squash 🫡