Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions .github/workflows/AzLocal.UpdateManagement-pester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,22 @@ name: AzLocal.UpdateManagement - Pester
# Cost mitigation: path-filtered to AzLocal.UpdateManagement/** only, and only
# fires on the three useful PR activities (opened, synchronize, reopened).

# DISABLED: automatic CI triggers are commented out because the Pester suite is
# run locally before every push (see AzLocal.UpdateManagement/Tests/Invoke-Tests.ps1).
# To re-enable hosted CI, uncomment the pull_request + push blocks below.
# workflow_dispatch is kept so the workflow remains valid (GitHub requires at
# least one trigger) and can still be run on demand from the Actions tab.
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'AzLocal.UpdateManagement/**'
- '.github/workflows/AzLocal.UpdateManagement-pester.yml'
push:
branches: [main]
paths:
- 'AzLocal.UpdateManagement/**'
- '.github/workflows/AzLocal.UpdateManagement-pester.yml'
# pull_request:
# types: [opened, synchronize, reopened]
# paths:
# - 'AzLocal.UpdateManagement/**'
# - '.github/workflows/AzLocal.UpdateManagement-pester.yml'
# push:
# branches: [main]
# paths:
# - 'AzLocal.UpdateManagement/**'
# - '.github/workflows/AzLocal.UpdateManagement-pester.yml'
workflow_dispatch:

concurrency:
Expand Down
78 changes: 47 additions & 31 deletions AzLocal.UpdateManagement/Automation-Pipeline-Examples/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# AZLOCAL-PIPELINE-ID: apply-updates-schedule-audit
# Setup: 03 - Apply-Updates Schedule Coverage Audit Pipeline
# Config: 03 - Apply-Updates Schedule Coverage Audit Pipeline
# This pipeline runs the read-only Test-AzLocalApplyUpdatesScheduleCoverage advisor
# weekly to detect drift between the cron schedule(s) in your apply-updates pipeline
# YAML and the UpdateStartWindow tags that operators have placed on Azure Local clusters.
Expand Down Expand Up @@ -87,7 +87,7 @@ parameters:
default: false

variables:
GENERATED_AGAINST_MODULE_VERSION: '0.8.85'
GENERATED_AGAINST_MODULE_VERSION: '0.8.86'
REQUIRED_MODULE_VERSION: '${{ parameters.moduleVersion }}'
reportsPath: '$(Build.ArtifactStagingDirectory)/reports'
# v0.8.7 sideload advisor defaults. Override at the pipeline / variable-group
Expand All @@ -98,7 +98,7 @@ variables:

stages:
- stage: ScheduleCoverage
displayName: 'Setup: 03 - Audit Apply-Updates Schedule Coverage'
displayName: 'Config: 03 - Audit Apply-Updates Schedule Coverage'
jobs:
- job: Audit
displayName: 'Run Schedule Coverage Advisor'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ variables:
# log if the YAML appears stale - prompting you to refresh via
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
- name: GENERATED_AGAINST_MODULE_VERSION
value: '0.8.85'
value: '0.8.86'
# Resolution order for the module version pin (leave all unset to install the latest,
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ variables:
# the version actually installed and to the latest on PSGallery, and emits a warning
# log if the YAML appears stale - prompting you to refresh via
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
GENERATED_AGAINST_MODULE_VERSION: '0.8.85'
GENERATED_AGAINST_MODULE_VERSION: '0.8.86'
# Resolution order for the module version pin (leave all unset to install the latest,
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ variables:
# the version actually installed and to the latest on PSGallery, and emits a warning
# log if the YAML appears stale - prompting you to refresh via
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
GENERATED_AGAINST_MODULE_VERSION: '0.8.85'
GENERATED_AGAINST_MODULE_VERSION: '0.8.86'
# Resolution order for the module version pin (leave all unset to install the latest,
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ variables:
# the version actually installed and to the latest on PSGallery, and emits a warning
# log if the YAML appears stale - prompting you to refresh via
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
GENERATED_AGAINST_MODULE_VERSION: '0.8.85'
GENERATED_AGAINST_MODULE_VERSION: '0.8.86'
# Resolution order for the module version pin (leave all unset to install the latest,
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ variables:
# the version actually installed and to the latest on PSGallery, and emits a warning
# log if the YAML appears stale - prompting you to refresh via
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
GENERATED_AGAINST_MODULE_VERSION: '0.8.85'
GENERATED_AGAINST_MODULE_VERSION: '0.8.86'
# Resolution order for the module version pin (leave all unset to install the latest,
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# AZLOCAL-PIPELINE-ID: manage-updatering-tags
# Setup: 02 - Manage UpdateRing Tags
# Config: 02 - Manage UpdateRing Tags
# This pipeline creates or updates UpdateRing tags on Azure Local clusters from a CSV file
#
# WORKFLOW:
Expand Down Expand Up @@ -46,7 +46,7 @@ variables:
# log if the YAML appears stale - prompting you to refresh via
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
- name: GENERATED_AGAINST_MODULE_VERSION
value: '0.8.85'
value: '0.8.86'
# Resolution order for the module version pin (leave all unset to install the latest,
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).
Expand All @@ -58,7 +58,7 @@ pool:

