AzLocal.UpdateManagement v0.8.76: Step.6 sideload preflight (GH + ADO) on windows-latest + broaden master gate#82
Merged
Conversation
…) on windows-latest + broaden master gate to accept 'true'/'True'/'TRUE'/'1'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AzLocal.UpdateManagement v0.8.76 - Step.6 sideload preflight
Patch release. Adds a Microsoft-hosted Windows preflight job (GitHub Actions) / preflight stage (Azure DevOps) in front of the opt-in Step.6
sideload-updates.ymlpipeline. Before v0.8.76, triggering Step.6 without first completing the opt-in setup (master gateSIDELOAD_UPDATESnot set, or set without a self-hostedazlocal-sideloadrunner) producedStatus: Skippedwith no logs, no annotation, and no actionable feedback - operators had to read the YAML to understand why. v0.8.76 prepends apreflightjob (runs-on: windows-latest, ~10s, no Azure access) that ALWAYS runs and writes a clear panel to the run step summary explaining what is set, what is missing, and how to enable Step.6. Also broadens the master gate to accept'true'/'True'/'TRUE'/'1'(was strict-literal'true'only).No public API change or new exports (still 60).
What changed
New (GitHub Actions
sideload-updates.yml)preflightjob onruns-on: windows-latestwithpermissions: actions: read, contents: read. The job always runs (noif:gate).::noticeannotation + full enablement walkthrough in the step summary.SIDELOAD_STATE_ROOTmissing -> fails (::error, exit 1) with a missing-variable panel.azlocal-sideloadrunner -> fails with a no-online-runner panel.GITHUB_TOKENlacks admin) -> succeeds with a manual-verification warning.Preflight passedpanel.sideloadjob gainsneeds: preflightso it cannot queue indefinitely when prerequisites are missing.New (Azure DevOps
sideload-updates.yml)Preflightstage onpool: vmImage: windows-latest. Validates the gate +SIDELOAD_STATE_ROOT; uploads the markdown panel via##vso[task.uploadsummary].Agent Pools (read)scope is not normally granted to the pipeline identity).Sideloadstage gainsdependsOn: Preflight.Changed
sideload-updates.ymlfiles acceptSIDELOAD_UPDATESin'true'/'True'/'TRUE'/'1'. GH usescontains(fromJSON('[\"true\",\"True\",\"TRUE\",\"1\"]'), vars.SIDELOAD_UPDATES); ADO uses anor(eq..., eq...)condition.Docs
Automation-Pipeline-Examples/docs/sideload.md- section 6 gate row updated to reflect the four accepted values, header note documents the preflight, new section 9 "Preflight (v0.8.76+)" with the full behaviour matrix and a rationale for why a Microsoft-hosted Windows runner is the right host for preflight.Pin
GENERATED_AGAINST_MODULE_VERSIONbumped from'0.8.75'to'0.8.76'across all bundled pipeline templates.Why
windows-latestfor preflightThe preflight does not touch the cluster fabric, Key Vault, or any Azure resource. It only reads workflow / pipeline variables, optionally queries the GH runners API with
GITHUB_TOKEN, and writes markdown to the step summary. There is no domain-membership or VLAN-reachability requirement, sowindows-latestis the correct minimal-cost host (~10s) and aligns with every other pipeline in the suite. Thesideloadjob itself still requires the on-prem self-hosted runner with theazlocal-sideloadlabel - that part has not changed.Tests
sideload-updates.ymlfiles contain the preflight job/stage onwindows-latest, theneeds: preflight/dependsOn: Preflightgate, the runner-enumeration permissions (GH), the##vso[task.uploadsummary]panel (ADO), and the broadened gate values.See CHANGELOG.md and README.md "What's New in v0.8.76" for the full entry.