Skip to content

ci: fix node-manager upgrade image verification (backport #223) - #225

Merged
brandboat merged 1 commit into
v1.8from
mergify/bp/v1.8/pr-223
Aug 24, 2026
Merged

brandboat merged 1 commit into
v1.8from
mergify/bp/v1.8/pr-223

Conversation

@mergify

@mergify mergify Bot commented Aug 24, 2026

Copy link
Copy Markdown

CI failed with error

Image is non-equal, container: ttl.sh/node-manager-webhook-ab456dfcn1h, yaml file: ttl.sh/node-manager-ab456dfc

see https://github.com/harvester/node-manager/actions/runs/32698393724/job/97344850263?pr=222

The original check selected the first running pod whose name started with harvester-node-manager. This also matched harvester-node-manager-webhook pods, so the script could read the webhook container image but compare it against the node-manager image override.

And the script also used tr ":" \n, which replaced the colon with a literal n and made the logged image look like
ttl.sh/node-manager-webhook-ab456dfcn1h, but it should be ttl.sh/node-manager-webhook-ab456dfc.

Fix this by checking the exact workloads instead of selecting a pod by prefix. The script now reads the node-manager image from the DaemonSet and the webhook image from the webhook Deployment, then compares each one against its matching full repository:tag value from the override file.


This is an automatic backport of pull request #223 done by Mergify.

Signed-off-by: Cooper Tseng <cooper.tseng@suse.com>
(cherry picked from commit 0faa7ba)
@mergify

mergify Bot commented Aug 24, 2026

Copy link
Copy Markdown
Author

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@brandboat
brandboat merged commit b07343b into v1.8 Aug 24, 2026
7 checks passed
@brandboat
brandboat deleted the mergify/bp/v1.8/pr-223 branch August 24, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant