[main] Update dependencies from dotnet/runtime dotnet/efcore
- Fixup nullability warnings
- Secret mission to make templates verbose again
- Update template tests to capture information (#37447)
* Update template tests to capture information
* Remove unwanted files
* Update SPA submodule with nullability fixes
* Fix build on an arm64 machine
* Building ASP.NET Core on an arm64 machine leads to a dependency error
because `crossgen2` is not listed in eng/Dependencies.props.
* Add all arm/arm64 variants
* Add all win variants for `crossgen2`
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
* Don't allow modifying WebRootPath after initialization
* Address feedback from review
* Clean up directory handling in tests
* Add tests for WebRootPath resolution
* Support EndpointGroupName metadata in MVC ApiExplorer
* Address feedback from peer review
* Update src/Mvc/Mvc.ApiExplorer/src/DefaultApiDescriptionProvider.cs
Co-authored-by: Pranav K <prkrishn@hotmail.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
* Remove extra aspnetcore-components-e2e build tasks
- remove `isTestingJob` parameters in YAML
- controls `PublishTestResults@2` tasks that all fail
- add comments in components-e2e and Helix jobs about "missing" `isTestingJob` parameters
nits:
- remove mention of non-existent `Windows_Templates_Test` job
- use `testResultsFormat` input name for consistency (alias of `testRunner`)
* Skip useless test publications
- add `enablePublishTestResults` parameter to default-build
- quarantined-pr contains test jobs but all publish their tests explicitly
- do not attempt to publish TRX files
nit: simplify a YAML snippet
- `parameters.buildDirectory` is never empty (has a default)
* Eval two conditions during template expansion
- remove jobs that will never execute from UI
* Address feedback
- rename `parameters.isTestingJob` to `isAzDOTestingJob`
- remove `condition`s about `variables.DotNetFinalVersionKind`
- variable has not been used in a _very_ long time
- document `parameters.isAzDOTestingJob` and `enablePublishTestResults`
* !fixup! Add comment for eb9e4c9ea4b9 change
- explain how to test site extension changes
* !fixup! Simplify one more expression
- missed this one in fc286da973
- #33534
- copy source-index-stage1 template into ci.yml and split steps in two:
- current template not well suited to reuse a binary log from another job
- first, process Windows_arm_build binary log in that job
- align binary log with source-indexing tool support i.e. always use Windows
- much faster than Windows x64/x86 build
- provides another binary log, even in internal builds
- second, do source index upload after other jobs
- do not update https://source.dot.net/ from failed builds
- add `testSourceIndexing` parameter
- use 1ES agent for source-index upload
- `windows-latest` might work but prefer to protect binary log
nits:
- remove unnecessary backslashes in the Linux_x64_build job's `script`s
- instead separate commands with a semicolon
- confirm test build success before BAR updates in manual builds
- merge a couple of `in(...)` expressions
* Normalize the content root and improve errors
- When trying to compare content root paths, make sure the paths are normalized before doing so. Today we throw too aggresively when libraries try to set the content root, even if that would have resulted in a noop. This change normalizes the initial path and the attempted path before doing the comparison.
- We also improve the error message when the user tries to change the host settings, directing them to the correct API to use instead.
* Update BuildFromSource.md
When following these steps, I noticed an error installing the JDK in the repo using the included script, so I had to follow these additional instructions to get past that.
Source for the instructions : https://stackoverflow.com/questions/4037939/powershell-says-execution-of-scripts-is-disabled-on-this-system
* Update BuildFromSource.md
Additional step to temporarily set environmental variable
* Update BuildFromSource.md
Wrong markdown
- do not set parameters to their default values
- do not set `installJdk` except in Windows jobs (ignored otherwise)
- remove unused `continueOnBuildError` and `installTar` parameters
- components-e2e-tests.yml no longer needs `continueOnBuildError`
- remove confusing `SkipTests` conditions in test-only pipelines
nits:
- sort parameters to align with documentation
- provide defaults for undocumented parameters (reduce searching)