From: Jordan Petridis Date: Fri, 1 Oct 2021 09:11:04 +0000 (+0300) Subject: ci: Rebuild windows image X-Git-Tag: 1.19.3~394 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7ef042400cf7c2a99dabf815c913179483fdcff;p=platform%2Fupstream%2Fgstreamer.git ci: Rebuild windows image Get updates and newer ca-certificates in. Also update the way we install chocolatey Part-of: --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f8fe93..69ab3e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ variables: ### FEDORA_TAG: '2021-06-30.0' INDENT_TAG: '2020-10-22.0' - WINDOWS_TAG: "2021-09-09.0" + WINDOWS_TAG: "2021-10-01.0" GST_UPSTREAM_REPO: 'gstreamer/gst-ci' diff --git a/ci/docker/windows/install_choco.ps1 b/ci/docker/windows/install_choco.ps1 index b19eb7b..8fc6897 100644 --- a/ci/docker/windows/install_choco.ps1 +++ b/ci/docker/windows/install_choco.ps1 @@ -1,6 +1,9 @@ Get-Date Write-Host "Installing Chocolatey" -Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) +Set-ExecutionPolicy Bypass -Scope Process -Force; +# Force TLS 1.2 +[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; +iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) Import-Module "$env:ProgramData\chocolatey\helpers\chocolateyProfile.psm1" Update-SessionEnvironment