Skip to content

Commit

Permalink
test: Introduce test run titles to seperate Linux/Windows results (#2347
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tomkerkhove authored Jul 14, 2023
1 parent e91606f commit 89c5fcd
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
2 changes: 2 additions & 0 deletions build/azure-devops/agents-ci-discovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ stages:
- template: templates/tests/run-integration-tests.yml
parameters:
agentName: 'Resource Discovery'
testRunTitle: 'resource-discovery-linux'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
- template: templates/docker/show-container-logs.yml
Expand Down Expand Up @@ -164,6 +165,7 @@ stages:
- template: templates/tests/run-integration-tests.yml
parameters:
agentName: 'Resource Discovery'
testRunTitle: 'resource-discovery-windows'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
- template: templates/docker/show-container-logs.yml
Expand Down
2 changes: 2 additions & 0 deletions build/azure-devops/agents-ci-scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ stages:
- template: templates/tests/run-integration-tests.yml
parameters:
agentName: 'Scraper'
testRunTitle: 'scraper-linux'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
- template: templates/docker/show-container-logs.yml
Expand Down Expand Up @@ -250,6 +251,7 @@ stages:
- template: templates/tests/run-integration-tests.yml
parameters:
agentName: 'Scraper'
testRunTitle: 'scraper-windows'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
- template: templates/docker/show-container-logs.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ stages:
- template: templates/tests/run-integration-tests.yml
parameters:
agentName: 'Resource Discovery'
testRunTitle: 'resource-discovery-linux'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
- template: templates/docker/show-container-logs.yml
Expand Down Expand Up @@ -189,6 +190,7 @@ stages:
- template: templates/tests/run-integration-tests.yml
parameters:
agentName: 'Resource Discovery'
testRunTitle: 'resource-discovery-windows'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
- template: templates/docker/show-container-logs.yml
Expand Down
18 changes: 10 additions & 8 deletions build/azure-devops/agents-scraper-release-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,10 @@ stages:
- template: templates/docker/show-running-containers.yml
- template: templates/tests/run-integration-tests.yml
parameters:
agentName: 'Scraper'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
agentName: 'Scraper'
testRunTitle: 'scraper-linux'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
- template: templates/docker/show-container-logs.yml
parameters:
containerName: '$(Container.Scraper.Name)'
Expand Down Expand Up @@ -261,11 +262,12 @@ stages:
networkName: '$(Container.Network.Name)'
os: '$(OS.Name)'
- template: templates/docker/show-running-containers.yml
#- template: templates/tests/run-integration-tests.yml
# parameters:
# agentName: 'Scraper'
# dotnetVersion: '$(DotNet.Sdk.Version)'
# buildConfiguration: '$(DotNet.Configuration)'
- template: templates/tests/run-integration-tests.yml
parameters:
agentName: 'Scraper'
testRunTitle: 'scraper-windows'
dotnetVersion: '$(DotNet.Sdk.Version)'
buildConfiguration: '$(DotNet.Configuration)'
- template: templates/docker/show-container-logs.yml
parameters:
containerName: '$(Container.Scraper.Name)'
Expand Down
3 changes: 3 additions & 0 deletions build/azure-devops/templates/tests/run-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
parameters:
- name: agentName
type: string
- name: testRunTitle
type: string
- name: dotnetVersion
type: string
- name: buildConfiguration
Expand Down Expand Up @@ -30,4 +32,5 @@ steps:
projects: 'src/Promitor.Tests.Integration/Promitor.Tests.Integration.csproj'
feedsToUse: 'config'
nugetConfigPath: 'src/NuGet.config'
testRunTitle: ${{ parameters.testRunTitle }}
arguments: '--configuration ${{ parameters.buildConfiguration }} --filter "Agent=${{ parameters.agentName}}"'

0 comments on commit 89c5fcd

Please sign in to comment.