Граф коммитов

164 Коммитов

Автор SHA1 Сообщение Дата
William Godbe ed659d7d8d
[release/8.0] Use MacOS-13 in CI (#58549)
* Fix conflict

* Use native tools on machine

* Fix SignalR Java POM to include description

* Try stream8

* New pool

* No git

* Maybe change the order

* Add newline at end of global.json file

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Brennan <brecon@microsoft.com>
Co-authored-by: Matt Thalman <mthalman@microsoft.com>
2024-11-14 11:41:04 -08:00
Matt Mitchell 954f61dd38 Merged PR 41234: Update token timeout
#### AI description  (iteration 1)
#### PR Classification
Configuration update.

#### PR Summary
This pull request updates the token timeout configuration in the build pipeline.
- `.azure/pipelines/jobs/default-build.yml`: Added `expiryInHours` parameter with a value of 2 to the `enable-internal-runtimes.yml` template.
2024-07-19 22:20:50 +00:00
Matt Mitchell b4bd41300b Merged PR 41232: Regenerate SAS before installers
#### AI description  (iteration 1)
#### PR Classification
Code enhancement to regenerate runtime tokens before building installers.

#### PR Summary
This pull request ensures that runtime tokens are regenerated before building the installers to avoid hitting the hour timeout.
- `.azure/pipelines/ci.yml`: Added a step to regenerate runtime tokens before the installer build process.
2024-07-19 18:06:13 +00:00
Matt Mitchell ed3508f895
[release/8.0] Switch to dSAS for internal runtimes (#56488)
* Update arcade

* Switch to dSAS for internal runtimes

* Enable internal sources for source build

* Fixup for publishing in arcade 8.0

* Fix spaciong
2024-07-08 21:48:47 +00:00
Alexander Köplinger 3ffafee69a
[release/8.0] Bump to macos-12 build image (#56270)
* Bump to macos-12 build image

AzDO will remove macos-11 in about two weeks: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#recent-updates

* Update xcode
2024-07-02 13:33:25 -07:00
Igor Velikorossov 7c5633e45b
[release/8.0] Convert to 1ES templates (#54660)
* Update dependencies from https://github.com/dotnet/arcade build

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor
 From Version 8.0.0-beta.24113.2 -> To Version 8.0.0-beta.24165.4

* Start converting to 1es pipelines - public

* Install JDK

* Node 18

* Fix spacing

* More spacing

* More spacing again

* One last ride

* More spacing fixes

* Fix pools

* Fix xcode

* Don't prepare the machine

* Enable internal builds

* Update ci-public.yml

* Update EOL versions (#54791)

* Update ci-public.yml

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: wtgodbe <wigodbe@microsoft.com>
Co-authored-by: Rich Lander <rlander@microsoft.com>
2024-04-02 13:53:52 -07:00
Brennan cf010a70fa
Use Node 18 (LTS) (#48087) 2023-05-10 11:27:19 -07:00
Doug Bunting 59e5920d69
Use Arcade's pool-providers.yml (#46493)
- import the variable template
- use the two variables it provides wherever we name the pool
  - future release branches will now automatically switch to the -Svc pools
2023-02-08 18:49:01 -08:00
Anthony Tossell c37ee916d1
Changed docs.microsoft.com links to learn.microsoft.com Issue: #44175 (#46206)
Updated links from microsoft.docs.* to microsoft.learn.*
- fixes #44175
- also remove version info from the URIs
2023-01-24 02:07:15 +00:00
Chris Ross 1d62cf9aa5
Remove DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER workaround (#44808) 2022-11-01 18:28:33 +00:00
Doug Bunting b35b7ac8b7
Add CodeQL3000 run to aspnetcore-ci-official (#44688)
* Add CodeQL3000 run to aspnetcore-ci-official
- add new schedule for a weekly run
- add top-level parameter enabling CodeQL3000 in manual builds
- add `enableSBOM` and `variables` parameters in default-build.yml
- add a separate job w/ CodeQL3000 tasks included in build steps; run this job alone
  - use the new default-build.yml parameters
  - set `$(UseSharedCompilation)` to `false` to ease analysis
- tag CodeQL3000 runs
- add a tsaoptions.json file
  - cribbed values from our eng/sdl-tsa-vars.config file

nit: Unconditionally disable the auto-injected component governance build step
- job.yml inserts the task where we need (unless overridden)
2022-10-24 19:46:49 +00:00
William Godbe 39f0e0b8f4
Add AdditionalDotNetPackageFeed for helix (#44604)
* Add AdditionalDotNetPackageFeed for helix

* Update default-build.yml
2022-10-18 22:16:19 -07:00
Doug Bunting e212ed44a5
Merge branch 'main' into merge/release/7.0-to-main 2022-09-26 16:47:04 -07:00
Doug Bunting a4bc7cbca9
[release/7.0] Use Ubuntu 20.04 a bit more (#44173)
- make version consistent w/ AzDO hosted image
- images now available (dotnet/arcade#10833 gap filled)
2022-09-26 15:41:05 -07:00
Bruno Oliveira 7764074d90
Merge branch 'main' into merge/release/7.0-to-main 2022-09-14 14:59:24 -07:00
Doug Bunting 8de7385386
[release/7.0] Stop building / testing on Ubuntu 18.04 (#43948)
- use 20.04 instead
2022-09-13 15:17:29 -07:00
Stephen Halter 9e44c9f4b5
Merge branch 'main' into merge/release/7.0-to-main 2022-09-01 19:42:41 -07:00
Stephen Halter 3cdfafda02 Merge branch 'release/7.0' into merge/release/7.0-to-main
# Conflicts:
#	.azure/pipelines/jobs/default-build.yml
#	src/Http/Http.Results/test/OkResultTests.cs
#	src/Http/Http.Results/test/ValidationProblemResultTests.cs
2022-09-01 17:31:05 -07:00
Alex Perovich c4827101f4
Update public pool names (#43681) 2022-09-01 05:19:20 +00:00
Alex Perovich f2ef2fbfb3
Update public pool names (#43676) 2022-09-01 04:59:27 +00:00
Doug Bunting 0349c22d74
Merge branch 'main' into merge/release/7.0-to-main 2022-08-31 13:29:46 -07:00
Doug Bunting 6b02007fbd
[release/7.0] Set `MSBUILDLOGALLENVIRONMENTVARIABLES` in most CI jobs (#43644)
- should affect most of our pipelines though not a few post-build jobs
- as we saw in #43028, binary logs no longer include all environment variables by default
  - this change captures the environment variables not visibly referenced in our projects etc.
  - fix avoids a need to add the override later to debug an issue, at the cost of larger .binlog files
2022-08-30 20:11:29 -07:00
Mackinnon Buck bcf7319eb3
Update SDK to 7.0.100-rc.2.22419.24 (#43028)
- {lots of different SDK versions tried}
- Validate DataProtection custom algorithm has a constructor
- Additional fixes
- Suppress IL2121
- Fix NoWarn overrides
- Update LinkabilityChecker.csproj
- Update WasmLinkerTest.csproj
- Bump SDK version yet again
- Hack to stop using `msbuild` server
  - please open an issue to keep trying to remove this
- Disable msbuild server for source-build job

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Chris Ross <chrross@microsoft.com>
Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com>
Co-authored-by: James Newton-King <james@newtonking.com>
Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Co-authored-by: Safia Abdalla <safia@microsoft.com>
2022-08-30 21:21:17 +00:00
William Godbe 7e0cdde38c
Make skipComponentGovernanceDetection a variable (#43477)
* Update default-build.yml

* Update ci.yml

* Update default-build.yml

* Remove unneeded bits
2022-08-26 11:53:33 -07:00
Matt Galbraith 0e0cb26317
Move to -Svc pool provider (#43529) 2022-08-24 17:09:13 -07:00
William Godbe 014ed892a2
Skip component governance in public builds (#43470)
* Skip component governance in public builds

* Update default-build.yml
2022-08-22 15:12:35 -07:00
Doug Bunting d0bc5d8c2a
Move builds to MacOS 11 (#42791)
* Move builds to MacOS 11
- hosted macOS-10.15 environment is deprecated

* Use an installed XCode version
2022-07-20 09:23:36 -07:00
Doug Bunting 4adb4258cb
Specify the current agent demands and VS version (#42460)
* Specify the current agent demands and VS version
- we require VS2022 to build native code these days
- Core-Eng really likes `1es-windows-2019[-open]` 😀

* !fixup! Remove extra `$(WindowsTargetPlatformVersion)` settings
- set in Cpp.Common.props
- was incorrect in common.props and led to requiring two Windows SDK versions
2022-06-28 21:22:33 +00:00
Steve Sanderson df9a5d4c5e
Update SDK (#41798) 2022-06-24 01:11:44 +00:00
William Godbe dac643de45
Revert "Use 1es-windows-2019 again (#41547)" (#41590)
This reverts commit 46bb449ffa.
2022-05-09 14:11:32 -07:00
Doug Bunting 46bb449ffa
Use 1es-windows-2019 again (#41547) 2022-05-07 22:08:17 -07:00
William Godbe 57e205cd47
Revert "Try out 1es images" (#41441)
* Revert "Try out 1es images (#41400)"

This reverts commit 0394ac7baa.

* Update default-build.yml
2022-04-29 13:29:11 -07:00
William Godbe 0394ac7baa
Try out 1es images (#41400) 2022-04-28 13:21:29 -07:00
William Godbe 95d0fef5f5
Remove install-tar & mentions from repo (#40720) 2022-03-15 15:28:17 -07:00
Tanay Parikh 32fb3a698f
Extend disable component governance for linux (#39925)
Extension of https://github.com/dotnet/aspnetcore/pull/39898
2022-02-01 15:43:49 -08:00
Doug Bunting ccc66f977b
[main] Use 1ES machines for official builds (#39684) 2022-01-21 15:16:15 -08:00
Javier Calvarro Nelson 0dedcf6705
[Infrastructure] Update nodejs to use node 16 (#37454) 2021-10-11 10:55:41 -07:00
Doug Bunting d5b3f4c541
Cleanup YAML jobs (#37231)
* 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
2021-10-04 16:04:12 -07:00
Doug Bunting fc286da973
Add source-index build job to pipeline (#37028)
- #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
2021-10-04 13:54:28 -07:00
Doug Bunting 55c92f4e71
Cleanup YAML parameters and settings (#37186)
- 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)
2021-10-01 21:53:48 -07:00
Doug Bunting 1576b10794
Remove unused parameter and add requested comments (#37077)
- `parameters.buildScript` was only ever set to its default value
- add comments explaining the `parameters.steps` expansion
  - see https://github.com/dotnet/aspnetcore/pull/36824#pullrequestreview-764795624
2021-09-29 12:52:06 -07:00
Doug Bunting fbb80d67ca
Get `dotnet` cores on Linux / macOS (#36824)
- follow up to 0d0103b4c0
- `COMPlus*` variables were uppercased and `dotnet` ignored them on Linux / macOS
- only upload dumps in `failed()` jobs
  - use scripts to avoid more YAML complications and avoid empty artifacts
2021-09-27 21:08:57 -07:00
Doug Bunting 277e42f4dc
Don't clear NuGet caches at all (#36898)
- `$use_global_nuget_cache` and `$useGlobalNuGetCache` have default values in our pipelines
- therefore, cache is always within `$(System.DefaultWorkingDirectory)` and should not exist at job start
2021-09-23 23:42:36 +00:00
Jon Fortescue f7dc5e24af
Switch to 1ES R&D Pools on main (#36820) 2021-09-22 09:42:33 -07:00
Doug Bunting c9c883ae5e
Ensure _Dumps artifacts aren't empty (#36400)
- avoid yellow builds due to `PublishBuildArtifacts@1` warnings
- always include a small file
2021-09-11 12:56:48 -07:00
Doug Bunting 0d0103b4c0
Capture `dotnet` dumps (#36385)
- capture `dotnet` dumps
  - builds are failing soon after `dotnet msbuild` launch
- do not upload dumps twice

nit: Remove disabled explicit component detection job
2021-09-10 20:18:59 +00:00
Javier Calvarro Nelson c1d16e3ccd
[Blazor] Update npm dependencies (#36088)
* Updates npm dependencies to their latest versions.
* Standardizes build process for our JS dependencies on webpack 5 with babel, etc.
* Updates dependencies for the auth packages to their latest versions.
* Fixes test assets so that they can be run locally.
2021-09-08 02:30:31 -07:00
Hao Kung d05a904bad
Paint it green (#35559) 2021-08-20 18:57:12 +00:00
Doug Bunting 83f7970b8c
Clean out Ubuntu 16.04 testing (#32894)
* Clean out Ubuntu 16.04 testing
- use Ubuntu 18.04 agents for testing in Docker containers on Helix

nits:
- clean up a few old mentions of Centos and Fedora testing
- fix `%(Platform)` metadata for OSX `@(HelixAvailableTargetQueue)` items
- don't mention unused internal queues in `$(TestDependsOnPlaywright)` update of `$(SkipHelixQueues)`
- sort remaining queues alphabetically in `$(SkipHelixQueues)`
2021-05-21 17:46:08 -07:00
Sébastien Ros e52cfce395
Merge branch 'main' into merge/release/5.0-to-main 2021-04-21 15:22:20 -07:00