Skip to content

Commit cf1505e

Browse files
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]>
1 parent c3b9d45 commit cf1505e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ to .NET. The following sections describe how to add/upgrade the various types of
6666

6767
1. If the original binaries have strong name signatures, validate the source built ones have them as well.
6868

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+
6975
#### Updating an External Component to a Newer Version
7076

7177
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
94100
1. Validate the version of the NuGet packages and binaries produced by the build.
95101
See the contents of `./artifacts/packages/<build_configuration>/Shipping`.
96102
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+
97109
1. After the PR is merged to update a component, coordination is often needed in the darc dependency flows.
98110
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.
99111
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

Comments
 (0)