You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add readme steps on how to validate external packages within a full source-build (#1448)
* Add readme steps on how to validate external packages within a full source-build
* Apply suggestion from @mthalman
Co-authored-by: Matt Thalman <[email protected]>
* Apply suggestion from @mthalman
Co-authored-by: Matt Thalman <[email protected]>
---------
Co-authored-by: Matt Thalman <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,12 @@ to .NET. The following sections describe how to add/upgrade the various types of
66
66
67
67
1. If the original binaries have strong name signatures, validate the source built ones have them as well.
68
68
69
+
1. Open a PR.
70
+
71
+
1. Trigger a full source build within the VMR from your PR by adding a `/azp run source-build-reference-packages-unified-build` comment.
72
+
This will validate the new external will build without adding prebuilts.
73
+
It will also ensure the external does not contain prohibited checked-in binaries.
74
+
69
75
#### Updating an External Component to a Newer Version
70
76
71
77
1. Update the `./src/externalPackages/src/<external_repo_dir>` to the desired sha
@@ -94,6 +100,12 @@ to .NET. The following sections describe how to add/upgrade the various types of
94
100
1. Validate the version of the NuGet packages and binaries produced by the build.
95
101
See the contents of `./artifacts/packages/<build_configuration>/Shipping`.
96
102
103
+
1. Open a PR.
104
+
105
+
1. Trigger a full source build within the VMR from your PR by adding a `/azp run source-build-reference-packages-unified-build` comment.
106
+
This will validate the new version will build without adding prebuilts.
107
+
It will also ensure the new version does not contain prohibited checked-in binaries.
108
+
97
109
1. After the PR is merged to update a component, coordination is often needed in the darc dependency flows.
98
110
The source-build-reference-packages source may need to flow in at the same time as the cooresponding changes in product repos which take a dependency on the new component version.
99
111
Sometimes it can be easier to add the new upgraded version along side the older version and then delete the old version after all product repos have been upgraded to the new version.
0 commit comments