Commit 201524f
committed
v0.8.1: Test-AzLocalApplyUpdatesScheduleCoverage -View Recommend emits schedule-only GH snippet
Fixes a duplicate-key bug in the GH Actions snippet emitted by
Test-AzLocalApplyUpdatesScheduleCoverage -View Recommend. The previous
output included a full top-level "on:" + "workflow_dispatch:" block, which
caused a duplicate-key YAML error when operators pasted it into Step.6
(which already has its own on:/workflow_dispatch:). The Recommend output
now emits just the indented " schedule:" + cron list, ready to merge
under the existing on: key.
Changes
- Public/Test-AzLocalApplyUpdatesScheduleCoverage.ps1
* GH branch emits only " schedule:" + cron foreach (no on:/workflow_dispatch:)
* Prose updated with explicit "Do NOT add a second workflow_dispatch:" callout
- Tests/AzLocal.UpdateManagement.Tests.ps1
* AS7-AS10 switched from "(?m)^\s*schedule:\s*$" regex (which collided
with the embedded apply-updates-schedule.yml skeleton) to prose
discriminators: GH-only "Do NOT add a second", ADO-only "Add (or merge
with) a top-level", Both-mode "Choose the snippet matching your CI
platform"
* Version assertion bumped to 0.8.1
- Version bumps to 0.8.1 in psd1/psm1, 20 Step.*.yml GENERATED_AGAINST
pins, CHANGELOG.md, README.md, docs/release-history.md
- ReleaseNotes: v0.8.0 collapsed to one-line summary + URL to stay
within PSGallery 10000-char cap (9987/10000)
Verification
- Pester: 798 passed / 0 failed / 1 skipped (~1m 19s)
- 0 residual "0.8.0" GENERATED_AGAINST pins remain1 parent d384706 commit 201524f
27 files changed
Lines changed: 147 additions & 75 deletions
File tree
- AzLocal.UpdateManagement
- Automation-Pipeline-Examples
- azure-devops
- github-actions
- Public
- Tests
- docs
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments