Skip to content

Commit 07cf3af

Browse files
Update dependencies from https://github.com/dotnet/arcade build 20260227.1 (#732)
On relative base path root Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Packaging From Version 11.0.0-beta.26122.1 -> To Version 11.0.0-beta.26127.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
1 parent b7b7501 commit 07cf3af

File tree

9 files changed

+273
-13
lines changed

9 files changed

+273
-13
lines changed

eng/Version.Details.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.26122.1">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.26127.1">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>88c88084abfa1e379f54933af89e43fa774e323c</Sha>
8+
<Sha>55c97a45af8fd75bc87e9e4b4f61aef3fead254d</Sha>
99
</Dependency>
10-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="11.0.0-beta.26122.1">
10+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="11.0.0-beta.26127.1">
1111
<Uri>https://github.com/dotnet/arcade</Uri>
12-
<Sha>88c88084abfa1e379f54933af89e43fa774e323c</Sha>
12+
<Sha>55c97a45af8fd75bc87e9e4b4f61aef3fead254d</Sha>
1313
</Dependency>
1414
</ToolsetDependencies>
1515
</Dependencies>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<PreReleaseVersionIteration>1</PreReleaseVersionIteration>
77
</PropertyGroup>
88
<PropertyGroup>
9-
<MicrosoftDotNetBuildTasksPackagingVersion>11.0.0-beta.26122.1</MicrosoftDotNetBuildTasksPackagingVersion>
9+
<MicrosoftDotNetBuildTasksPackagingVersion>11.0.0-beta.26127.1</MicrosoftDotNetBuildTasksPackagingVersion>
1010
</PropertyGroup>
1111
</Project>
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
# --------------------------------------------------------------------------------------
2+
# Renovate Bot Job Template
3+
# --------------------------------------------------------------------------------------
4+
# This Azure DevOps pipeline job template runs Renovate (https://docs.renovatebot.com/)
5+
# to automatically update dependencies in a GitHub repository.
6+
#
7+
# Renovate scans the repository for dependency files and creates pull requests to update
8+
# outdated dependencies based on the configuration specified in the renovateConfigPath
9+
# parameter.
10+
#
11+
# Usage:
12+
# For each product repo wanting to make use of Renovate, this template is called from
13+
# an internal Azure DevOps pipeline, typically with a schedule trigger, to check for
14+
# and propose dependency updates.
15+
#
16+
# For more info, see https://github.com/dotnet/arcade/blob/main/Documentation/Renovate.md
17+
# --------------------------------------------------------------------------------------
18+
19+
parameters:
20+
21+
# Path to the Renovate configuration file within the repository.
22+
- name: renovateConfigPath
23+
type: string
24+
default: 'eng/renovate.json'
25+
26+
# GitHub repository to run Renovate against, in the format 'owner/repo'.
27+
# This could technically be any repo but convention is to target the same
28+
# repo that contains the calling pipeline. The Renovate config file would
29+
# be co-located with the pipeline's repo and, in most cases, the config
30+
# file is specific to the repo being targeted.
31+
- name: gitHubRepo
32+
type: string
33+
34+
# List of base branches to target for Renovate PRs.
35+
# NOTE: The Renovate configuration file is always read from the branch where the
36+
# pipeline is run, NOT from the target branches specified here. If you need different
37+
# configurations for different branches, run the pipeline from each branch separately.
38+
- name: baseBranches
39+
type: object
40+
default:
41+
- main
42+
43+
# When true, Renovate will run in dry run mode, which previews changes without creating PRs.
44+
# See the 'Run Renovate' step log output for details of what would have been changed.
45+
- name: dryRun
46+
type: boolean
47+
default: false
48+
49+
# By default, Renovate will not recreate a PR for a given dependency/version pair that was
50+
# previously closed. This allows opting in to always recreating PRs even if they were
51+
# previously closed.
52+
- name: forceRecreatePR
53+
type: boolean
54+
default: false
55+
56+
# Pool configuration for the job.
57+
- name: pool
58+
type: object
59+
default:
60+
name: NetCore1ESPool-Internal
61+
image: build.azurelinux.3.amd64
62+
os: linux
63+
64+
jobs:
65+
- job: Renovate
66+
displayName: Run Renovate
67+
container: RenovateContainer
68+
variables:
69+
- group: dotnet-renovate-bot
70+
# The Renovate version is automatically updated by https://github.com/dotnet/arcade/blob/main/azure-pipelines-renovate.yml.
71+
# Changing the variable name here would require updating the name in https://github.com/dotnet/arcade/blob/main/eng/renovate.json as well.
72+
- name: renovateVersion
73+
value: '42'
74+
- name: dryRunArg
75+
${{ if eq(parameters.dryRun, true) }}:
76+
value: 'full'
77+
${{ else }}:
78+
value: ''
79+
- name: recreateWhenArg
80+
${{ if eq(parameters.forceRecreatePR, true) }}:
81+
value: 'always'
82+
${{ else }}:
83+
value: ''
84+
pool: ${{ parameters.pool }}
85+
86+
templateContext:
87+
outputParentDirectory: $(Build.ArtifactStagingDirectory)
88+
outputs:
89+
- output: pipelineArtifact
90+
displayName: Publish Renovate Log
91+
condition: succeededOrFailed()
92+
targetPath: $(Build.ArtifactStagingDirectory)
93+
artifactName: $(Agent.JobName)_Logs_Attempt$(System.JobAttempt)
94+
sbomEnabled: false
95+
96+
steps:
97+
- checkout: self
98+
fetchDepth: 1
99+
100+
- script: renovate-config-validator $(Build.SourcesDirectory)/${{parameters.renovateConfigPath}}
101+
displayName: Validate Renovate config
102+
env:
103+
LOG_LEVEL: info
104+
LOG_FILE_LEVEL: debug
105+
LOG_FILE: $(Build.ArtifactStagingDirectory)/renovate-config-validator.json
106+
107+
- script: |
108+
. $(Build.SourcesDirectory)/eng/common/renovate.env
109+
renovate
110+
displayName: Run Renovate
111+
env:
112+
RENOVATE_FORK_TOKEN: $(BotAccount-dotnet-renovate-bot-PAT)
113+
RENOVATE_TOKEN: $(BotAccount-dotnet-renovate-bot-PAT)
114+
RENOVATE_REPOSITORIES: ${{parameters.gitHubRepo}}
115+
RENOVATE_BASE_BRANCHES: ${{ convertToJson(parameters.baseBranches) }}
116+
RENOVATE_DRY_RUN: $(dryRunArg)
117+
RENOVATE_RECREATE_WHEN: $(recreateWhenArg)
118+
LOG_LEVEL: info
119+
LOG_FILE_LEVEL: debug
120+
LOG_FILE: $(Build.ArtifactStagingDirectory)/renovate.json
121+
RENOVATE_CONFIG_FILE: $(Build.SourcesDirectory)/${{parameters.renovateConfigPath}}
122+
123+
- script: |
124+
echo "PRs created by Renovate:"
125+
if [ -s "$(Build.ArtifactStagingDirectory)/renovate-log.json" ]; then
126+
if ! jq -r 'select(.msg == "PR created" and .pr != null) | "https://github.com/\(.repository)/pull/\(.pr)"' "$(Build.ArtifactStagingDirectory)/renovate-log.json" | sort -u; then
127+
echo "##vso[task.logissue type=warning]Failed to parse Renovate log file with jq."
128+
echo "##vso[task.complete result=SucceededWithIssues]"
129+
fi
130+
else
131+
echo "##vso[task.logissue type=warning]No Renovate log file found or file is empty."
132+
echo "##vso[task.complete result=SucceededWithIssues]"
133+
fi
134+
displayName: List created PRs
135+
condition: and(succeededOrFailed(), eq('${{ parameters.dryRun }}', false))

