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 minimal images on gce and ec2 #416

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

a-dubs
Copy link
Collaborator

@a-dubs a-dubs commented Sep 13, 2024

Please just rebase, do not squash 🫡

@a-dubs a-dubs force-pushed the fix-minimal-images-on-gce-and-ec2 branch 2 times, most recently from 3e7e89d to 6feda1c Compare September 13, 2024 18:01
Copy link
Collaborator

@blackboxsw blackboxsw left a 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):
Copy link
Collaborator

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Bahahahah

tests/unit_tests/ec2/test_cloud.py Outdated Show resolved Hide resolved
],
)
def test_get_name_filter(self, release, image_type, expected_name_filter):
gce = FakeGCE(tag="tag")
Copy link
Collaborator

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.

Copy link
Collaborator Author

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.

@a-dubs a-dubs force-pushed the fix-minimal-images-on-gce-and-ec2 branch 2 times, most recently from d431fe7 to 8aedfe7 Compare September 13, 2024 20:18
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.
@a-dubs a-dubs force-pushed the fix-minimal-images-on-gce-and-ec2 branch from 8aedfe7 to 1d0c7f2 Compare September 13, 2024 20:23
@blackboxsw blackboxsw merged commit 9b12e4f into canonical:main Sep 13, 2024
4 checks passed
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.

2 participants