Skip to content
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

Merged
merged 22 commits into from
May 30, 2024
Merged

Migrate pipelines to 1ES #2841

merged 22 commits into from
May 30, 2024

Conversation

habbes
Copy link
Contributor

@habbes habbes commented May 17, 2024

This PR migrates the build pipelines to 1ES.

platform: $(BuildPlatform)
configuration: $(BuildConfiguration)
- task: DotNetCoreCLI@2
displayName: 'build Microsoft.AspNetCore.OData.csproj '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

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 '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor

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)
Copy link
Contributor

@gathogojr gathogojr May 30, 2024

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

Copy link
Contributor Author

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.

Copy link
Contributor

@gathogojr gathogojr left a 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

@habbes habbes merged commit a5c4041 into master May 30, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants