Skip to content

Commit 201524f

Browse files
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 remain
1 parent d384706 commit 201524f

27 files changed

Lines changed: 147 additions & 75 deletions

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.0_authentication-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ variables:
5959
# log if the YAML appears stale - prompting you to refresh via
6060
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
6161
- name: GENERATED_AGAINST_MODULE_VERSION
62-
value: '0.8.0'
62+
value: '0.8.1'
6363
# Resolution order for the module version pin (leave all unset to install the latest,
6464
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
6565
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.1_inventory-clusters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ variables:
4242
# log if the YAML appears stale - prompting you to refresh via
4343
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
4444
- name: GENERATED_AGAINST_MODULE_VERSION
45-
value: '0.8.0'
45+
value: '0.8.1'
4646
# Resolution order for the module version pin (leave all unset to install the latest,
4747
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
4848
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.2_manage-updatering-tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ variables:
4545
# log if the YAML appears stale - prompting you to refresh via
4646
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
4747
- name: GENERATED_AGAINST_MODULE_VERSION
48-
value: '0.8.0'
48+
value: '0.8.1'
4949
# Resolution order for the module version pin (leave all unset to install the latest,
5050
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
5151
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.3_apply-updates-schedule-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ parameters:
8181
default: false
8282

8383
variables:
84-
GENERATED_AGAINST_MODULE_VERSION: '0.8.0'
84+
GENERATED_AGAINST_MODULE_VERSION: '0.8.1'
8585
REQUIRED_MODULE_VERSION: '${{ parameters.moduleVersion }}'
8686
reportsPath: '$(Build.ArtifactStagingDirectory)/reports'
8787

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.4_fleet-connectivity-status.yml

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

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.5_assess-update-readiness.yml

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

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.6_apply-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ variables:
9898
# log if the YAML appears stale - prompting you to refresh via
9999
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
100100
- name: GENERATED_AGAINST_MODULE_VERSION
101-
value: '0.8.0'
101+
value: '0.8.1'
102102
# Resolution order for the module version pin (leave all unset to install the latest,
103103
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
104104
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.7_monitor-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ parameters:
8383
default: ''
8484

8585
variables:
86-
GENERATED_AGAINST_MODULE_VERSION: '0.8.0'
86+
GENERATED_AGAINST_MODULE_VERSION: '0.8.1'
8787
REQUIRED_MODULE_VERSION: '${{ parameters.moduleVersion }}'
8888
reportsPath: '$(Build.ArtifactStagingDirectory)/reports'
8989

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.8_fleet-update-status.yml

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

AzLocal.UpdateManagement/Automation-Pipeline-Examples/azure-devops/Step.9_fleet-health-status.yml

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

0 commit comments

Comments
 (0)