Pin goldctl (#63593)
This commit is contained in:
parent
21f4096267
commit
eb60849e93
@ -8,7 +8,7 @@ $path = "C:\Windows\Temp\depot_tools"
|
|||||||
$gclient = "C:\Windows\Temp\depot_tools\gclient.bat"
|
$gclient = "C:\Windows\Temp\depot_tools\gclient.bat"
|
||||||
$cipd = "C:\Windows\Temp\depot_tools\cipd.bat"
|
$cipd = "C:\Windows\Temp\depot_tools\cipd.bat"
|
||||||
$ensureFile = "C:\Windows\Temp\depot_tools\ensure.txt"
|
$ensureFile = "C:\Windows\Temp\depot_tools\ensure.txt"
|
||||||
$text = "# Ensure File`n`$ServiceURL https://chrome-infra-packages.appspot.com`n`n# Skia Gold Client goldctl`nskia/tools/goldctl/`${platform} latest"
|
$text = "# Ensure File`n`$ServiceURL https://chrome-infra-packages.appspot.com`n`n# Skia Gold Client goldctl`nskia/tools/goldctl/`${platform} git_revision:b57f561ad4ad624bd399b8b7b500aa1955276d41"
|
||||||
|
|
||||||
(New-Object System.Net.WebClient).DownloadFile($url, $zipPath)
|
(New-Object System.Net.WebClient).DownloadFile($url, $zipPath)
|
||||||
Expand-Archive -LiteralPath $zipPath -DestinationPath $path
|
Expand-Archive -LiteralPath $zipPath -DestinationPath $path
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
|
|
||||||
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git ./depot_tools
|
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git ./depot_tools
|
||||||
cd depot_tools
|
cd depot_tools
|
||||||
echo -e '# Ensure File\n$ServiceURL https://chrome-infra-packages.appspot.com\n\n# Skia Gold Client goldctl\nskia/tools/goldctl/${platform} latest' > ensure.txt
|
echo -e '# Ensure File\n$ServiceURL https://chrome-infra-packages.appspot.com\n\n# Skia Gold Client goldctl\nskia/tools/goldctl/${platform} git_revision:b57f561ad4ad624bd399b8b7b500aa1955276d41' > ensure.txt
|
||||||
./cipd ensure -ensure-file ./ensure.txt -root .
|
./cipd ensure -ensure-file ./ensure.txt -root .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user