Skip to content

Commit 5eee922

Browse files
authored
AzLocal.UpdateManagement v0.8.72 - pipeline-template polish (patch) (#78)
* 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)
1 parent e2c947d commit 5eee922

29 files changed

Lines changed: 102 additions & 68 deletions

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/apply-updates-schedule-audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AZLOCAL-PIPELINE-ID: apply-updates-schedule-audit
2-
# Step.3 - Apply-Updates Schedule Coverage Audit Pipeline
2+
# Step.03 - Apply-Updates Schedule Coverage Audit Pipeline
33
# This pipeline runs the read-only Test-AzLocalApplyUpdatesScheduleCoverage advisor
44
# weekly to detect drift between the cron schedule(s) in your apply-updates pipeline
55
# YAML and the UpdateStartWindow tags that operators have placed on Azure Local clusters.
@@ -87,7 +87,7 @@ parameters:
8787
default: false
8888

8989
variables:
90-
GENERATED_AGAINST_MODULE_VERSION: '0.8.71'
90+
GENERATED_AGAINST_MODULE_VERSION: '0.8.72'
9191
REQUIRED_MODULE_VERSION: '${{ parameters.moduleVersion }}'
9292
reportsPath: '$(Build.ArtifactStagingDirectory)/reports'
9393
# v0.8.7 sideload advisor defaults. Override at the pipeline / variable-group

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/apply-updates.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# AZLOCAL-PIPELINE-ID: apply-updates
2-
# Step.7 - Apply Updates to Azure Local Clusters
2+
# Step.07 - Apply Updates to Azure Local Clusters
33
# This pipeline applies updates to clusters filtered by UpdateRing tag value
44

5-
# BEGIN-AZLOCAL-CUSTOMIZE:schedule-triggers
5+
# Author guidance lives OUTSIDE the customise markers so module refreshes
6+
# (Update-AzLocalPipelineExample) can correct it; only the trigger directive
7+
# between the markers is preserved verbatim across module upgrades.
8+
#
69
# PREFERRED PATTERN - drive automated update runs from a ring-aware
710
# schedule file (config/apply-updates-schedule.yml by default),
811
# not from per-window crons.
@@ -39,8 +42,10 @@
3942
# include: [main]
4043
# always: true
4144
#
42-
# Content between BEGIN/END markers is preserved by
43-
# Update-AzLocalPipelineExample across module upgrades.
45+
# Replace `trigger: none` between the BEGIN/END markers below with your
46+
# schedules: block. That region (and ONLY that region) is preserved verbatim
47+
# by Update-AzLocalPipelineExample across module upgrades.
48+
# BEGIN-AZLOCAL-CUSTOMIZE:schedule-triggers
4449
trigger: none
4550
# END-AZLOCAL-CUSTOMIZE:schedule-triggers
4651

@@ -115,7 +120,7 @@ variables:
115120
# log if the YAML appears stale - prompting you to refresh via
116121
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
117122
- name: GENERATED_AGAINST_MODULE_VERSION
118-
value: '0.8.71'
123+
value: '0.8.72'
119124
# Resolution order for the module version pin (leave all unset to install the latest,
120125
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
121126
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/assess-update-readiness.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AZLOCAL-PIPELINE-ID: assess-update-readiness
2-
# Step.5 - Assess Update Readiness (Pre-flight go/no-go gate)
2+
# Step.05 - Assess Update Readiness (Pre-flight go/no-go gate)
33
# --------------------------------------------------
44
# Runs Get-AzLocalClusterUpdateReadiness and Test-AzLocalClusterHealth -BlockingOnly
55
# against a target UpdateRing (or the whole fleet) BEFORE apply-updates.yml runs.
@@ -70,7 +70,7 @@ variables:
7070
# the version actually installed and to the latest on PSGallery, and emits a warning
7171
# log if the YAML appears stale - prompting you to refresh via
7272
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
73-
GENERATED_AGAINST_MODULE_VERSION: '0.8.71'
73+
GENERATED_AGAINST_MODULE_VERSION: '0.8.72'
7474
# Resolution order for the module version pin (leave all unset to install the latest,
7575
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
7676
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/authentication-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AZLOCAL-PIPELINE-ID: authentication-test
2-
# Step.0 - Authentication Validation and Subscription Scope Report
2+
# Step.00 - Authentication Validation and Subscription Scope Report
33
#
44
# PURPOSE:
55
# Validates that the service connection (Workload Identity Federation), App Registration,
@@ -35,11 +35,11 @@
3535
# - Pipeline artifact (auth-report) containing JUnit XML + subscriptions.json + .csv.
3636
#
3737
# HOW TO RUN (after the file is committed and the pipeline is imported):
38-
# Pipelines -> Step.0 - Authentication Validation and Subscription Scope Report -> Run pipeline.
38+
# Pipelines -> Step.00 - Authentication Validation and Subscription Scope Report -> Run pipeline.
3939
#
4040
# See Automation-Pipeline-Examples/README.md, section 5.2, for the full setup story.
4141

42-
name: Step.0 - Authentication Validation and Subscription Scope Report
42+
name: Step.00 - Authentication Validation and Subscription Scope Report
4343

