From 6b3775b9b95602e6859e67eee512687f5b10a229 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Mon, 10 Feb 2025 15:18:28 +0100 Subject: [PATCH] ci(azure-pipelines): run tests in correct service containers --- azure-pipelines.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index c4fb727f8..2d08db398 100755 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -130,6 +130,16 @@ stages: - ${{ each service in parameters.services }}: - job: Test_${{service.name}} displayName: Run ${{service.name}} tests + pool: '${{service.buildPool}}' + timeoutInMinutes: ${{service.buildTimeout}} + container: + # TODO: do not use latest on update branches + image: $(buildImageUpstream)/${{service.name}}:latest + endpoint: devfra + env: + PROJECT_DIR: $(Build.Repository.LocalPath) + IN_CONTAINER: true + IN_CI: true steps: - task: Docker@2 displayName: Login to container registry