stages:
- stage: ManageTags
displayName: 'Setup: 02 - Manage UpdateRing Tags'
displayName: 'Config: 02 - Manage UpdateRing Tags'
jobs:
- job: ApplyTags
displayName: 'Apply UpdateRing Tags'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ parameters:
default: ''

variables:
GENERATED_AGAINST_MODULE_VERSION: '0.8.85'
GENERATED_AGAINST_MODULE_VERSION: '0.8.86'
REQUIRED_MODULE_VERSION: '${{ parameters.moduleVersion }}'
reportsPath: '$(Build.ArtifactStagingDirectory)/reports'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# AZLOCAL-PIPELINE-ID: setup-validate-and-inventory
# Setup: 01 - Validate Auth and Inventory Azure Local Clusters
# Config: 01 - Validate Auth and Inventory Azure Local Clusters
#
# PURPOSE:
# This is the first step in the setup workflow. It combines two operations:
Expand Down Expand Up @@ -41,11 +41,11 @@
# cluster-inventory (ClusterUpdateRings.csv + .json + README_Instructions.txt).
#
# HOW TO RUN (after the file is committed and the pipeline is imported):
# Pipelines -> Setup: 01 - Validate Auth and Inventory Clusters -> Run pipeline.
# Pipelines -> Config: 01 - Validate Auth and Inventory Clusters -> Run pipeline.
#
# See Automation-Pipeline-Examples/README.md, section 5, for the full setup story.

name: 'Setup: 01 - Validate Auth and Inventory Clusters'
name: 'Config: 01 - Validate Auth and Inventory Clusters'

# BEGIN-AZLOCAL-CUSTOMIZE:schedule-triggers
# Add or modify `schedules:` blocks here to enable cron-driven runs. Content
Expand Down Expand Up @@ -79,7 +79,7 @@ variables:
# log if the YAML appears stale - prompting you to refresh via
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
- name: GENERATED_AGAINST_MODULE_VERSION
value: '0.8.85'
value: '0.8.86'
# Resolution order for the module version pin (leave all unset to install the latest,
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).
Expand Down Expand Up @@ -155,7 +155,7 @@ stages:
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '$(Build.ArtifactStagingDirectory)/auth-report/auth-report.xml'
testRunTitle: '[JUnit Debug] Setup: 01 - Authentication Validation'
testRunTitle: '[JUnit Debug] Config: 01 - Authentication Validation'
failTaskOnFailedTests: false
mergeTestResults: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ variables:
# the version actually installed and to the latest on PSGallery, and emits a warning
# log if the YAML appears stale - prompting you to refresh via
# Copy-AzLocalPipelineExample -Update. See Automation-Pipeline-Examples/README.md section 5.
GENERATED_AGAINST_MODULE_VERSION: '0.8.85'
GENERATED_AGAINST_MODULE_VERSION: '0.8.86'
# Resolution order for the module version pin (leave all unset to install the latest,
# which is the default "fix-forward" behaviour): queue-time parameter > pipeline variable
# 'REQUIRED_MODULE_VERSION' overridden at queue time > empty (latest).
Expand Down
Loading