Skip to content

chore: use renovate for waagent version, write to release notes, add log-checking e2e#8062

Open
mxj220 wants to merge 2 commits intomainfrom
markibrahim/waagent-github-release
Open

chore: use renovate for waagent version, write to release notes, add log-checking e2e#8062
mxj220 wants to merge 2 commits intomainfrom
markibrahim/waagent-github-release

Conversation

@mxj220
Copy link
Contributor

@mxj220 mxj220 commented Mar 10, 2026

What this PR does / why we need it:

  • use renovate to track waagent version
  • write to release notes
  • add log-checking e2e

Which issue(s) this PR fixes:

Fixes #

Copilot AI review requested due to automatic review settings March 10, 2026 21:35
@github-actions github-actions bot added the components This pull request updates cached components on Linux or Windows VHDs label Mar 10, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR moves WALinuxAgent (waagent) version tracking into parts/common/components.json (so Renovate can update it), logs the installed waagent version into the VHD release notes, and adds an e2e validator that inspects /var/log/waagent.log to confirm expected behavior/version.

Changes:

  • Add a walinuxagent package entry to parts/common/components.json and configure Renovate to update github-releases= tags.
  • Update the post-deprovision waagent install flow to read the target version from components.json, pass it into the installer, and append it to vhd-install.complete.
  • Add a new e2e validator (ValidateWaagentLog) and wire it into the common Linux validation flow.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
vhdbuilder/packer/test/linux-vhd-content-test.sh Updates test commentary around waagent installation expectations.
vhdbuilder/packer/post-deprovision-walinuxagent.sh Reads waagent version from /opt/azure/components.json, passes it to the installer, and logs to VHD release notes.
vhdbuilder/packer/install_walinuxagent.py Changes installer to accept an explicit version argument (from components.json) instead of deriving version from GAFamily.
parts/common/components.json Adds walinuxagent entry with Renovate tag targeting GitHub releases.
e2e/validators.go Adds ValidateWaagentLog validator that checks waagent logs for expected behavior/version.
e2e/validation.go Runs ValidateWaagentLog as part of ValidateCommonLinux.
.github/renovate.json Adds a custom Renovate regex manager for github-releases= renovateTag entries in components.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

components This pull request updates cached components on Linux or Windows VHDs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants