Commit b3cabe8
committed
.sync: Fix Mu DevOps version in Mu workflows
Project Mu repos have "leaf" workflows. These are workflow files
that wrap around reusable workflows in mu_devops.
Currently, a leaf workflow uses the reusable workflow from the latest
commit in `mu_devops/main`.
This means the version of mu_devops is "floating" in that the leaf
workflows immediately pick up the latest change. To improve build
traceability and stability, this change moves the "leaf" workflow
files to use fixed/release versions of content in the mu_devops repo.
This change updates all leaf workflow files to use the version
specified in one place - `.sync/Version.njk`. That version will be
substituted in the leaf workflow file during the file sync process to
downstream repos.
Example flow:
1. Make a new Mu DevOps release (e.g. "v1.0.0")
2. Update `.sync/Version.njk` to set `mu_devops` to `"v1.0.0"`
Step (2) causes the following automated actions to take place after
the change is merged into `mu_devops/main`:
1. All sync files (e.g. a leaf workflow file) that depend on
this version get the new value substituted
2. All sync files with the substituted value are synced to their
respective repos (PRs created with the change)
3. After the PRs in those repos are merged, they use the new
version of Mu DevOps in their pipelines
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>1 parent 492de74 commit b3cabe8
4 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| 302 | + | |
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
| |||
319 | 321 | | |
320 | 322 | | |
321 | 323 | | |
| 324 | + | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
| |||
341 | 344 | | |
342 | 345 | | |
343 | 346 | | |
| 347 | + | |
344 | 348 | | |
345 | 349 | | |
346 | 350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
0 commit comments