-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate pipelines to 1ES #2841
Migrate pipelines to 1ES #2841
Conversation
platform: $(BuildPlatform) | ||
configuration: $(BuildConfiguration) | ||
- task: DotNetCoreCLI@2 | ||
displayName: 'build Microsoft.AspNetCore.OData.csproj ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
displayName: 'build Microsoft.AspNetCore.OData.csproj ' | |
displayName: 'Build Microsoft.AspNetCore.OData.csproj ' |
Most other displayName
start with upper case
projects: $(Build.SourcesDirectory)\src\Microsoft.AspNetCore.OData\Microsoft.AspNetCore.OData.csproj | ||
arguments: --configuration $(BuildConfiguration) --no-incremental | ||
- task: DotNetCoreCLI@2 | ||
displayName: build .NET Core Unit test project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here /~https://github.com/OData/WebApi/pull/2841/files#r1619893321
projects: $(Build.SourcesDirectory)\test\UnitTest\Microsoft.AspNetCore.OData.Test\Microsoft.AspNetCore.OData.Test.csproj | ||
arguments: --configuration $(BuildConfiguration) --no-incremental | ||
- task: DotNetCoreCLI@2 | ||
displayName: build .NET Core E2E test project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here /~https://github.com/OData/WebApi/pull/2841/files#r1619893321
projects: $(Build.SourcesDirectory)\test\E2ETest\Microsoft.Test.E2E.AspNet.OData\Build.AspNetCore\Microsoft.Test.E2E.AspNetCore.OData.csproj | ||
arguments: --configuration $(BuildConfiguration) --no-incremental | ||
- task: DotNetCoreCLI@2 | ||
displayName: build .NET Core 3x E2E test project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here /~https://github.com/OData/WebApi/pull/2841/files#r1619893321
inputs: | ||
command: test | ||
projects: $(Build.SourcesDirectory)\test\E2ETest\Microsoft.Test.E2E.AspNet.OData\Build.AspNetCore3x\Microsoft.Test.E2E.AspNetCore3x.OData.csproj | ||
arguments: --configuration $(BuildConfiguration) --no-build --filter FullyQualifiedName!=Microsoft.Test.E2E.AspNet.OData.QueryComposition.SelectExpandEFTests.QueryForLongSelectList -v diag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you know why we filter out this particular test(s)?
platform: $(BuildPlatform) | ||
configuration: $(BuildConfiguration) | ||
- task: DotNetCoreCLI@2 | ||
displayName: 'build Microsoft.AspNetCore.OData.csproj ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here /~https://github.com/OData/WebApi/pull/2841/files#r1619893321
projects: $(Build.SourcesDirectory)\src\Microsoft.AspNetCore.OData\Microsoft.AspNetCore.OData.csproj | ||
arguments: --configuration $(BuildConfiguration) --no-incremental | ||
- task: DotNetCoreCLI@2 | ||
displayName: build .NET Core Unit test project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here /~https://github.com/OData/WebApi/pull/2841/files#r1619893321
projects: $(Build.SourcesDirectory)\test\UnitTest\Microsoft.AspNetCore.OData.Test\Microsoft.AspNetCore.OData.Test.csproj | ||
arguments: --configuration $(BuildConfiguration) --no-incremental | ||
- task: DotNetCoreCLI@2 | ||
displayName: build .NET Core E2E test project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here /~https://github.com/OData/WebApi/pull/2841/files#r1619893321
projects: $(Build.SourcesDirectory)\test\E2ETest\Microsoft.Test.E2E.AspNet.OData\Build.AspNetCore\Microsoft.Test.E2E.AspNetCore.OData.csproj | ||
arguments: --configuration $(BuildConfiguration) --no-incremental | ||
- task: DotNetCoreCLI@2 | ||
displayName: build .NET Core 3x E2E test project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here /~https://github.com/OData/WebApi/pull/2841/files#r1619893321
inputs: | ||
command: test | ||
projects: $(Build.SourcesDirectory)\test\E2ETest\Microsoft.Test.E2E.AspNet.OData\Build.AspNetCore3x\Microsoft.Test.E2E.AspNetCore3x.OData.csproj | ||
arguments: --configuration $(BuildConfiguration) --no-build --filter FullyQualifiedName!=Microsoft.Test.E2E.AspNet.OData.QueryComposition.SelectExpandEFTests.QueryForLongSelectList -v diag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of scope, but would you know why we filter out this particular test(s)?
displayName: Classic E2E Tests (Microsoft.Test.E2E.AspNet.OData.dll) | ||
inputs: | ||
testAssemblyVer2: '**\bin\**\E2ETest\**\Microsoft.Test.E2E.AspNet.OData.dll' | ||
testFiltercriteria: (DisplayName!=Microsoft.Test.E2E.AspNet.OData.ODataPathHandler.UnicodeRouteTests_Todoü.CRUDEntitySetShouldWork) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of scope, but would you know why we filter out this particular test(s)? We don't skip it in the nightly build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. My initial guess woulld be to reduce runtime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments; otherwise LGTM
This PR migrates the build pipelines to 1ES.