4444
# BEGIN-AZLOCAL-CUSTOMIZE:schedule-triggers
4545
# Add or modify `schedules:` blocks here to enable cron-driven runs. Content
@@ -60,7 +60,7 @@ variables:
6060
# log if the YAML appears stale - prompting you to refresh via
6161
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
6262
- name: GENERATED_AGAINST_MODULE_VERSION
63-
value: '0.8.71'
63+
value: '0.8.72'
6464
# Resolution order for the module version pin (leave all unset to install the latest,
6565
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
6666
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/fleet-connectivity-status.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AZLOCAL-PIPELINE-ID: fleet-connectivity-status
2-
# Step.4 - Fleet Connectivity Status Monitoring Pipeline
2+
# Step.04 - Fleet Connectivity Status Monitoring Pipeline
33
# This pipeline surfaces network-connectivity issues across every Azure Local
44
# cluster the service connection can read - four scopes in one pipeline:
55
#
@@ -49,7 +49,7 @@
4949

5050
# Pipeline display name carries the same Step.N - prefix as the filename so the
5151
# ADO pipelines list (sorts by `name:` field) lists pipelines in execution order.
52-
name: Step.4 - Fleet Connectivity Status
52+
name: Step.04 - Fleet Connectivity Status
5353

5454
# BEGIN-AZLOCAL-CUSTOMIZE:schedule-triggers
5555
# Edits inside this block are preserved across Update-AzLocalPipelineExample
@@ -110,7 +110,7 @@ variables:
110110
# the version actually installed and to the latest on PSGallery, and emits a warning
111111
# log if the YAML appears stale - prompting you to refresh via
112112
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
113-
GENERATED_AGAINST_MODULE_VERSION: '0.8.71'
113+
GENERATED_AGAINST_MODULE_VERSION: '0.8.72'
114114
# Resolution order for the module version pin (leave all unset to install the latest,
115115
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
116116
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/fleet-health-status.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ variables:
105105
# the version actually installed and to the latest on PSGallery, and emits a warning
106106
# log if the YAML appears stale - prompting you to refresh via
107107
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
108-
GENERATED_AGAINST_MODULE_VERSION: '0.8.71'
108+
GENERATED_AGAINST_MODULE_VERSION: '0.8.72'
109109
# Resolution order for the module version pin (leave all unset to install the latest,
110110
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
111111
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/fleet-update-status.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AZLOCAL-PIPELINE-ID: fleet-update-status
2-
# Step.9 - Fleet Update Status Monitoring Pipeline
2+
# Step.09 - Fleet Update Status Monitoring Pipeline
33
# This pipeline monitors update status across all Azure Local clusters and generates reports
44
#
55
# USE CASES:
@@ -93,7 +93,7 @@ variables:
9393
# the version actually installed and to the latest on PSGallery, and emits a warning
9494
# log if the YAML appears stale - prompting you to refresh via
9595
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
96-
GENERATED_AGAINST_MODULE_VERSION: '0.8.71'
96+
GENERATED_AGAINST_MODULE_VERSION: '0.8.72'
9797
# Resolution order for the module version pin (leave all unset to install the latest,
9898
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
9999
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/inventory-clusters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AZLOCAL-PIPELINE-ID: inventory-clusters
2-
# Step.1 - Inventory Azure Local Clusters
2+
# Step.01 - Inventory Azure Local Clusters
33
# This pipeline queries all Azure Local clusters and exports inventory with UpdateRing tag status
44
#
55
# OUTPUT COLUMNS:
@@ -43,7 +43,7 @@ variables:
4343
# log if the YAML appears stale - prompting you to refresh via
4444
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
4545
- name: GENERATED_AGAINST_MODULE_VERSION
46-
value: '0.8.71'
46+
value: '0.8.72'
4747
# Resolution order for the module version pin (leave all unset to install the latest,
4848
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
4949
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/manage-updatering-tags.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AZLOCAL-PIPELINE-ID: manage-updatering-tags
2-
# Step.2 - Manage UpdateRing Tags
2+
# Step.02 - Manage UpdateRing Tags
33
# This pipeline creates or updates UpdateRing tags on Azure Local clusters from a CSV file
44
#
55
# WORKFLOW:
@@ -46,7 +46,7 @@ variables:
4646
# log if the YAML appears stale - prompting you to refresh via
4747
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
4848
- name: GENERATED_AGAINST_MODULE_VERSION
49-
value: '0.8.71'
49+
value: '0.8.72'
5050
# Resolution order for the module version pin (leave all unset to install the latest,
5151
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
5252
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/monitor-updates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AZLOCAL-PIPELINE-ID: monitor-updates
2-
# Step.8 - Monitor In-Flight Updates (Azure DevOps)
2+
# Step.08 - Monitor In-Flight Updates (Azure DevOps)
33
# -----------------------------------------------------------
44
# Reports clusters whose latest update run is currently in flight, with the
55
# CURRENT STEP each cluster is on and the ELAPSED DURATION of the run. Built
@@ -84,7 +84,7 @@ parameters:
8484
default: ''
8585

8686
variables:
87-
GENERATED_AGAINST_MODULE_VERSION: '0.8.71'
87+
GENERATED_AGAINST_MODULE_VERSION: '0.8.72'
8888
REQUIRED_MODULE_VERSION: '${{ parameters.moduleVersion }}'
8989
reportsPath: '$(Build.ArtifactStagingDirectory)/reports'
9090

0 commit comments

Comments
 (0)