Revert package manager (not compatible with winRM!!!)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2021-07-05 17:07:04 +02:00
parent a3e4fb98eb
commit 98a6e636fb

View File

@ -198,36 +198,36 @@ build {
provisioner "windows-update" { provisioner "windows-update" {
} }
// provisioner "powershell" {
// scripts = [
// "scripts/Install-Prerequisites.ps1",
// "scripts/Install-WinGet.ps1"
// ]
// }
// provisioner "powershell" {
// inline = [
// "winget install mozilla.firefox",
// "winget install 7zip.7zip",
// "winget install microsoft.dotnetframework"
// ]
// // valid_exit_codes = [0, 3010]
// }
provisioner "powershell" { provisioner "powershell" {
scripts = [ inline = [
"scripts/Install-Prerequisites.ps1", "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12",
"scripts/Install-WinGet.ps1" "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
] ]
} }
provisioner "powershell" { provisioner "powershell" {
inline = [ inline = [
"winget install mozilla.firefox", "choco config set --name=limit-output --value=LimitOutput",
"winget install 7zip.7zip", "choco install -y dotnetfx",
"winget install microsoft.dotnetframework" "choco install -y 7zip.install",
"choco install -y sysinternals",
"choco install -y firefox"
] ]
// valid_exit_codes = [0, 3010] valid_exit_codes = [0, 3010]
} }
// provisioner "powershell" {
// inline = [
// "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12",
// "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
// ]
// }
// provisioner "powershell" {
// inline = [
// "choco config set --name=limit-output --value=LimitOutput",
// "choco install -y dotnetfx",
// "choco install -y 7zip.install",
// "choco install -y sysinternals",
// "choco install -y firefox"
// ]
// valid_exit_codes = [0, 3010]
// }
provisioner "windows-update" { provisioner "windows-update" {
} }