Skip to content

Commit 4e09cc8

Browse files
authored
[0.74] Changes to PR, CI, and Release pipelines (#15878)
* [0.74] Changes to PR, CI, and Release pipelines * Update packages.lock files * Change files * Fix package name * Change files * New release-pipeline.yml file (#15881) * Disable CodeQL in Setup job (#15882) * Fix linter issues * Update packages lock files * Address Fabric packages.lock issues * Fix pipeline issues * Change files * Suppress the nuget lock file drift * Fix Appx activation
1 parent 5f1a14a commit 4e09cc8

File tree

69 files changed

+2216
-2325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2216
-2325
lines changed

.ado/build-template.yml

Lines changed: 707 additions & 0 deletions
Large diffs are not rendered by default.

.ado/ci-pipeline.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# The CI pipeline entry point.
3+
# Extends build-template.yml with buildEnvironment: Continuous for signed Official builds.
4+
#
5+
6+
name: 0.0.$(Date:yyMM.d)$(Rev:rrr)
7+
8+
trigger: none
9+
pr: none
10+
11+
parameters:
12+
- name: isReleaseBuild
13+
displayName: 'Treat as Release build (skip beachball, use committed versions)'
14+
type: string
15+
default: auto
16+
values:
17+
- auto
18+
- 'true'
19+
- 'false'
20+
21+
variables:
22+
- template: variables/windows.yml
23+
- group: RNW Secrets
24+
25+
extends:
26+
template: build-template.yml@self
27+
parameters:
28+
buildEnvironment: Continuous
29+
isReleaseBuild: ${{ parameters.isReleaseBuild }}

.ado/compliance.yml

Lines changed: 0 additions & 105 deletions
This file was deleted.

.ado/continuous.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.ado/integrate-rn.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
displayName: yarn integrate-rn
3434
continueOnError: true
3535

36-
- powershell: |
36+
- pwsh: |
3737
if (!(Test-Path "$(Agent.TempDirectory)\integration-report.md")) {
3838
dir "$(Agent.TempDirectory)"
3939
throw "No integration report generated"
@@ -43,7 +43,7 @@ jobs:
4343
}
4444
displayName: Test for changes
4545
46-
- powershell: |
46+
- pwsh: |
4747
$reportWithHeader = "${{ parameters.commitTitle}}`n`n" + (Get-Content -Raw $(Agent.TempDirectory)\integration-report.md)
4848
# Trim to max GitHub PR length
4949
$trimmedReport = $reportWithHeader.substring(0, [math]::min(65536, $reportWithHeader.length))
@@ -55,12 +55,12 @@ jobs:
5555
git commit -F $(Agent.TempDirectory)\commit-message.md
5656
displayName: Commit changes
5757
58-
- powershell: |
58+
- pwsh: |
5959
$commitHash = git log --format=%H -n 1
6060
Write-Output "##vso[task.setvariable variable=FirstCommit]$commitHash"
6161
displayName: Save base commit
6262
63-
- powershell: |
63+
- pwsh: |
6464
$patchScope = node -e "
6565
const path = require('path');
6666
const {enumerateRepoPackages} = require('@react-native-windows/package-utils');
@@ -72,7 +72,7 @@ jobs:
7272
yarn change --scope @($patchScope.split(',')) --message "${{ parameters.commitTitle}}" --type patch
7373
displayName: Create patch changefiles
7474
75-
- powershell: |
75+
- pwsh: |
7676
$prereleaseScope = node -e "
7777
const path = require('path');
7878
const {enumerateRepoPackages} = require('@react-native-windows/package-utils');
@@ -93,7 +93,7 @@ jobs:
9393
- script: git push origin integrate-${{ parameters.reactNativeVersion }}
9494
displayName: Push changes
9595

96-
- powershell: |
96+
- pwsh: |
9797
$headers = @{'Accept'='application/vnd.github.v3+json'; 'Authorization'='Token $(githubAuthToken)'}
9898
$body = '{"head": "integrate-${{ parameters.reactNativeVersion }}", "base": "main", "title": "${{ parameters.commitTitle}}"}'
9999
Invoke-WebRequest -Method Post -Headers $headers -Body $body https://api.github.com/repos/microsoft/react-native-windows/pulls

0 commit comments

Comments
 (0)