test(e2e): Install ffmpeg on windows worker (#6659)
This commit is contained in:
1 parent
15eedca61d
commit
10cf62aa34
1 file changed
+12
@@ -32,6 +32,18 @@ $Task = Get-ScheduledTask -TaskName "boundary"
|
||||
$Task.Settings.ExecutionTimeLimit = "PT0H" # zero hours
|
||||
Set-ScheduledTask $Task
|
||||
|
||||
# Install chocolatey (package manager)
|
||||
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
|
||||
|
||||
# Refreshes env to get choco on path
|
||||
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
|
||||
$env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.."
|
||||
Import-Module "$env:ChocolateyInstall/helpers/chocolateyInstaller.psm1"
|
||||
refreshenv
|
||||
|
||||
# Install ffmpeg for session recording
|
||||
choco install ffmpeg -y
|
||||
|
||||
# Restart the computer to apply changes
|
||||
# Needed for adding the computer to the domain from the user_data script
|
||||
shutdown -r -t 10
|
||||
Reference in new issue
Block a user