ci(azure-pipelines): run tests in correct service containers

This commit is contained in:
Sarah Vaupel 2025-02-10 15:18:28 +01:00
parent 0821b74fb7
commit 6b3775b9b9

View File

@ -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