Skip to content

Commit

Permalink
Updating linux pipeline (#2022)
Browse files Browse the repository at this point in the history
changing to ubuntu-latest (18.04 for now)

reverting

moving to ubuntu-latest

Remove EmptyApp tests as its covered eslewhere (#2025)

* Remove EmptyApp tests as its covered eslewhere

* cleanup

Ingestion service data delivery status (#1887)

* Added eventhandler to transmission

* Updated public API

* Modified changelog.md

* Added more tests

* Fix API

* Added coverage for timeout

* Update to API

* Modified comment in transmission.

* PR Comments

* PR feedback

* Fix test

* Added TransmissionStatusEvent to InMemoryChannel.

* Remove Inmemory change

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Timothy Mothra <tilee@microsoft.com>

update version of Microsoft.AspNetCore.Hosting to 2.1.0 (and fix major test bug) (#2026)

* Refactor tests and fix several issues in one go

* remove unwanted changes

* update changelog

Co-authored-by: Timothy Mothra Lee <tilee@microsoft.com>

changing to posix

updating orderby

removing unused usings and space

updating trx folder path

udoing
  • Loading branch information
eddynaka committed Sep 4, 2020
1 parent c2030e4 commit cf07c3e
Show file tree
Hide file tree
Showing 2 changed files with 183 additions and 185 deletions.
55 changes: 29 additions & 26 deletions BASE/.vsts/linux-build.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,50 @@
pool:
vmImage: 'ubuntu-16.04'
steps:
vmImage: 'ubuntu-latest'

strategy:
matrix:
netcoreapp2_1:
framework: netcoreapp2.1
netcoreapp3_1:
framework: netcoreapp3.1
maxParallel: 2

## Install NetCore 3.1, Restore Solution, Build Solution, Test NetCore 3.1
steps:

- task: DotNetCoreInstaller@1
- task: UseDotNet@2
displayName: install dotnet core 2.1
inputs:
version: 2.1.807

- task: UseDotNet@2
displayName: install dotnet core 3.1
inputs:
version: 3.1.x
version: 3.1.301

- task: CmdLine@2
displayName: Run dotnet side by side.
inputs:
script: rsync -a ${DOTNET_ROOT/3.1.301/2.1.807}/* $DOTNET_ROOT/

- task: DotNetCoreCLI@1
- task: DotNetCoreCLI@2
displayName: DotNetCoreCLI - Restore Solution
inputs:
command: "restore"
projects: "BASE/*.sln"

- task: DotNetCoreCLI@1
- task: DotNetCoreCLI@2
displayName: DotNetCoreCLI - Build Solution
inputs:
command: "build"
projects: "BASE/*.sln"
arguments: "--configuration Release"

- task: DotNetCoreCLI@1
displayName: DotNetCoreCLI - Test NetCore 3.1
inputs:
command: "test"
projects: "BASE/Test/**/Microsoft.ApplicationInsights.Tests.csproj"
arguments: "--configuration Release --framework netcoreapp3.1 -l trx --filter TestCategory!=WindowsOnly"

## Install and Test NetCore 2.2

- task: DotNetCoreInstaller@1
displayName: install dotnet core 2.2
inputs:
version: 2.2.x
arguments: "--configuration Release --no-restore"

- task: DotNetCoreCLI@1
displayName: DotNetCoreCLI - Test NetCore 2.1
- task: DotNetCoreCLI@2
displayName: DotNetCoreCLI - Test $(framework)
inputs:
command: "test"
projects: "BASE/Test/**/Microsoft.ApplicationInsights.Tests.csproj"
arguments: "--configuration Release --framework netcoreapp2.1 -l trx --filter TestCategory!=WindowsOnly"
arguments: "--configuration Release --framework $(framework) --no-build -l trx --filter TestCategory!=WindowsOnly"

## Publish Test results

Expand All @@ -52,7 +55,7 @@ steps:
testResultsFiles: "**/*.trx"
failTaskOnFailedTests: true

#- task: DotNetCoreCLI@1
#- task: DotNetCoreCLI@2
# inputs:
# command: "publish"
# publishWebProjects: "True"
Expand Down

0 comments on commit cf07c3e

Please sign in to comment.