Skip to content

Conversation

@nbyavuz
Copy link
Collaborator

@nbyavuz nbyavuz commented Jul 17, 2023

There's a lot of redundant data in the two images, and the image storage
costs are starting to be noticable; so merge these images.

I tested and confirmed it is working. This PR needs to merged together with anarazel/postgres#84.

Closes #65

@anarazel
Copy link
Owner

What are the before and combined images sizes?

@nbyavuz
Copy link
Collaborator Author

nbyavuz commented Jul 19, 2023

What are the before and combined images sizes?

Before:
VS: ~10.5 GB
Mingw: ~10 GB

Combined: ~11 GB

@anarazel
Copy link
Owner

That's very cool.

# packer version is 1.6.6 while generating the vm images, and it complains
# if local.only.docker is used here
only = ["docker.windows_ci_vs_2019", "docker.windows_ci_mingw64"]
only = ["docker.windows_container", "docker.windows_container"]
Copy link
Owner

Choose a reason for hiding this comment

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

Let's drop the windows containers before we get to this bit - since all users would need to change the name of the container anyway, there's not much point in continuing to build them.

@nbyavuz nbyavuz force-pushed the merge-windows-ci branch 2 times, most recently from aaf92dc to 9f172ef Compare August 7, 2023 09:42
@nbyavuz
Copy link
Collaborator Author

nbyavuz commented Aug 7, 2023

Note that this PR is rebased onto #87.

@nbyavuz nbyavuz requested a review from anarazel August 7, 2023 10:02
There's a lot of redundant data in the two images, and the image storage
costs are starting to be noticable; so merge these images.
Copy link
Owner

@anarazel anarazel left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@nbyavuz nbyavuz merged commit 6747f67 into anarazel:main Aug 23, 2023
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.

Merge different windows images?

2 participants