From 7a1139807d847d1dcf434a80149814f81dd75836 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Mon, 10 Feb 2025 15:20:09 +0100 Subject: [PATCH] ci(azure-pipelines): use caches for testing --- azure-pipelines.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 2d08db398..1c2aeaf9d 100755 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -141,6 +141,16 @@ stages: IN_CONTAINER: true IN_CI: true steps: + - ${{ each dependencyCache in service.dependenciesCaches }}: + - template: .azure-pipelines/templates/steps/cache.yaml + parameters: + cacheIdent: '${{service.name}}-dependencies' + cacheKeys: '${{dependencyCache.key}}' + cachePath: '${{dependencyCache.path}}' + - ${{ each dependency in service.dependsOn }}: + - template: .azure-pipelines/templates/steps/artifact-download.yaml + parameters: + artifactName: '${{dependency}}' - task: Docker@2 displayName: Login to container registry inputs: