Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
b533c19
Merge commit 'eceb411c1bab87ce9b58cd640ce34164b6db1c7f'
May 6, 2026
0af3832
Restrict workloads pipe access 8.0
nagilson May 6, 2026
0fa7cb4
port 9.0.3xx changes
nagilson May 7, 2026
9d5fb66
Merged PR 60849: Restrict workloads pipe access 8.0.4xx
nagilson May 11, 2026
7f082f2
Merge commit '97b23da8dca1b0e7afc10111f9c79dc1f6be1afe'
May 14, 2026
98d5bc2
Merge commit '9a605cb01e193987bb37abc790f3ac1151661dd1'
May 15, 2026
653bc7f
Merge commit '896be5cc1d6ee0c5c0663c6ad0c8e7d44013b542'
May 18, 2026
d383673
Merge commit '0722178515164c80e2a2fb2d6742f3178c41147b'
May 18, 2026
79bf8c8
Fix internal feed auth in unofficial CI pipeline and suppress NuGet a…
marcpopMSFT May 18, 2026
d1bdfb6
Fix internal feed auth in unofficial CI pipeline (#54362)
marcpopMSFT May 18, 2026
5ab5e01
Merged PR 61254: [internal/release/8.0.4xx] Update dependencies from …
May 18, 2026
2da84dc
Merged PR 61265: [internal/release/8.0.4xx] Update dependencies from …
May 19, 2026
cc1ff8a
Merge commit '4c110b115c60272ef81934640c5bb50f30b3234d'
May 19, 2026
de49e20
Merge commit '7707cc66c7a7dd41c01f45e45abc7e6e4b31cad0'
May 19, 2026
a8883c5
Merge commit '756e17a417807c528f92fa9a3fda178e6c73dd2e'
May 19, 2026
61e55af
Merged PR 61307: [internal/release/8.0.4xx] Update dependencies from …
May 19, 2026
684f6dc
Merged PR 61311: [internal/release/8.0.4xx] Update dependencies from …
May 20, 2026
15a1ed9
Add trailing newline to THIRD-PARTY-NOTICES.TXT (trigger VMR sync ver…
May 21, 2026
d1d2716
Merged PR 61436: Fix VMR sync push by switching to dnceng-build-rw-co…
May 21, 2026
f341404
Merged PR 61389: [internal/release/9.0.1xx] Update dependencies from …
May 21, 2026
e122fa7
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] May 24, 2026
da93db1
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] May 28, 2026
4abb76f
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] May 28, 2026
761f7d0
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] May 30, 2026
63da874
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] May 30, 2026
d724ed2
Update dependencies from https://github.com/dotnet/source-build-exter…
dotnet-maestro[bot] Jun 1, 2026
77dac04
Update dependencies from https://github.com/dotnet/source-build-exter…
dotnet-maestro[bot] Jun 2, 2026
eb2d27b
Update branding to 8.0.129
vseanreesermsft Jun 2, 2026
cbdf752
Update branding to 8.0.423
vseanreesermsft Jun 2, 2026
7f317c3
Update branding to 8.0.129 (#54561)
DonnaChen888 Jun 3, 2026
08d28c4
Update branding to 8.0.423 (#54562)
DonnaChen888 Jun 3, 2026
a340273
Reset files to release/8.0.4xx
github-actions[bot] Jun 3, 2026
69c5d73
[release/8.0.1xx] Update dependencies from dotnet/roslyn-analyzers (#…
DonnaChen888 Jun 3, 2026
ce40395
[release/8.0.4xx] Update dependencies from dotnet/source-build-extern…
DonnaChen888 Jun 3, 2026
b7d1830
Merge branch 'release/8.0.1xx' into darc-release/8.0.1xx-a387343a-018…
DonnaChen888 Jun 3, 2026
2096219
[release/8.0.4xx] Update dependencies from dotnet/arcade (#54480)
DonnaChen888 Jun 3, 2026
90789c7
[release/8.0.1xx] Update dependencies from dotnet/arcade (#54479)
DonnaChen888 Jun 3, 2026
2ebe002
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 3, 2026
76b864d
Merge branch 'release/8.0.4xx' of https://github.com/dotnet/sdk into …
DonnaChen888 Jun 3, 2026
6c2550c
[release/8.0.1xx] Update dependencies from dotnet/source-build-extern…
DonnaChen888 Jun 3, 2026
06af2e4
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 3, 2026
9f6754d
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.4xx' (#54568)
DonnaChen888 Jun 3, 2026
1e395b1
[release/8.0.1xx] Update dependencies from dotnet/templating (#54571)
DonnaChen888 Jun 3, 2026
70cc1aa
Reset files to release/8.0.4xx
github-actions[bot] Jun 3, 2026
db1b333
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.4xx' (#54572)
dsplaisted Jun 3, 2026
0a26410
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 4, 2026
a901f38
[release/8.0.4xx] Update dependencies from dotnet/templating (#54588)
SimonZhao888 Jun 4, 2026
a3255a4
Merge commit '08d37d87849445d4b59000a9f3079bf8be41d4d8'
Jun 4, 2026
5eaf958
Merge commit 'e0cd8d74b7428376cd76206a972b027229b8c99b'
Jun 9, 2026
04baedc
Merge commit '684f6dced73c7e36a29557ff9f25f6b452ef4739' into internal…
vseanreesermsft Jun 9, 2026
0b64f68
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] Apr 23, 2026
c05f98f
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] Apr 24, 2026
0a510e8
Add prebuilt-baseline.xml for NuGet 6.11.2 packages
nagilson May 6, 2026
d989232
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] May 12, 2026
dbadcb2
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] May 27, 2026
e1ca8df
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] May 30, 2026
3a3398e
Update dependencies from https://github.com/dotnet/arcade build 20260…
dotnet-maestro[bot] Jun 2, 2026
75292c0
Merging internal commits for release/8.0.4xx (#54666)
marcpopMSFT Jun 9, 2026
3b77f7a
Merge commit 'd03b14066cb6e3a02233f692eab2e676a649dc49'
Jun 9, 2026
916d761
Merged PR 61982: [release/9.0.1xx] Update source-build-externals depe…
wtgodbe Jun 10, 2026
5cdd3aa
Merge commit 'b03244478d1749694542c5436461cfd19e0795c5'
Jun 10, 2026
88d2377
Update dependencies from https://github.com/dotnet/format build 20260…
dotnet-maestro[bot] Jun 11, 2026
7303331
Use user-level cache directory for cached registry blobs
lbussell Jun 1, 2026
53a0513
Add digest validation for downloaded and cached registry blobs
lbussell Jun 4, 2026
b04d1f8
Hash data using FileStream
lbussell Jun 5, 2026
0969480
[release/8.0.4xx] Update dependencies from dotnet/format (#54697)
joeloff Jun 11, 2026
57df753
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.4xx' (#54721)
github-actions[bot] Jun 15, 2026
75ba6c7
Merged PR 62123: Fix VMR sync for internal sdk pr builds
ellahathaway Jun 15, 2026
2f8f726
Merged PR 62118: Public to internal flow
marcpopMSFT Jun 16, 2026
bb9d725
Merged PR 61867: [internal/release/9.0.1xx] Update dependencies from …
Jun 16, 2026
66ca20e
Merge commit 'd32f471ee6930ccb5da7d4cd510ab10b83c4b384'
Jun 17, 2026
6645f3b
Merge branch 'release/9.0.1xx' into darc-release/9.0.1xx-8d50ddb4-7f7…
SimonZhao888 Jun 17, 2026
5c9a33b
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 17, 2026
bf222e4
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 17, 2026
ae50f45
Merged PR 62190: [internal/release/9.0.1xx] Update dependencies from …
Jun 17, 2026
0455874
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 17, 2026
0f8ab59
Merged PR 62191: [internal/release/9.0.1xx] Update dependencies from …
Jun 17, 2026
151e75f
Merged PR 62189: [internal/release/9.0.1xx] Update dependencies from …
Jun 17, 2026
f6209de
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 17, 2026
238dc8d
Merged PR 62198: [internal/release/9.0.1xx] Update dependencies from …
Jun 18, 2026
59293e6
Merged PR 62222: Attempt to fix dotnet-dotnet internal sync pipeline
ellahathaway Jun 18, 2026
8da0b46
Merged PR 62245: Cloak aspnetcore binary
ellahathaway Jun 19, 2026
331e5f4
Merged PR 62259: Fix source-mappings.json
ellahathaway Jun 19, 2026
4e901bb
Merged PR 62266: [internal/release/9.0.1xx] Update dependencies from …
Jun 20, 2026
e8ae9f0
Update dependencies from https://github.com/dotnet/source-build-asset…
dotnet-maestro[bot] Jun 20, 2026
91c25ca
Merged PR 62328: Exclude Microsoft.Bcl.Cryptography.dll from dotnet-u…
Jun 23, 2026
0d7ae3d
Update dependencies from https://dev.azure.com/dnceng/internal/_git/d…
dotnet-bot Jun 23, 2026
32cc3bd
Merged PR 62349: [internal/release/9.0.1xx] Update dependencies from …
Jun 23, 2026
a509a47
Update branding on release/8.0.4xx
dotnet-bot Jul 6, 2026
c24280b
[release/8.0.4xx] Update branding to 8.0.424 (#55149)
nagilson Jul 6, 2026
1241f64
Reset files to release/9.0.1xx
github-actions[bot] Jul 6, 2026
0598023
Delete src/SourceBuild/content/eng/tools/prebuilt-baseline.xml
nagilson Jul 7, 2026
c1e5dc4
Merge branch 'release/9.0.1xx' into darc-release/9.0.1xx-8d50ddb4-7f7…
nagilson Jul 7, 2026
e92b1ec
Merge remote-tracking branch 'upstream/release/9.0.1xx' into HEAD
nagilson Jul 7, 2026
e50338f
Merge branch 'release/9.0.1xx' into darc-release/9.0.1xx-9d039d13-c79…
nagilson Jul 7, 2026
801efee
[automated] Merge branch 'release/8.0.4xx' => 'release/9.0.1xx' (#55158)
nagilson Jul 10, 2026
87c78ec
[release/9.0.1xx] Update dependencies from dotnet/arcade (#54054)
nagilson Jul 10, 2026
e241af8
Fix VMR sync: update aspire remote name (#55234)
mthalman Jul 13, 2026
7cf6100
[release/9.0.1xx] Update dependencies from dotnet/source-build-assets…
marcpopMSFT Jul 13, 2026
486fbb2
Merge commit '32cc3bdf5e0c91c4f25fafb35ff89406741c3c7c' into internal…
dotnet-bot Jul 14, 2026
9b95745
Fix DownloadBlobAsync retry tests failing in internal builds
marcpopMSFT Jul 14, 2026
5b62d74
[release/9.0.1xx] Update dependencies from dotnet/source-build-extern…
dotnet-maestro[bot] Jul 16, 2026
2c09112
Merge branch 'release/9.0.1xx' into internal-merge-9.0.1xx-2026-07-14…
mthalman Jul 16, 2026
86e1c8d
[release/9.0.1xx] Update dependencies from dotnet/source-build-extern…
dotnet-maestro[bot] Jul 16, 2026
dc627ec
Merge branch 'release/9.0.1xx' into internal-merge-9.0.1xx-2026-07-14…
mthalman Jul 16, 2026
bdefcc6
Merging internal commits for release/9.0.1xx (#55281)
mthalman Jul 16, 2026
1935747
.NET Source-Build 9.0.119 July 2026 Updates (#55275)
dotnet-sb-bot Jul 17, 2026
6885a5a
Reset files to release/9.0.3xx
github-actions[bot] Jul 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,26 @@
<!-- Begin: Package sources from dotnet-aspire -->
<!-- End: Package sources from dotnet-aspire -->
<!-- Begin: Package sources from dotnet-emsdk -->
<add key="darc-pub-dotnet-emsdk-8e475db" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-8e475db5/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-emsdk -->
<!-- Begin: Package sources from dotnet-aspnetcore -->
<add key="darc-pub-dotnet-aspnetcore-3c5c32a" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-aspnetcore-3c5c32a7/nuget/v3/index.json" />
<add key="darc-int-dotnet-aspnetcore-a95d659" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-a95d6599/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-aspnetcore -->
<!-- Begin: Package sources from dotnet-emsdk -->
<!-- End: Package sources from dotnet-emsdk -->
<!-- Begin: Package sources from DotNet-msbuild-Trusted -->
<add key="darc-pub-DotNet-msbuild-Trusted-07da1b9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-DotNet-msbuild-Trusted-07da1b9a/nuget/v3/index.json" />
<add key="darc-pub-DotNet-msbuild-Trusted-25f168c" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-DotNet-msbuild-Trusted-25f168ce/nuget/v3/index.json" />
<!-- End: Package sources from DotNet-msbuild-Trusted -->
<!-- Begin: Package sources from dotnet-roslyn-analyzers -->
<!-- End: Package sources from dotnet-roslyn-analyzers -->
<!-- Begin: Package sources from dotnet-runtime -->
<add key="darc-int-dotnet-runtime-d839c41" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-d839c41c/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-runtime -->
<!-- Begin: Package sources from dotnet-templating -->
<add key="darc-pub-dotnet-templating-f5f6eb5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-templating-f5f6eb54/nuget/v3/index.json" />
<add key="darc-pub-dotnet-templating-2bd479c" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-templating-2bd479cb/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-templating -->
<!-- Begin: Package sources from dotnet-windowsdesktop -->
<add key="darc-int-dotnet-windowsdesktop-889bd3c" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-windowsdesktop-889bd3cf/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-windowsdesktop -->
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
Expand All @@ -62,15 +67,18 @@
</packageSources>
<disabledPackageSources>
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
<!-- Begin: Package sources from DotNet-msbuild-Trusted -->
<!-- End: Package sources from DotNet-msbuild-Trusted -->
<!-- Begin: Package sources from dotnet-templating -->
<!-- End: Package sources from dotnet-templating -->
<!-- Begin: Package sources from dotnet-aspnetcore -->
<!-- Begin: Package sources from DotNet-msbuild-Trusted -->
<!-- End: Package sources from DotNet-msbuild-Trusted -->
<add key="darc-int-dotnet-aspnetcore-a95d659" value="true" />
<!-- End: Package sources from dotnet-aspnetcore -->
<!-- Begin: Package sources from dotnet-runtime -->
<add key="darc-int-dotnet-runtime-d839c41" value="true" />
<!-- End: Package sources from dotnet-runtime -->
<!-- Begin: Package sources from dotnet-windowsdesktop -->
<add key="darc-int-dotnet-windowsdesktop-889bd3c" value="true" />
<!-- End: Package sources from dotnet-windowsdesktop -->
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
</disabledPackageSources>
Expand Down
2 changes: 1 addition & 1 deletion THIRD-PARTY-NOTICES.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ bring it to our attention. Post an issue or email us:

The attached notices are provided for information only.

No notices are provided at this time.
No notices are provided at this time.
532 changes: 249 additions & 283 deletions eng/Version.Details.xml

Large diffs are not rendered by default.

205 changes: 103 additions & 102 deletions eng/Versions.props

Large diffs are not rendered by default.

37 changes: 20 additions & 17 deletions eng/pipelines/templates/jobs/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,26 @@ jobs:

# Synchronize new content in the VMR during PRs (we expect this to come
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- task: AzureCLI@2
displayName: 'Mint AzDO token for VMR push'
inputs:
azureSubscription: 'dnceng-build-rw-code-rw-wif'
scriptType: 'pscore'
scriptLocation: 'inlineScript'
inlineScript: |
$token = az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 --query accessToken -o tsv
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to acquire Azure DevOps access token via 'az account get-access-token'. Exit code: $LASTEXITCODE"
exit 1
}
$token = $token.Trim()
if ([string]::IsNullOrWhiteSpace($token)) {
Write-Error "Received an empty or whitespace Azure DevOps access token from 'az account get-access-token'."
exit 1
}
Write-Host "##vso[task.setvariable variable=AzdoToken;issecret=true]$token"

- template: ../steps/vmr-pull-updates.yml@self
parameters:
vmrPath: $(vmrPath)
Expand Down Expand Up @@ -397,23 +417,6 @@ jobs:
- script: cp "$(sourcesPath)/src/sdk/NuGet.config" "$(sourcesPath)/test/Microsoft.DotNet.SourceBuild.SmokeTests/assets/online.NuGet.Config"
displayName: Copy Test NuGet Config for Smoke Tests

- ${{ else }}:
- task: Bash@3
displayName: Add aspnetcore public feed for smoke tests
inputs:
targetType: inline
script: |
set -euo pipefail

ONLINE_CONFIG="$(sourcesPath)/test/Microsoft.DotNet.SourceBuild.SmokeTests/assets/online.NuGet.Config"
FEED_KEY="darc-pub-dotnet-aspnetcore-3c5c32a7"
FEED_URL="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-aspnetcore-3c5c32a7/nuget/v3/index.json"

# Add only if missing. Do not touch disabledPackageSources.
if ! grep -qi "<add key=\"$FEED_KEY\"" "$ONLINE_CONFIG"; then
sed -i.bak "s|</packageSources>| <add key=\"$FEED_KEY\" value=\"$FEED_URL\" />\n </packageSources>|" "$ONLINE_CONFIG"
fi

- script: |
set -ex

Expand Down
204 changes: 111 additions & 93 deletions eng/pipelines/templates/jobs/vmr-synchronization.yml
Original file line number Diff line number Diff line change
@@ -1,93 +1,111 @@
### This job synchronizes code from product repositories into the VMR (https://github.com/dotnet/dotnet)
### It synchronizes the content of the VMR to this new commit and pushes the changes

parameters:
- name: targetRef
displayName: Target revision of dotnet/sdk to synchronize
type: string
default: $(Build.SourceVersion)

- name: vmrBranch
displayName: dotnet/dotnet branch to use
type: string
default: $(Build.SourceBranch)

- name: noPush
displayName: Don't push changes to dotnet/dotnet
type: boolean
default: false

jobs:
- job: Synchronize_VMR
displayName: Synchronize VMR's ${{ parameters.vmrBranch }}
timeoutInMinutes: 120
variables:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- template: /eng/common/templates/variables/pool-providers.yml
- ${{ else }}:
- template: /eng/common/templates-official/variables/pool-providers.yml
- name: vmrPath
value: $(Agent.BuildDirectory)/vmr
- ${{ if not(parameters.noPush) }}:
- ${{ if and( eq(variables['System.TeamProject'], 'internal'), or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
- group: DotNetBot-GitHub
- group: DotNetBot-GitHub-No-Scopes
- name: vmrPublicUrl
value: https://github.com/dotnet/dotnet
- ${{ if and( eq(variables['System.TeamProject'], 'internal'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/')) }}:
- name: vmrInternalUrl
value: https://dnceng@dev.azure.com/dnceng/internal/_git/dotnet-dotnet

pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
image: build.azurelinux.3.amd64.open
os: linux
${{ else }}:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals build.azurelinux.3.amd64
os: linux

steps:
- template: ../steps/vmr-prepare.yml
parameters:
vmrBranch: ${{ parameters.vmrBranch }}

- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- template: /eng/common/templates-official/steps/get-federated-access-token.yml
parameters:
federatedServiceConnection: VmrSyncPipeline
outputVariableName: AzdoToken

- template: ../steps/vmr-pull-updates.yml
parameters:
vmrPath: $(vmrPath)
vmrBranch: ${{ parameters.vmrBranch }}
targetRef: ${{ parameters.targetRef }}

- ${{ if and(not(parameters.noPush), not(in(variables['Build.Reason'], 'PullRequest')), eq(variables['System.TeamProject'], 'internal')) }}:
# Push main and release branches to the public VMR
- ${{ if or(eq(parameters.vmrBranch, 'main'), startsWith(parameters.vmrBranch, 'release/')) }}:
- script: >
./.dotnet/dotnet darc vmr push
--vmr '$(vmrPath)'
--commit-verification-pat '$(BotAccount-dotnet-maestro-bot-no-scopes-PAT)'
--branch '${{ parameters.vmrBranch }}'
--remote-url '$(vmrPublicUrl)'
--github-pat '$(BotAccount-dotnet-bot-repo-PAT)'
--verbose
displayName: Push changes to dotnet/dotnet (public)
workingDirectory: $(Agent.BuildDirectory)/sdk

# Push internal/release branches to the internal VMR
- ${{ if startsWith(parameters.vmrBranch, 'internal/release/') }}:
- script: >
./.dotnet/dotnet darc vmr push
--vmr '$(vmrPath)'
--skip-commit-verification
--branch '${{ parameters.vmrBranch }}'
--remote-url '$(vmrInternalUrl)'
--azdev-pat '$(AzdoToken)'
--verbose
displayName: Push changes to dotnet-dotnet (internal)
workingDirectory: $(Agent.BuildDirectory)/sdk
### This job synchronizes code from product repositories into the VMR (https://github.com/dotnet/dotnet)
### It synchronizes the content of the VMR to this new commit and pushes the changes

parameters:
- name: targetRef
displayName: Target revision of dotnet/sdk to synchronize
type: string
default: $(Build.SourceVersion)

- name: vmrBranch
displayName: dotnet/dotnet branch to use
type: string
default: $(Build.SourceBranch)

- name: noPush
displayName: Don't push changes to dotnet/dotnet
type: boolean
default: false

jobs:
- job: Synchronize_VMR
displayName: Synchronize VMR's ${{ parameters.vmrBranch }}
timeoutInMinutes: 120
variables:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- template: /eng/common/templates/variables/pool-providers.yml
- ${{ else }}:
- template: /eng/common/templates-official/variables/pool-providers.yml
- name: vmrPath
value: $(Agent.BuildDirectory)/vmr
- ${{ if not(parameters.noPush) }}:
- ${{ if and( eq(variables['System.TeamProject'], 'internal'), or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
- group: DotNetBot-GitHub
- group: DotNetBot-GitHub-No-Scopes
- name: vmrPublicUrl
value: https://github.com/dotnet/dotnet
- ${{ if and( eq(variables['System.TeamProject'], 'internal'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/')) }}:
- name: vmrInternalUrl
value: https://dnceng@dev.azure.com/dnceng/internal/_git/dotnet-dotnet

pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
image: build.azurelinux.3.amd64.open
os: linux
${{ else }}:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals build.azurelinux.3.amd64
os: linux

steps:
- template: ../steps/vmr-prepare.yml
parameters:
vmrBranch: ${{ parameters.vmrBranch }}

- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- template: /eng/common/templates-official/steps/get-federated-access-token.yml
parameters:
federatedServiceConnection: VmrSyncPipeline
outputVariableName: AzdoToken

- template: ../steps/vmr-pull-updates.yml
parameters:
vmrPath: $(vmrPath)
vmrBranch: ${{ parameters.vmrBranch }}
targetRef: ${{ parameters.targetRef }}

- ${{ if and(not(parameters.noPush), not(in(variables['Build.Reason'], 'PullRequest')), eq(variables['System.TeamProject'], 'internal')) }}:
# Push main and release branches to the public VMR
- ${{ if or(eq(parameters.vmrBranch, 'main'), startsWith(parameters.vmrBranch, 'release/')) }}:
- script: >
./.dotnet/dotnet darc vmr push
--vmr '$(vmrPath)'
--commit-verification-pat '$(BotAccount-dotnet-maestro-bot-no-scopes-PAT)'
--branch '${{ parameters.vmrBranch }}'
--remote-url '$(vmrPublicUrl)'
--github-pat '$(BotAccount-dotnet-bot-repo-PAT)'
--verbose
displayName: Push changes to dotnet/dotnet (public)
workingDirectory: $(Agent.BuildDirectory)/sdk

# Push internal/release branches to the internal VMR
- ${{ if startsWith(parameters.vmrBranch, 'internal/release/') }}:
- task: AzureCLI@2
displayName: Mint AzDO token via WIF
inputs:
azureSubscription: 'dnceng-build-rw-code-rw-wif'
scriptType: 'pscore'
scriptLocation: 'inlineScript'
inlineScript: |
$token = az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 --query accessToken -o tsv
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to acquire Azure DevOps access token via 'az account get-access-token'. Exit code: $LASTEXITCODE"
exit 1
}
$token = $token.Trim()
if ([string]::IsNullOrWhiteSpace($token)) {
Write-Error "Received an empty or whitespace Azure DevOps access token from 'az account get-access-token'."
exit 1
}
Write-Host "##vso[task.setvariable variable=WifAzdoToken;issecret=true]$token"
- script: >
./.dotnet/dotnet darc vmr push
--vmr '$(vmrPath)'
--skip-commit-verification
--branch '${{ parameters.vmrBranch }}'
--remote-url '$(vmrInternalUrl)'
--azdev-pat '$(WifAzdoToken)'
--verbose
displayName: Push changes to dotnet-dotnet (internal)
workingDirectory: $(Agent.BuildDirectory)/sdk
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/vmr-prepare.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### These steps clone the VMR (https://github.com/dotnet/dotnet) into $(Agent.BuildDirectory)/vmr for installer
### These steps clone the VMR (https://github.com/dotnet/dotnet) into $(Agent.BuildDirectory)/vmr for sdk

parameters:
- name: vmrBranch
Expand Down
6 changes: 3 additions & 3 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"tools": {
"dotnet": "9.0.115",
"dotnet": "9.0.116",
"runtimes": {
"dotnet": [
"$(VSRedistCommonNetCoreSharedFrameworkx6490PackageVersion)"
Expand All @@ -17,8 +17,8 @@
"cmake": "latest"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.26220.3",
"Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.26220.3",
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.26301.4",
"Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.26301.4",
"Microsoft.Build.NoTargets": "3.7.0",
"Microsoft.DotNet.CMake.Sdk": "9.0.0-beta.24217.1"
}
Expand Down
Loading