From 272c22907180f327adeec0b6a64a94cca3afc31a Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 8 Mar 2021 15:46:38 -0800 Subject: [PATCH] Add timeoutInMinutes: 10 to Vcpkg Cache (#1792) * Add timeoutInMinutes: 10 to Vcpkg Cache * Add comment about Vcpkg Cache timeout --- eng/pipelines/templates/steps/vcpkg.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/pipelines/templates/steps/vcpkg.yml b/eng/pipelines/templates/steps/vcpkg.yml index 7e35ad37f..9eee8179f 100644 --- a/eng/pipelines/templates/steps/vcpkg.yml +++ b/eng/pipelines/templates/steps/vcpkg.yml @@ -24,6 +24,9 @@ steps: not(eq(variables['${{ parameters.DependenciesVariableName }}'], '')) ) + # This task times out after 10 minutes. An analysis of a subset of Vcpkg Cache + # runs showed that after 10 minutes the cache step is very unlikely to + # succeed. - task: Cache@2 inputs: key: >- @@ -34,6 +37,7 @@ steps: path: $(VCPKG_INSTALLATION_ROOT) cacheHitVar: VcpkgRestoredFromCache displayName: Vcpkg Cache + timeoutInMinutes: 10 condition: >- and( succeeded(),