Skip to content

Commit

Permalink
[MacOS] Unpin Virtualbox (actions#8653)
Browse files Browse the repository at this point in the history
* [MacOS] Unpin Virtualbox

* Remove obsolete virtualbox kext pester test
  • Loading branch information
vpolikarpov-akvelon authored Oct 27, 2023
1 parent 804aabd commit f3d011e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
13 changes: 1 addition & 12 deletions images/macos/provision/core/commonutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,7 @@ done
cask_packages=$(get_toolset_value '.brew.cask_packages[]')
for package in $cask_packages; do
echo "Installing $package..."
if [[ $package == "virtualbox" ]]; then
if ! is_Ventura || ! is_VenturaArm64; then
# VirtualBox 7 crashes
# macOS host: Dropped all kernel extensions. VirtualBox relies fully on the hypervisor and vmnet frameworks provided by Apple now.
vbcask_url="https://raw.githubusercontent.com/Homebrew/homebrew-cask/aa3c55951fc9d687acce43e5c0338f42c1ddff7b/Casks/virtualbox.rb"
download_with_retries $vbcask_url
brew install ./virtualbox.rb
rm ./virtualbox.rb
fi
else
brew install --cask $package
fi
brew install --cask $package
done

# Load "Parallels International GmbH"
Expand Down
6 changes: 0 additions & 6 deletions images/macos/tests/Common.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ Describe "Go" -Skip:($os.IsVentura -or $os.IsVenturaArm64) {
}
}

Describe "VirtualBox" -Skip:($os.IsBigSur -or $os.IsVentura -or $os.IsVenturaArm64) {
It "Check kext kernel modules" {
kextstat | Out-String | Should -Match "org.virtualbox.kext"
}
}

Describe "CodeQL Bundle" {
It "Is installed" {
$CodeQLVersionWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"
Expand Down

0 comments on commit f3d011e

Please sign in to comment.