mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
* Use cerificate subject to verify authenticode signature * Use function instead of script variables * Switch all places to using Get-MicrosoftPublisher * Remove SignatureThumbprint * Use common subject for the Edge driver
13 lines
734 B
PowerShell
13 lines
734 B
PowerShell
################################################################################
|
|
## File: Install-GoogleCloudCLI.ps1
|
|
## Desc: Install Google Cloud CLI
|
|
################################################################################
|
|
|
|
# https://cloud.google.com/sdk/docs/downloads-interactive
|
|
Install-Binary `
|
|
-Url 'https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe' `
|
|
-InstallArgs @("/S", "/allusers", "/noreporting") `
|
|
-ExpectedSubject 'CN=Google LLC, O=Google LLC, L=Mountain View, S=California, C=US, SERIALNUMBER=3582691, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US'
|
|
|
|
Invoke-PesterTests -TestFile "Tools" -TestName "GoogleCloudCLI"
|