Commit Graph

130 Commits

Author SHA1 Message Date
Doug Bunting 18409d9120
[release/5.0] Clean out Ubuntu 16.04 testing (#33103)
* [release/5.0] Clean out Ubuntu 16.04 testing
- cherry-pick of #32894

* Clean out Ubuntu 16.04 testing
  - use Ubuntu 18.04 agents for testing in Docker containers on Helix
  - also move to supported version of Fedora

* Support added `msbuild` arguments in RunHelix.ps1
  - bring in part of 0551cef40f5f (#32554)
  - no reason to maintain major differences from main version of script
    - slight difference is we still test on Windows.10.Amd64.Open by default here

nits:
- clean up a few old mentions of Centos and Fedora testing
- fix `%(Platform)` metadata for OSX `@(HelixAvailableTargetQueue)` items
- pick up a small bit of the master -> main renaming improvements
- use `[switch]` instead of `[bool]` in RunHelix.ps1 parameters
2021-06-01 14:41:00 -07:00
softworkz ef1f48ab97
Fix invalid Build command (#24771)
build.cmd does not directly take MSBuild parameters (only after `-MSBuildArguments`)
But for configuration, there is already the `-Configuration` parameter.
2020-08-11 18:27:46 +00:00
Artak 1f56888ea0
Added the link to the IssueManagementPolicies document (#24591)
* Added the link to the IssueManagementPolicies document

* Updated to reference the Triage Process
2020-08-05 15:03:59 -07:00
Safia Abdalla 723e32a47d
Update documentation on darc (#24487)
* Update documentation on darc

* Apply suggestions from code review

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>

* Update code blocks in referenced assemblies

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-07-31 21:49:56 +00:00
Hao Kung e6b9a3d295
Remove debian 8 from helix runs (#24454)
* Add display environment

* Print out env variables as part of helix runs

* Update TestRunner.cs

* Remove Debian 8 from helix matrix

* Remove Debian 8 skip

* Remove debian 8 skip

* Remove debian 8

* Remove debian 8 skip

* Remove Debian 8 skip

* Remove debian 8

* Update Program.cs

* Update TestRunner.cs

* Update TestRunner.cs
2020-07-31 20:35:54 +00:00
Sean G. Wright 97ced4e7c9
Add docs to BuildFromSource for ANCM (#24304) (#24346) 2020-07-27 14:04:25 -07:00
Doug Bunting b1921f38bc
Merge remote-tracking branch 'origin/release/5.0-preview8' into 'master' 2020-07-17 15:03:15 -07:00
Doug Bunting 5266918ed2
Use Roslyn to create ref/ assemblies (#23403)
* Remove all ref/ projects

* Remove GenAPI infrastructure

* Remove notion of a reference assembly project
  - remove `$(IsReferenceAssemblyProject)`, `$(ReferenceReferenceAssemblies)` and `$(ReferenceImplementationAssemblies)`
    - remove unnecessary `$(NoWarn)` settings

nits:
- remove a few misleading comments
- wrap some long lines

* Move .0 package version workaround into Versions.props
  - touch up SharedFramework.External.props

* Expose `%(LatestPackageReference.RTMVersion)` metadata
  - automate use of properties in the `@(LatestPackageReference)` item group to make this maintainable
    - add a couple of special cases at the bottom of eng/Dependencies.props
    - add one more `$(...PackageVersion)` property to avoid yet-another special case

* Enable Roslyn reference assemblies
  - exclude ref/ assembly from packages other than targeting pack
  - update Microsoft.AspNetCore.App.Ref.csproj
    - `%(IsReferenceAssembly)` and `%(ReferenceGrouping)` metadata no longer relevant
    - only ref/ assemblies are in `@(ReferencePathWithRefAssemblies)` item group

nits:
  - remove now-unnecessary workaround
    - issues with TFM transition are behind us
  - clean up Microsoft.AspNetCore.App.Runtime.csproj slightly
    - use `GeneratePathProperty="true"`
        - reorder item / property settings for meta-expansion
    - correct spelling errors and phrasing in comments

* Update documentation to reflect recent changes
  - remove CrossRepoBreakingChanges.md; was tied to old TeamCity infrastructure
    - also much less relevant given repo merges
  - adjust details and examples in ReferenceResolution.md
    - reflect repo merges, Dependencies.props changes, and current Maestro++ channels
    - add a few more details e.g. specific files where Version.Details.xml versions are used

* !fixup! Remove another irrelevant doc file

* !fixup! Address PR review suggestions
  - convert a couple of warnings to errors
  - use consistent casing for Microsoft.NETCore.App.Runtime.* packages
  - reduce `%(LatestPackageReference.Version)` metadata special cases
  - add and improve comments e.g.
    - improve comments about `$(*V0PackageVersion)` properties
    - improve placement of comments about item removal in ResolveReferences.targets
    - confirmed `$(*V0PackageVersion)` property list is complete

nits:
- fix solution example in ReferenceResolution.md
- remove item group definition for `@(LatestPackageReference)`
- remove `%(LatestPackageReference.VersionName)` metadata after use; large item group
    - similarly, remove `%(LatestPackageReference.RTMVersion)` when not needed; just complicates `Condition`s

When I squash, I must remember this fixes
- #14801
- dotnet/aspnetcore-internal#2693

* Actually use `%(LatestPackageReference.RTMVersion)` metadata
  - gather RTM package references in a new project
    - a (very) separate project to work around package conflict resolution
    - empty `Test` target works around Arcade's testing approach
  - new target in ResolveReferences.targets updates relevant assembly paths to use the RTM packages
    - done as soon as possible after `ResolvePackageAssets` determines the paths
    - done for all compilation inputs, not just ref/ assemblies
2020-07-17 13:35:17 -07:00
Pranav K bace984f60
Update BuildFromSource.md (#24020) 2020-07-17 00:03:49 +00:00
Safia Abdalla bbb5bb7755
Update setup instructions in BuildFromSource (#24025) 2020-07-16 19:24:32 +00:00
Kevin Pilch 3117f43c33
Migrate to single sln file + slnf files (#23581) 2020-07-08 15:27:22 -07:00
Andrii Kurdiumov 9abbf4e113
Add documentation how to build installers (#21683)
* Add documentation how to build installers
Also add small index for the Docs folder

* Fix PR comments

* Update casing for the command line parameter

* Remove duplicate section
2020-06-30 13:11:51 -07:00
Grahame Horner 34a114530d
ISP filtering issues when cloning (#23156)
* ISP filtering issues when cloning

A friendly note/point that may help when ISPs having web filtering that drops/kills connections

* corrected spelling error
2020-06-29 16:35:26 -07:00
Hao Kung 1c439be48b
Update Helix.md with additional guidance about queues/checkin expectations (#23486) 2020-06-29 14:27:51 -07:00
Noah Falk dc7235cd33
Move EventSource guidance (#23036)
Copying @anurse's guidance from a [gist](https://gist.github.com/anurse/af1859663ac91c6cf69c820cebe92303) into the repo so it can be updated by the team.
2020-06-17 09:50:05 -07:00
Hao Kung d66f1ccd40
Update helix doc with current info (#22855) 2020-06-12 17:10:19 -07:00
Artak 3ebd518817
Adding the detailed triage process (#22393)
* Added the detailed triage process

* Fixed a type

* Update docs/TriageProcess.md

Co-authored-by: Kevin Pilch <kevinpi@microsoft.com>

* Update docs/TriageProcess.md

Co-authored-by: Kevin Pilch <kevinpi@microsoft.com>

* Update docs/TriageProcess.md

Co-authored-by: Kevin Pilch <kevinpi@microsoft.com>

* Update docs/TriageProcess.md

* Added the `Release Planning` section and updated the links

* Added a section about `information gathering` phase

* Added clarity around how docs issues are handled

* Update docs/TriageProcess.md

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* Update docs/TriageProcess.md

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* Update docs/TriageProcess.md

Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* Update docs/TriageProcess.md

* Update docs/TriageProcess.md

* Update docs/TriageProcess.md

Co-authored-by: Brennan <brecon@microsoft.com>

* Update docs/TriageProcess.md

Co-authored-by: Brennan <brecon@microsoft.com>

* Update docs/TriageProcess.md

Co-authored-by: Kevin Pilch <kevinpi@microsoft.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
Co-authored-by: Brennan <brecon@microsoft.com>
2020-06-08 16:42:03 -07:00
Doug Bunting 256045729a
Add `SuccessfulTests` to ensure something runs in every non-Helix run (#22406)
* Remove extra `[SkipOnHelix]` attribute
- only need the one compiled into Microsoft.AspNetCore.Testing
- update the documentation to reflect this
  - nit: address Markdown warnings that VS Code showed

* Add `SuccessfulTests` to ensure something runs in every non-Helix runs
- #22241
- cleans up hundreds of warnings but leaves a couple for the Blazor tests assembly
  - see comments about xUnit runner command line in the new class
2020-06-02 12:19:28 -07:00
sanyam142mittal cb83d5d155
Adds instruction for creating JAVA_HOME env variable (#21371) 2020-05-10 17:58:22 -07:00
Safia Abdalla 1b6f13d2ed
Add docs on HelixContent property (#21595)
* Add docs on HelixContent property
* Add content on Link and LinkBase attributes
2020-05-08 17:39:10 -07:00
Max Horstmann 95ca7b8afd add curl 2020-05-02 18:53:00 -04:00
Max Horstmann 90f93ce286 Document Wget dependency 2020-05-02 18:06:59 -04:00
Doug Bunting 54722a52b6
A quick collection of quick fixes (#20993)
* Quick fix: Simplify devBuilds.yml
  - remove an excess build step

* Quick fix: Move `SetupNugetSources` script invocations above `parameters.beforeBuild`
  - ensure NuGet.config is ready for all internal builds
  - remove now-duplicate `SetupNugetSources` invocations wherever default-build.yml is used

* Quick fix: Clean up SiteExtensions/build.cmd
  - quote all rooted paths
  - check `%ERRORLEVEL%` after every `CALL`
  - nits:
    - add a few more `ECHO` commands
    - wrap long lines

* Quick fix: Ensure `$(BuildNative)` is always set correctly
  - fix problems using `-all` or `/p:BuildAllProjects=true` without `-buildNative`
    - ensure `$(BuildNative)` is `false` where it's not supported
  - move some duplicated settings into eng/Common.props and `<Import />` the new file
  - remove now-duplicated parts of conditions using `$(BuildNative)`

* Quick fix: Consistently use `--build-*`
  - avoid `/p:Build*`  on the command line (except with eng/scripts/ci-source-build.sh)
  - nits:
    - remove now-useless `-buildNative` with `-all`
    - expand and correct a couple of related comments and messages

* Quick fix: Support `-all` together with `-projects`
  - remove need to specify `/p:BuildAllProjects=true`
  - nit: simplify some Boolean logic
2020-04-25 18:39:19 -07:00
John Luo 13b73ed4a7
Add documentation for aspnetcore-tooling consolidation (#20464)
* Add documentation for aspnetcore-tooling consolidation
2020-04-23 10:12:05 -07:00
Artak 543e73b6b8
Adding an area-ownership document (#20108) 2020-03-24 14:44:32 -07:00
Kevin Pilch a2169c228e
Add note about environment on WSL (#19422) 2020-02-28 00:50:45 +00:00
Mike Lloyd 950fa4b010
Update BuildFromSource.md (#19320)
Add short note mentioning the edition flag.

Closes https://github.com/dotnet/aspnetcore/issues/16780
2020-02-25 13:55:35 -08:00
Andrew Stanton-Nurse bd02add0c1
Move API Review Process doc to 'docs' (#18367)
This makes it easier to submit PRs and propose process changes. It also helps consolidate our documentation in the `docs/` folder.

I also updated the area list to include all of my team's areas.
2020-02-21 19:39:33 +00:00
Stephen Halter 88073f86ff Merge branch 'release/3.1' into master 2020-02-18 13:46:51 -08:00
Brennan b6d433c4b6
Run helix tests locally (#19031) 2020-02-14 14:22:23 -08:00
Doug Bunting a6c43b14a1
Mark AspNetCore projects that aren't packaged explicitly (#18767)
* Mark AspNetCore projects that aren't packaged explicitly
- avoid NU5104 warnings due to confusing versioning
- `$(IsShippingPackage)` was semantically incorrect in any case

* Remove redundant `$(IsShippingPackage)` settings in `$(IsAspNetCoreApp)` projects
- default is `true` for all implementation projects

* Use `$(IsPackable)` when deciding how `$(IsAspNetCoreApp)` projects are handled
- remove all use of `$(IsShippingPackage)` for shared framework composition
- update documentation to match these changes

nits:
- remove odd default for `$(IsPackable)` in Directory.Build.targets
  - no longer relevant since all `$(IsAspNetCoreApp)` projects are `$(IsShippingPackage)` too
- include more information in docs/ProjectProperties.md

* Add direct System.Text.Json references
- avoid MSB3277 warnings
2020-02-13 15:51:27 -08:00
Andrew Stanton-Nurse 11b2eee199
Update the servicing doc with link to the project (#19016) 2020-02-13 20:39:02 +00:00
Andrew Stanton-Nurse ebc9601a14
add docs on servicing process and PR submission (#18993) 2020-02-13 00:40:53 +00:00
Doug Bunting d6796bda6c
Make it more clear that installation script use is optional (#18277)
Also address Markdown warnings in BuildFromSource.md
- surround bare URLs with angle brackets
- add languages to code blocks
- fix missing blank lines and style inconsistencies
2020-01-16 09:31:13 -08:00
Kevin Pilch 0517745c08 aspnet/AspNetCore -> dotnet/aspnet
Except aspnet/AspNetCore-Internal.
2020-01-08 16:40:11 -08:00
Kevin Pilch 06b32685ec aspnet/Extensions -> dotnet/extensions 2020-01-08 16:40:11 -08:00
Doug Bunting 7ba757265f
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1
- upgrade Arcade SDK to '1.0.0-beta.19607.3'
- regenerate eng/ProjectReferences.props and ref/ projects
2019-12-11 20:03:03 -08:00
Andrew Stanton-Nurse 189a917445
Add issue policies doc (#17523) 2019-12-11 14:44:51 -08:00
Doug Bunting 7891c8318f
Stop paying attention to PatchConfig.props (#16748)
- remove references to PatchConfig.props
- delete the file itself
2019-11-19 07:12:48 -08:00
Pranav K 72079b2ff2
Use AzDo feed for nightlies (#16982) 2019-11-11 12:45:41 -08:00
Mads Kristiansen cee04709ce Fixed a few typos in BuildFromSource documentation (#14624) 2019-10-23 14:39:58 -07:00
Chris Ross 1434f89d50
GenerateReferenceAssemblies requires restore.cmd (#15072) 2019-10-16 12:39:36 -07:00
Pranav K 0e7c873d62 Avoid null refs in BlazorIgntior when Disposed
Fixes https://github.com/aspnet/AspNetCore/issues/14257
2019-09-23 14:51:25 -07:00
Doug Bunting 04705ee4f1
Use stages pipeline (#13040)
- #11924
- change ci.yml to use stages and post-build.yml
  - add use of publish-build-assets.yml and post-build.yml
  - create manifests and push to artifacts in last build step of each job
    - pass more MSBuild properties into those builds
    - use Arcade to publish installers
  - use distinct `$(AssetManifestFileName)` values per job
    - set global property to override what's hard-coded in Publish.proj
- change codesign-xplat.yml to use empty.proj and normal Arcade signing and publication process
  - remove XPlatPackageSigner.proj
- change default-build.yml to use job.yml
  - remove unused parameters e.g. `matrix`, `poolName`, `variables`
  - use `enableMicrobuild` and `enablePublishTestResults` to eliminate duplicate build steps
- add .dll's and .exe's as files to sign w/ Microsoft400
  - add signcheck exclusions
- remove custom manifest generation i.e. the `GenerateBuildAssetManifest` target and related artifacts
- update docker infrastructure to use same paths in and out of the container
  - avoids problems adding to artifacts from within the builds
- correct typo in build.sh
- use `$env:DOTNET_INSTALL_DIR` in `DotNetCommands`
  - relax expectations that an arch-specific folder exists under (say) `$env:DOTNET_HOME`
  - avoids need to define `$env:DOTNET_HOME` in all jobs on CI
- update dependencies from dotnet/arcade build '20190908.2'
  - upgrade to eg. Arcade SDK '1.0.0-beta.19458.2' package version
  - pick up dotnet/arcade@dd593acc8b fix
    - enable use of `%(PublishFlatContainer)` metadata and correct signing validation issues
- use `$(DotNetFinalVersionKind)` in preparation for servicing builds
  - set `$(IsStableBuild)` for use in Arcade infrastructure
- disable signing validation for now (see #13864)

nits:
- upload logs in first artifact
- remove attempts to package non-existent VSIX
  - follow-up to 29cf7ecb80
- respect verbosity setting in build.sh
- add more information to Artifacts.md
- enable test signing in internal PRs
2019-09-10 20:43:24 -07:00
Ryan Brandenburg aa34cf3212
Update debian arm64 Helix queue image (#13009)
Update debian arm64 Helix queue image
2019-08-13 13:42:20 -07:00
John Luo 43350b57b9
Revert "Revert "Improve components infrastructure (#12145)" (#12679)" (#12744)
* Revert "Revert "Improve components infrastructure (#12145)" (#12679)"

This reverts commit e2d57e2806. The improvement to components infrastructure is now reinstated with the following changes:

* Check in release JS artifacts and use them as a fallback when it's not possible to build npmproj.
* Dont' build nodejs in source build.
2019-08-05 15:17:55 -07:00
John Luo e2d57e2806
Revert "Improve components infrastructure (#12145)" (#12679)
* Revert "Improve components infrastructure (#12145)"

This reverts commit e149f9c0aa.

* Update JS file
2019-07-29 09:03:57 -07:00
John Luo e149f9c0aa
Improve components infrastructure (#12145)
* Remove generated Web.JS javascript files files

* Build NodeJS project referenced by managed projects by default

* Build Web.JS before other CI jobs

- We can't build Web.JS on Linux Musl for example

* Make BuildAll not override explicit BuildJava/NodeJS/Native/Managed settings

* Capture CodeCheck logs for debugging

* Skip NodeJS projects when generation ref assemblies

* Do not build dependent projects if NodeJS is not built

* Make build fail immediately if BuildNodeJS is true but NodeJS is not installed

* Do not build nodejs in installer builds
2019-07-26 13:31:01 -07:00
Wouter Huysentruit 7a496ec162 Add common error 'Unable to locate the .NET Core SDK' to Build.Errors.md and BuildFromSource.md (closes #3035) 2019-07-24 22:58:02 -07:00
Diego Vega c2967516ff
Add EF6 to the list of daily build feeds (#12473) 2019-07-23 16:10:38 -07:00