Skip to content

Commit

Permalink
Add compose override
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatson484 committed Feb 13, 2025
1 parent 08c964e commit e451bcd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.1.0
6 changes: 3 additions & 3 deletions build-container-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ jobs:
Write-Host "##vso[task.setvariable variable=testFileExists;]$fileExists"
- script: |
docker compose -f compose.test.yaml -p $(repo)-test-$(Build.BuildId) build
docker compose -f compose.yaml -f compose.test.yaml -p $(repo)-test-$(Build.BuildId) build
displayName: Build test image
condition: and(succeeded(), eq(variables.testFileExists, true))
- script: |
docker compose -f compose.test.yaml -p $(repo)-test-$(Build.BuildId) run --rm $(repo)
docker compose -f compose.yaml -f compose.test.yaml -p $(repo)-test-$(Build.BuildId) run --rm $(repo)
displayName: Run tests
condition: and(succeeded(), eq(variables.testFileExists, true))
Expand All @@ -132,7 +132,7 @@ jobs:
Write-Host "##vso[task.setvariable variable=zapFileExists;]$fileExists"
- script: |
docker compose -f compose.zap.yaml -p $(repo)-zap-$(Build.BuildId) run --rm $(repo)-zap
docker compose -f compose.yaml -f compose.zap.yaml -p $(repo)-zap-$(Build.BuildId) run --rm $(repo)-zap
displayName: Run OWASP ZAP tests
condition: and(succeeded(), eq(variables.zapFileExists, true))
Expand Down
6 changes: 3 additions & 3 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ jobs:
Write-Host "##vso[task.setvariable variable=testFileExists;]$fileExists"
- script: |
docker compose -f compose.test.yaml -p $(repo)-test-$(Build.BuildId) build
docker compose -f compose.yaml -f compose.test.yaml -p $(repo)-test-$(Build.BuildId) build
displayName: Build test image
condition: and(succeeded(), eq(variables.testFileExists, true))
- script: |
docker compose -f compose.test.yaml -p $(repo)-test-$(Build.BuildId) run --rm $(repo)
docker compose -f compose.yaml -f compose.test.yaml -p $(repo)-test-$(Build.BuildId) run --rm $(repo)
displayName: Run tests
condition: and(succeeded(), eq(variables.testFileExists, true))
Expand All @@ -164,7 +164,7 @@ jobs:
Write-Host "##vso[task.setvariable variable=zapFileExists;]$fileExists"
- script: |
docker compose -f compose.zap.yaml -p $(repo)-zap-$(Build.BuildId) run --rm $(repo)-zap
docker compose -f compose.yaml -f compose.zap.yaml -p $(repo)-zap-$(Build.BuildId) run --rm $(repo)-zap
displayName: Run ZAP tests
condition: and(succeeded(), eq(variables.zapFileExists, true))
Expand Down

0 comments on commit e451bcd

Please sign in to comment.