eng/common/core-templates/job/source-index-stage1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
pool:
2626
${{ if eq(variables['System.TeamProject'], 'public') }}:
2727
name: $(DncEngPublicBuildPool)
28-
image: windows.vs2026preview.scout.amd64.open
28+
image: windows.vs2026.amd64.open
2929
${{ if eq(variables['System.TeamProject'], 'internal') }}:
3030
name: $(DncEngInternalBuildPool)
31-
image: windows.vs2026preview.scout.amd64
31+
image: windows.vs2026.amd64
3232

3333
steps:
3434
- ${{ if eq(parameters.is1ESPipeline, '') }}:

eng/common/core-templates/post-build/post-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ stages:
127127
${{ else }}:
128128
${{ if eq(parameters.is1ESPipeline, true) }}:
129129
name: $(DncEngInternalBuildPool)
130-
image: windows.vs2026preview.scout.amd64
130+
image: windows.vs2026.amd64
131131
os: windows
132132
${{ else }}:
133133
name: $(DncEngInternalBuildPool)
134-
demands: ImageOverride -equals windows.vs2026preview.scout.amd64
134+
demands: ImageOverride -equals windows.vs2026.amd64
135135

136136
steps:
137137
- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
@@ -175,7 +175,7 @@ stages:
175175
os: windows
176176
${{ else }}:
177177
name: $(DncEngInternalBuildPool)
178-
demands: ImageOverride -equals windows.vs2026preview.scout.amd64
178+
demands: ImageOverride -equals windows.vs2026.amd64
179179
steps:
180180
- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
181181
parameters:
@@ -236,7 +236,7 @@ stages:
236236
os: windows
237237
${{ else }}:
238238
name: $(DncEngInternalBuildPool)
239-
demands: ImageOverride -equals windows.vs2026preview.scout.amd64
239+
demands: ImageOverride -equals windows.vs2026.amd64
240240
steps:
241241
- template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
242242
parameters:
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# --------------------------------------------------------------------------------------
2+
# Renovate Pipeline Template
3+
# --------------------------------------------------------------------------------------
4+
# This template provides a complete reusable pipeline definition for running Renovate
5+
# in a 1ES Official pipeline. Pipelines can extend from this template and only need
6+
# to pass the Renovate job parameters.
7+
#
8+
# For more info, see https://github.com/dotnet/arcade/blob/main/Documentation/Renovate.md
9+
# --------------------------------------------------------------------------------------
10+
11+
parameters:
12+
13+
# Path to the Renovate configuration file within the repository.
14+
- name: renovateConfigPath
15+
type: string
16+
default: 'eng/renovate.json'
17+
18+
# GitHub repository to run Renovate against, in the format 'owner/repo'.
19+
- name: gitHubRepo
20+
type: string
21+
22+
# List of base branches to target for Renovate PRs.
23+
- name: baseBranches
24+
type: object
25+
default:
26+
- main
27+
28+
# When true, Renovate will run in dry run mode.
29+
- name: dryRun
30+
type: boolean
31+
default: false
32+
33+
# When true, Renovate will recreate PRs even if they were previously closed.
34+
- name: forceRecreatePR
35+
type: boolean
36+
default: false
37+
38+
# Pool configuration for the pipeline.
39+
- name: pool
40+
type: object
41+
default:
42+
name: NetCore1ESPool-Internal
43+
image: build.azurelinux.3.amd64
44+
os: linux
45+
46+
# Renovate version used in the container image tag.
47+
- name: renovateVersion
48+
default: 43
49+
type: number
50+
51+
# Pool configuration for SDL analysis.
52+
- name: sdlPool
53+
type: object
54+
default:
55+
name: NetCore1ESPool-Internal
56+
image: 1es-windows-2022
57+
os: windows
58+
59+
resources:
60+
repositories:
61+
- repository: 1ESPipelineTemplates
62+
type: git
63+
name: 1ESPipelineTemplates/1ESPipelineTemplates
64+
ref: refs/tags/release
65+
66+
extends:
67+
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
68+
parameters:
69+
pool: ${{ parameters.pool }}
70+
sdl:
71+
sourceAnalysisPool: ${{ parameters.sdlPool }}
72+
containers:
73+
RenovateContainer:
74+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-renovate-${{ parameters.renovateVersion }}-amd64
75+
stages:
76+
- stage: Renovate
77+
displayName: Run Renovate
78+
jobs:
79+
- template: /eng/common/core-templates/job/renovate.yml@self
80+
parameters:
81+
renovateConfigPath: ${{ parameters.renovateConfigPath }}
82+
gitHubRepo: ${{ parameters.gitHubRepo }}
83+
baseBranches: ${{ parameters.baseBranches }}
84+
dryRun: ${{ parameters.dryRun }}
85+
forceRecreatePR: ${{ parameters.forceRecreatePR }}
86+
pool: ${{ parameters.pool }}

