ci: Rebuild windows image

Get updates and newer ca-certificates in.

Also update the way we install chocolatey

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1002>
This commit is contained in:
Jordan Petridis 2021-10-01 12:11:04 +03:00
parent 9270f072cc
commit e7ef042400
2 changed files with 5 additions and 2 deletions

View file

@ -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'

View file

@ -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