ci(azure-pipelines): fix test container step
This commit is contained in:
parent
084b9258dd
commit
dea9faa055
@ -127,17 +127,17 @@ stages:
|
|||||||
dependsOn: Setup
|
dependsOn: Setup
|
||||||
condition: eq(variables.skipTests, false)
|
condition: eq(variables.skipTests, false)
|
||||||
jobs:
|
jobs:
|
||||||
- task: Bash@3
|
|
||||||
displayName: Start database container for testing
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: |
|
|
||||||
docker run -d devfra.azurecr.io/de.fraport.trusted/postgres:16.1-bookworm
|
|
||||||
- ${{ each service in parameters.services }}:
|
- ${{ each service in parameters.services }}:
|
||||||
- job: Test_${{service.name}}
|
- job: Test_${{service.name}}
|
||||||
displayName: Run ${{service.name}} tests
|
displayName: Run ${{service.name}} tests
|
||||||
dependsOn: ${{service.dependsOn}}
|
dependsOn: ${{service.dependsOn}}
|
||||||
steps:
|
steps:
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: Start database container for testing
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: |
|
||||||
|
docker run -d devfra.azurecr.io/de.fraport.trusted/postgres:16.1-bookworm
|
||||||
- template: .azure-pipelines/templates/steps/make.yaml
|
- template: .azure-pipelines/templates/steps/make.yaml
|
||||||
parameters:
|
parameters:
|
||||||
makeJob: lint
|
makeJob: lint
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user