eng/common/native/install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ case "$os" in
3333
elif [ "$ID" = "amzn" ]; then
3434
dnf install -y cmake llvm lld lldb clang python libicu-devel openssl-devel krb5-devel lttng-ust-devel pigz cpio ninja-build
3535
elif [ "$ID" = "alpine" ]; then
36-
apk add build-base cmake bash curl clang llvm-dev lld lldb krb5-dev lttng-ust-dev icu-dev openssl-dev pigz cpio ninja
36+
apk add build-base cmake bash curl clang llvm llvm-dev lld lldb-dev krb5-dev lttng-ust-dev icu-dev openssl-dev pigz cpio ninja
3737
else
3838
echo "Unsupported distro. distro: $ID"
3939
exit 1

eng/common/renovate.env

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Renovate Global Configuration
2+
# https://docs.renovatebot.com/self-hosted-configuration/
3+
#
4+
# NOTE: This file uses bash/shell format and is sourced via `. renovate.env`.
5+
# Values containing spaces or special characters must be quoted.
6+
7+
# Author to use for git commits made by Renovate
8+
# https://docs.renovatebot.com/configuration-options/#gitauthor
9+
export RENOVATE_GIT_AUTHOR='.NET Renovate <dotnet-renovate-bot@microsoft.com>'
10+
11+
# Disable rate limiting for PR creation (0 = unlimited)
12+
# https://docs.renovatebot.com/presets-default/#prhourlylimitnone
13+
# https://docs.renovatebot.com/presets-default/#prconcurrentlimitnone
14+
export RENOVATE_PR_HOURLY_LIMIT=0
15+
export RENOVATE_PR_CONCURRENT_LIMIT=0
16+
17+
# Skip the onboarding PR that Renovate normally creates for new repos
18+
# https://docs.renovatebot.com/config-overview/#onboarding
19+
export RENOVATE_ONBOARDING=false
20+
21+
# Any Renovate config file in the cloned repository is ignored. Only
22+
# the Renovate config file from the repo where the pipeline is running
23+
# is used (yes, those are the same repo but the sources may be different).
24+
# https://docs.renovatebot.com/self-hosted-configuration/#requireconfig
25+
export RENOVATE_REQUIRE_CONFIG=ignored
26+
27+
# Customize the PR body content. This removes some of the default
28+
# sections that aren't relevant in a self-hosted config.
29+
# https://docs.renovatebot.com/configuration-options/#prheader
30+
# https://docs.renovatebot.com/configuration-options/#prbodynotes
31+
# https://docs.renovatebot.com/configuration-options/#prbodytemplate
32+
export RENOVATE_PR_HEADER='## Automated Dependency Update'
33+
export RENOVATE_PR_BODY_NOTES='["This PR has been created automatically by the [.NET Renovate Bot](https://github.com/dotnet/arcade/blob/main/Documentation/Renovate.md) to update one or more dependencies in your repo. Please review the changes and merge the PR if everything looks good."]'
34+
export RENOVATE_PR_BODY_TEMPLATE='{{{header}}}{{{table}}}{{{warnings}}}{{{notes}}}{{{changelogs}}}'
35+
36+
# Extend the global config with additional presets
37+
# https://docs.renovatebot.com/self-hosted-configuration/#globalextends
38+
# Disable the Dependency Dashboard issue that tracks all updates
39+
export RENOVATE_GLOBAL_EXTENDS='[":disableDependencyDashboard"]'

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dotnet": "11.0.100-preview.1.26104.118"
1414
},
1515
"msbuild-sdks": {
16-
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26122.1",
16+
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26127.1",
1717
"Microsoft.Build.Traversal": "3.4.0"
1818
}
1919
}

0 commit comments

Comments
 (0)