chore(e2e): Add some dependencies for RDP automation
* added dependencies for automation
This commit is contained in:
1 parent
0ac6b73414
commit
725093f8d8
6 files changed
+46
-2
No files matched your search
@@ -5,6 +5,11 @@
|
||||
$destination = Split-Path -Path ${boundary_cli_zip_path}
|
||||
Expand-Archive -Path ${boundary_cli_zip_path} -DestinationPath $destination -Force
|
||||
|
||||
# Unzip boundary src to new directory
|
||||
$base = [System.IO.Path]::GetFileNameWithoutExtension("${boundary_src_zip_path}")
|
||||
$src_destination = Join-Path (Split-Path ${boundary_src_zip_path}) $base
|
||||
Expand-Archive -Path ${boundary_src_zip_path} -DestinationPath $src_destination -Force
|
||||
|
||||
# Add Boundary CLI to PATH
|
||||
$existingPath = [Environment]::GetEnvironmentVariable(
|
||||
"Path",
|
||||
@@ -28,4 +33,19 @@ Import-Module "$env:ChocolateyInstall/helpers/chocolateyInstaller.psm1"
|
||||
refreshenv
|
||||
|
||||
# install mremoteng
|
||||
choco install mremoteng -y
|
||||
choco install mremoteng -y
|
||||
|
||||
choco install golang -y --version ${go_version}
|
||||
refreshenv
|
||||
choco install git -y
|
||||
refreshenv
|
||||
choco install mingw -y
|
||||
refreshenv
|
||||
# needs cmake >3.7 and <4.0
|
||||
choco install cmake --version 3.31.8 -y
|
||||
refreshenv
|
||||
|
||||
# Set the github token if provided
|
||||
if ("${github_token}" -ne "") {
|
||||
git config --system url."https://oauth2:${github_token}@github.com".insteadOf "https://github.com"
|
||||
}
|
||||
Reference in new issue
Block a user