Auto merge of #22123 - Darkspirit:https_taskcluster_windows, r=jdm

Ensuring https for Windows Taskcluster

This should be a safe change as there're already some https downloads on Windows Taskcluster. Examples:
* with `$client.DownloadFile()`: 78327fcba5/etc/taskcluster/windows/bootstrap.ps1 (L43)
* with `Expand-ZIPFile`: e217672c1a/etc/taskcluster/windows/bootstrap.ps1 (L40)

Modern TLS is supported:
https://www.hardenize.com/report/download.tuxfamily.org#www_tls
https://www.hardenize.com/report/nssm.cc#www_tls

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22123)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-11-06 19:13:20 -05:00 committed by GitHub
commit 8667cb327d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View file

@ -10,13 +10,6 @@
[EnvironmentVariableTarget]::Machine)
# Optional
$client.DownloadFile(
"http://download.tuxfamily.org/dvorak/windows/bepo.exe",
"C:\bepo.exe"
)
# use TLS 1.2 (see bug 1443595)
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
@ -35,6 +28,12 @@ function Expand-ZIPFile($file, $destination, $url)
}
}
# Optional
$client.DownloadFile(
"https://download.tuxfamily.org/dvorak/windows/bepo.exe",
"C:\bepo.exe"
)
md C:\git
Expand-ZIPFile -File "C:\git.zip" -Destination "C:\git" -Url `
"https://github.com/git-for-windows/git/releases/download/v2.19.0.windows.1/MinGit-2.19.0-64-bit.zip"

View file

@ -40,7 +40,7 @@ $client.DownloadFile("https://github.com/taskcluster/generic-worker/releases/dow
$client.DownloadFile("https://github.com/taskcluster/livelog/releases/download" +
"/v1.1.0/livelog-windows-amd64.exe", "C:\generic-worker\livelog.exe")
Expand-ZIPFile -File "C:\nssm-2.24.zip" -Destination "C:\" `
-Url "http://www.nssm.cc/release/nssm-2.24.zip"
-Url "https://www.nssm.cc/release/nssm-2.24.zip"
Start-Process C:\generic-worker\generic-worker.exe -ArgumentList `
"new-openpgp-keypair --file C:\generic-worker\generic-worker-gpg-signing-key.key" `
-Wait -NoNewWindow -PassThru `