Skip to content
Permalink
Browse files

Windows AMI for Taskcluster: update generic-worker to 13.0.2

  • Loading branch information...
SimonSapin committed Feb 15, 2019
1 parent 28e3321 commit ddb85a92de8066d140ba8cad964ec15a82e4f21b
Showing with 9 additions and 3 deletions.
  1. +9 −3 etc/taskcluster/windows/first-boot.ps1
@@ -36,18 +36,24 @@ New-NetFirewallRule -DisplayName "Allow livelog GET requests" `
# Install generic-worker and dependencies
md C:\generic-worker
$client.DownloadFile("https://github.com/taskcluster/generic-worker/releases/download" +
"/v10.11.3/generic-worker-windows-amd64.exe", "C:\generic-worker\generic-worker.exe")
"/v13.0.2/generic-worker-windows-amd64.exe", "C:\generic-worker\generic-worker.exe")
$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 "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 `
-RedirectStandardOutput C:\generic-worker\generate-signing-key.log `
-RedirectStandardError C:\generic-worker\generate-signing-key.err
-RedirectStandardOutput C:\generic-worker\generate-gpg-signing-key.log `
-RedirectStandardError C:\generic-worker\generate-gpg-signing-key.err
Start-Process C:\generic-worker\generic-worker.exe -ArgumentList `
"new-ed25519-keypair --file C:\generic-worker\generic-worker-ed25519-signing-key.key" `
-Wait -NoNewWindow -PassThru `
-RedirectStandardOutput C:\generic-worker\generate-ed25519-signing-key.log `
-RedirectStandardError C:\generic-worker\generate-ed25519-signing-key.err
Start-Process C:\generic-worker\generic-worker.exe -ArgumentList (
"install service --nssm C:\nssm-2.24\win64\nssm.exe " +
"--configure-for-aws " +
"--config C:\generic-worker\generic-worker.config"
) -Wait -NoNewWindow -PassThru `
-RedirectStandardOutput C:\generic-worker\install.log `

0 comments on commit ddb85a9

Please sign in to comment.
You can’t perform that action at this time.