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

(#74)(ENGTASKS-3605) Update ReadMe and Vagrantfile in preperation for release of new box version with Hyper-V provider #77

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

Windos
Copy link
Member

@Windos Windos commented Jun 17, 2024

Description Of Changes

This PR includes two small tweaks to the Vagrantfile specific to the Hyper-V provider that came out of testing using Hyper-V to run the Chocolatey Test Environment. Specifically, it increases the timeout for getting an IP address when first booting the image and it also sets the "maximum memory" to nil so that the user can specify any amount of memory as allowed by their available resources.

It also updates the ReadMe with information specific to running this testing environment under Hyper-V, including warning about the limitations that may be encountered while doing so.

Motivation and Context

We're about to release v3.2.0 of the Vagrant box used by this test environment and re-introduce a Hyper-V version of the box.

Testing

These changes come as a result of testing the new Hyper-V provider version of the test-environment box (v3.2.0).

Operating Systems Testing

N/A

Change Types Made

  • Bug fix (non-breaking change).
  • Feature / Enhancement (non-breaking change).
  • Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • PowerShell code changes: PowerShell v2 compatibility checked?

Related Issue

The hyper-v box can potentially have the max memory set lower than the
desired amount of memory in the test environment Vagrantfile. Overring
the max memory with `nil` enables any memory amount to be used.

In testing, it also took longer than expected to for the box to get an
IP address, and so the IP Address Timeout has been increased to give
more time for this step to complete.
Copy link
Member

@pauby pauby left a comment

Choose a reason for hiding this comment

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

Just a few changes @Windos. I know some of them are not anything you have changed in this PR. But I feel we should make the changes while we're in here.

ReadMe.md Outdated Show resolved Hide resolved
ReadMe.md Outdated Show resolved Hide resolved
ReadMe.md Outdated Show resolved Hide resolved
ReadMe.md Outdated Show resolved Hide resolved
ReadMe.md Outdated Show resolved Hide resolved
ReadMe.md Outdated Show resolved Hide resolved
@pauby
Copy link
Member

pauby commented Jun 19, 2024

@Windos I don't think we should merge this in until the box is on the Vagrant Cloud?

@Windos
Copy link
Member Author

Windos commented Jun 20, 2024

Thanks for the review and suggested edits, @pauby, I agreed with and applied all of them.

Agreed that this should be merged at the same time as the blog post and the boxes are released (those are ready to go now, thankfully)

@Windos Windos requested a review from pauby June 20, 2024 05:23
Add a section on using Hyper-V instead of VirtualBox, including a
recommendation to prefer VirtualBox and linking to known limitations.

This also updates the table of contents to include the newly added
section as well as two sections added in a previous commit that were
not added to the list.
@pauby pauby merged commit 2fbe4e9 into chocolatey-community:master Jun 20, 2024
@pauby
Copy link
Member

pauby commented Jun 20, 2024

Thanks @Windos for getting this updated!

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