Commit Graph

274 Commits

Author SHA1 Message Date
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
Brennan 6e9bc21f3e
Use different machines for linux arm64 (#21099) 2020-04-22 13:32:07 -07:00
Chris Ross aa84b45cb2 Get off the hosted ubuntu linux queue due to disk space limitations 2020-04-17 13:46:10 -07:00
Doug Bunting ed6ca53521 Revert "Use BuildTools internally too"
- internal builds now fail with `##[error]The remote provider was unable to process the request.`

This reverts commit 0483e2db95.
2020-04-15 14:40:56 -07:00
Doug Bunting 0483e2db95 Use BuildTools internally too
- BuildPool.Server.Amd64.VS2019.BT in particular (for non-testing jobs)
2020-04-14 12:18:04 -07:00
Pranav K 3c1bd093e9
Print disk usage (#20704)
* Print disk usage
* Try again
* Disk util part3
* dont look at /tmp
* Remove max-depth
* Add disk usage stats to all non-windows platforms
* Disable Ubuntu quarantined test step
* Apply suggestions from code review
  - Make thingies worky on macOS
* Update .azure/pipelines/jobs/default-build.yml
* Undo skip of qurantined test run
* Update .azure/pipelines/jobs/default-build.yml
  - do not reference directory that doesn't exist
* Update .azure/pipelines/jobs/default-build.yml
  - reduce noise in Mac disk utilization output

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-04-11 12:59:18 -07:00
N. Taylor Mullen 51f69a6bbb
Use different Ubuntu pools for Ubuntu tests to avoid disk space issues. (#20742)
- Use different Ubuntu pools for Ubuntu tests to avoid disk space issues.
  - Updated the `default-build.yml` to have a new parameter specific to Ubuntu listed `useHostedUbuntu`. If we feel the need to expand the parameters usage outside of the Ubuntu configuration we can always rename to `useHosted`. Also didn't want to touch the `isTestingJob` because I wasn't sure of hte implications.
  - Updated the Ubuntu test job to turn off hosted pools.

Fixes https://github.com/dotnet/aspnetcore-internal/issues/3574

- Hmm, are `queue` names case-sensitive?
- Correct `useHostedUbuntu: false` placement
- Correct placement of `useHostedUbuntu: true` default
- Try adding `--without-http_rewrite_module` to nginx configuration
  - also add `set -euo pipefail` to the script for fast failure

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-04-10 23:09:06 -07:00
Pranav K 9cab3e2602
Turn off SDL validation (#20691)
Based on the discussion here: https://github.com/dotnet/arcade/issues/5219
Re-enabling tracked by https://github.com/dotnet/aspnetcore/issues/20690
2020-04-10 12:31:26 -07:00
dotnet-maestro[bot] b29f1fa5ea
[master] Update dependencies from dotnet/aspnetcore-tooling (#20634)
* Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200407.1

- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-preview.4.20207.1
- Microsoft.AspNetCore.Razor.Language - 5.0.0-preview.4.20207.1
- Microsoft.CodeAnalysis.Razor - 5.0.0-preview.4.20207.1
- Microsoft.NET.Sdk.Razor - 5.0.0-preview.4.20207.1

Dependency coherency updates

- Microsoft.Net.Compilers.Toolset - 3.6.0-3.20205.2 (parent: Microsoft.Extensions.Logging)

* Install the latest NuGet exe

* Match Compilers.Toolset version used in aspnetcore-tooling build

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-04-08 13:33:45 -07:00
Doug Bunting 28f9139cb6
Merge branch 'master' into merge/release/5.0-preview3-to-master 2020-04-06 16:32:51 -07:00
Doug Bunting d6821faebd
[5.0-preview3] Remove Code_check job from publish-build-assets.yml `dependsOn` (#20559)
- re-enable the "Build SiteExtension" build step!
- nit: remove redundant conditions for easier reading
2020-04-05 15:29:17 -07:00
Kevin Pilch c56aa320c3
Merge pull request #20547 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'
2020-04-05 09:23:16 -07:00
Doug Bunting 27aa26ef4b [release/3.1] Don't run Code Check in official builds 2020-04-04 20:18:43 -07:00
Doug Bunting ffa52140db [release/5.0-preview3] Don't run Code Check in official builds 2020-04-04 20:18:03 -07:00
Ryan Nowak 5f8bb71608
Merge pull request #20456 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'
2020-04-02 11:18:00 -07:00
John Luo 0681c36925
Nit: update azdo job name for macOS (#20330) 2020-04-01 16:32:19 -07:00
William Godbe 2d6827a678
Always generate checksums as last part of publish job (#20367)
* Always generate checksums as last part of publish job

* Initialize props correctly

* Fix wildcard

* Import Arcade SDK

* Add NoWarn MSB4011

* Make import conditional on GenerateChecksums

* Select specific files to checksum

* Respond to feedback

* AfterTargets -> BeforeTargets
2020-04-01 16:25:37 -07:00
Doug Bunting 5ed5c1c46b
Update hosted (AzDO) and BYOC (dnceng) agents used in our builds
- dotnet/aspnetcore-internal#3540
- nit: Consistently use `in` / `notin` with `Build.Reason`
  - YAML was inconsistent and this aligns w/ the Arcade code
2020-03-25 11:14:18 -07:00
Doug Bunting f93480a45b Re-enable signing validation again
- part of 4ba64f5470 was either merged incorrectly from 'release/3.1' or overridden later
2020-03-24 13:38:03 -07:00
John Luo 6912dda560
Add gRPC interop tests (again) (#20069)
* Revert "Revert "Add gRPC interop tests (#17040)" (#20047)"

This reverts commit 236dcd9fbe.

* Fix daily and quarantine Helix runs

* Cleanup
2020-03-23 13:29:50 -07:00
Kevin Pilch 236dcd9fbe
Revert "Add gRPC interop tests (#17040)" (#20047)
This reverts commit 8afb78fb95.
2020-03-21 06:04:28 +00:00
James Newton-King 8afb78fb95
Add gRPC interop tests (#17040)
* WIP add interop tests

* Clean up

* Move test project into build infrastructure

* Clean up

* Remove hardcoded paths

* Clean up

* Fix build

* Add copyright notices

* Update azure template

* Fix build

* Fix build?

* Fix build?

* Add gRPC interop tests to CI

- Convert to using references managed by build infrastructure
- Use produced AspNetCore.App shared framework
- Save server logs
- Dynamically bind to ports
- Ensure InteropWebsite is built in the same configuration as the test project

* Cleanup

* Rebase fix

* Include tests assets in build directory for Helix

* Incorporate changes in ProcessEx

* Include Grpc test in regular build

* Fixup

* Test

* exe doesn't always exist

* Capture logs on helix

* Maybe this will work

* There are two application started messages

* Derp

* Cleanup

* Update directory

* Add interop tests to more pipelines

* mkdir

Co-authored-by: John Luo <johluo@microsoft.com>
2020-03-20 19:32:45 -07:00
Doug Bunting 0bb20cc3c1
Merge remote-tracking branch 'origin/master' into dougbu/master/newer.agents.3540
- fixup one more agent request
- nit: Consistently use `in` / `notin` with `Build.Reason`
  - YAML was inconsistent and this aligns w/ the Arcade code
2020-03-06 19:02:06 -08:00
Doug Bunting e984a7e2aa
Update hosted (AzDO) and BYOC (dnceng) agents used in our builds
- dotnet/aspnetcore-internal#3540
2020-03-06 17:21:22 -08:00
Brennan 7fabb6c9f4
Don't run Java tests on quarantine run (#19652) 2020-03-06 15:06:58 -08:00
John Luo 9f56862320
Build aspnetcore for win-arm64 (#19317)
* Build for win-arm64

* Missed file

* Disable Selenium tests on arm64

* Include installers in the uploaded artifacts
2020-03-06 14:47:29 -08:00
Hao Kung 8cba1cbb23
Skip arm64 queues on internal builds (#19620) 2020-03-05 23:19:21 -08:00
Brennan 56fb4b4d2f
Rename Flaky attribute (#19469) 2020-03-04 08:10:18 -08:00
Hao Kung 4498058343
[Helix] Shared framework support + Templates tests (#19177) 2020-02-26 12:55:41 -08:00
Brennan 4e07efe60f
Add scheduled quarantine runs (#19352)
* Run quarantined tests every 4 hours
2020-02-26 11:15:48 -08:00
Brennan 9f0458739c
Rename helix-test.yml (#19247) 2020-02-25 12:50:21 -08:00
Brennan 3d178227da
Change SiteExtension reference (#19218)
* Change SiteExtension reference
* disable
2020-02-21 09:25:20 -08:00
Brennan 3787d7e7f0
Merge pull request #19122 from dotnet/halter73/mega-merge
Merge branch release/3.1 --> master
2020-02-20 15:19:27 -08:00
Brennan b3e2dacdaf
Fix Helix run (#19175) 2020-02-20 12:46:37 -08:00
Doug Bunting c8bcb96d59
Revert location change for `_UseHelixOpenQueues` variable
nit: Remove extra `if`
2020-02-20 11:23:44 -08:00
Doug Bunting c2ee4ae820
Re-enable source build job
- change ref/ projects to build only the default TFM during source builds
  - avoid errors restoring packages like Microsoft.BCL.AsyncInterfaces
  - may also speed up source builds slightly
2020-02-19 22:46:22 -08:00
Brennan Conroy e721923b67 Fix targets file 2020-02-19 18:15:59 -08:00
Brennan Conroy 2d066dcd3e Apply some fixes 2020-02-19 14:18:29 -08:00
Brennan e3a5f03e24
Run Java tests on Helix (#18938) 2020-02-19 13:18:12 -08:00
Hao Kung 607a6b4f8a
Merge branch 'master' into halter73/mega-merge 2020-02-18 16:51:15 -08:00
Hao Kung 853d8f02e7
Use dotnet-helixapi-access token for internal helix builds 2020-02-18 15:51:13 -08:00
Stephen Halter 88073f86ff Merge branch 'release/3.1' into master 2020-02-18 13:46:51 -08:00
Ryan Brandenburg 211bc40384
Revert flaky tests that seems to have been fixed (#19065) 2020-02-18 09:26:51 -08:00
Ryan Brandenburg b49dd9869e
Include the ExitCode in the error message (#17663)
Include the ExitCode in the error message
2020-01-31 14:00:57 -08:00
Doug Bunting 6f285dce1d Switch to Windows Server queues 2020-01-30 10:53:13 -08:00
Andrew Stanton-Nurse a3960e5d20
Add primary branch triggers to helix-test (#18686)
We want to run the quarantined tests on the "primary" branches (just master for now) to ensure we're getting full coverage.
2020-01-30 17:48:14 +00:00
Hao Kung e8363b1cc9
[Helix] Split flaky helix tests into separate yml (#18597) 2020-01-29 09:18:05 -08:00
Hao Kung 524bba8ff4
Start skipping helix ready tests on azdo runs (#17109) 2020-01-23 15:58:47 -08:00
Hao Kung f1dba10a34
[Helix] Better logging (flaky tests, logged tests) (#18274) 2020-01-21 14:03:01 -08:00
Kevin Pilch 0517745c08 aspnet/AspNetCore -> dotnet/aspnet
Except aspnet/AspNetCore-Internal.
2020-01-08 16:40:11 -08:00