Commit 7ce9048
authored
AzLocal.UpdateManagement v0.8.74 - consistent 'Up to Date' classification, No-Clusters-Ready breakdown, deep-tree Progress column, step-summary hyperlink tidy-up (#80)
* apply-updates.yml: move schedule-path author guidance OUTSIDE schedule-triggers marker (GH+ADO)
The schedule-triggers AZLOCAL-CUSTOMIZE marker wrapped ~30 lines of author guidance (incl. the New-AzLocalApplyUpdatesScheduleConfig -OutputPath example and the default-path note). Update-AzLocalPipelineExample preserves the marker BODY from the customer's file, so author corrections inside the marker (e.g. the v0.8.71 .github -> config path fix) never reach an already-deployed consumer. Moved all guidance above the BEGIN marker; marker body now holds only the trigger directive (GH placeholder comment / ADO 'trigger: none'). Queued for next version bump.
* pipelines: zero-pad single-digit Step.N display names to two digits (Step.0 -> Step.00 ... Step.9 -> Step.09)
Queued for 0.8.72 (no version bump). The GitHub Actions sidebar and ADO
pipelines list sort workflows alphabetically by their display name, so
Step.10 lexically sorted between Step.1 and Step.2. Zero-padding the
single-digit step numbers makes Step.10 sort last as intended.
Scope (display/title text only, fully reversible):
- GitHub Actions workflow `name:` fields (10 files; Step.10 unchanged)
- Azure DevOps `name:` / stage `displayName:` Step.N labels
- Header-comment titles (`# Step.N - ...`) on both platforms
- One ADO "HOW TO RUN" prose line tracking its renamed display name
Left unchanged: artifact names (azlocal-step.N-* functional identifiers)
and cross-reference prose (e.g. "Step.9 / Step.10 wiring").
* AzLocal.UpdateManagement v0.8.72 - pipeline-template polish (patch)
Patch release. No module code, API, or export-count change (60 exports).
Bundles the two pipeline-template improvements committed on this branch
since v0.8.71:
Fixed
- apply-updates.yml (GH + ADO): moved the schedule-path author guidance
(incl. the New-AzLocalApplyUpdatesScheduleConfig -OutputPath example and
the default-path note) OUTSIDE the schedule-triggers AZLOCAL-CUSTOMIZE
marker. Update-AzLocalPipelineExample preserves the marker body from the
customer's file, so guidance corrections inside the marker never reached
already-deployed consumers. Guidance now lives above the BEGIN marker.
Changed
- Zero-padded single-digit Step.N pipeline display names to two digits
(Step.0 -> Step.00 ... Step.9 -> Step.09) so Step.10 sorts last in the
GitHub Actions sidebar / Azure DevOps pipelines list. Display/title text
only; artifact names and cross-reference prose unchanged.
- Bumped GENERATED_AGAINST_MODULE_VERSION pins 0.8.71 -> 0.8.72 across all
bundled pipeline YAMLs.
Version bump applied to psd1/psm1/CHANGELOG/README/Tests/docs.
* tests: record v0.8.72 wall-clock timing row (1145 tests, 96.82s wall, 0 failed)
* AzLocal.UpdateManagement v0.8.73 - cycle calendar: fold cluster counts inline into Eligible rings column
- Get-AzLocalApplyUpdatesScheduleCycleCalendar: when -ClusterRingCounts is supplied, relabel the
"Eligible rings" header to "Eligible rings (cluster count)" and append each ring's count inline
(e.g. `Prod` (9), `Canary` (3)); removed the separate "Clusters in ring(s)" column. Per-ring
projection table (-IncludePerRingSummary) keeps its standalone "Cluster count" column.
- Export-AzLocalApplyUpdatesScheduleAudit: build a ring -> tagged-cluster-count map from the cluster
CSV and forward it to the cycle-calendar cmdlet (the Step.3 render path never passed it before, so
inline counts were silently absent from production output).
- Tests: updated header/cell assertions for the inline format; added a TOC regression guard that the
README lists exactly one top-level "What's New" entry (current release only).
- README TOC: removed stale "What's New in v0.8.7" / "v0.8.4" entries; prior versions live under
Release History.
- Version bump 0.8.72 -> 0.8.73 across psd1/psm1/CHANGELOG/README/tests/docs and all bundled pipeline
YAML GENERATED_AGAINST_MODULE_VERSION pins.
* v0.8.74: consistent Up-to-Date classification + No-Clusters-Ready breakdown
Step.5/Step.7/Step.9 now classify a fully-patched cluster as "Up to Date" via the shared Get-AzLocalClusterReadinessStatus helper instead of implying failure. Step.7's "No Clusters Ready" summary (Add-AzLocalNoReadyClustersStepSummary) now accepts -UpToDateCount/-NotReadyCount and renders an Up-to-Date vs Not-Ready breakdown table, logs a notice (not a warning) when every cluster is already up to date, and points to the per-cluster Status/Blocking Reasons detail. Both apply-updates templates (GitHub Actions + Azure DevOps) wire the two counts through from the readiness gate.
Docs/manifest/changelog/release-history updated; all bundled pipeline templates bump GENERATED_AGAINST_MODULE_VERSION to 0.8.74. Full Pester suite: 1124 passed, 0 failed, 1 skipped.
* v0.8.74: deep-tree Progress column + step-summary hyperlink Tip across Step.7/8/10 emitters
Fixes the Progress column in the Step.7 in-flight monitor and the standalone
HTML "Recent Update Run History" report - both had been reporting the coarse
top-level wrapper count (typically 1/2 steps) for the entire multi-hour run
because Azure Local only exposes two top-level wrapper steps
(Prepare update + Start update) and Start update stays InProgress end-to-end.
Both paths now traverse the full nested step tree via a new private helper
(Get-AzLocalUpdateRunStepStats) and report leaf-step completion as
M/N steps (P%), optionally suffixed with ", K failed", matching how
CurrentStep already walks the tree via Get-DeepestActiveStep.
Also drops the dead target="_blank" / rel="noopener" portal-link attributes
from every step-summary anchor in Step.7 (Export-AzLocalUpdateRunMonitorReport),
Step.8 (Export-AzLocalFleetUpdateStatusReport) and Step.10
(Export-AzLocalFleetHealthStatusReport). The GitHub GFM step-summary sanitiser
(and the ADO equivalent) strips target entirely and forces rel="nofollow", so
the markdown source has been dead weight. All three emitters now render plain
<a href="...">name</a> and surface an operator tip above each affected table:
"Hold Ctrl (or Cmd on macOS) when clicking - or middle-click - Cluster or
Update links to open them in a new tab. (GitHub markdown strips
target=\"_blank\".)". The standalone HTML report
(New-AzLocalFleetStatusHtmlReport) is unaffected - it ships as a raw .html
artifact, not a step-summary, so its target="_blank" already works.
CHANGELOG, README, release-history, and module manifest ReleaseNotes (kept
under the 10,000-char PSGallery limit; older v0.8.7 entry trimmed to a single
line to make room) updated to describe both fixes. No public API or
export-count change (still 60). Full Pester suite green: 1133 passed,
0 failed, 1 skipped (pre-existing).1 parent fe25948 commit 7ce9048
40 files changed
Lines changed: 1076 additions & 180 deletions
File tree
- AzLocal.UpdateManagement
- Automation-Pipeline-Examples
- azure-devops
- docs
- github-actions
- Private
- Public
- Tests
- docs
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
514 | 519 | | |
515 | 520 | | |
516 | 521 | | |
| |||
542 | 547 | | |
543 | 548 | | |
544 | 549 | | |
545 | | - | |
| 550 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments