diff --git a/install/ci-vm/ci-windows/startup-script.ps1 b/install/ci-vm/ci-windows/startup-script.ps1 index f324ff68..c35c50d7 100644 --- a/install/ci-vm/ci-windows/startup-script.ps1 +++ b/install/ci-vm/ci-windows/startup-script.ps1 @@ -1,5 +1,5 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) -choco install winfsp -y +choco install winfsp tesseract -y cd C:\Windows\Temp @@ -24,7 +24,7 @@ curl.exe http://metadata/computeMetadata/v1/instance/attributes/rclone_conf -H " curl.exe http://metadata/computeMetadata/v1/instance/attributes/service_account -H "Metadata-Flavor: Google" > service-account.json (Get-Content -path .\service-account.json) | Set-Content -Encoding ASCII -Path .\service-account.json -start powershell {.\rclone.exe mount $env:mount_path\TestFiles .\TestFiles --config=".\rclone.conf" -o FileInfoTimeout=-1 --vfs-read-wait 0 --no-console --read-only} +start powershell {.\rclone.exe mount $env:mount_path\TestFiles .\TestFiles --config=".\rclone.conf" --vfs-cache-mode full --vfs-cache-max-size 5G --no-modtime -o FileInfoTimeout=-1 --vfs-read-wait 0 --no-console --read-only} Start-Sleep -Seconds 5 start powershell {.\rclone.exe mount $env:mount_path\TestData\ci-windows .\temp --config=".\rclone.conf" --no-console --read-only}