Skip to content

RHELMISC-34338: queuetest: allow assigning multiple machines to HLK roles via JSON - #81

Merged
kostyanf14 merged 1 commit into
HCK-CI:masterfrom
elizashurov:RHELMISC-34338
Sep 22, 2026
Merged

kostyanf14 merged 1 commit into
HCK-CI:masterfrom
elizashurov:RHELMISC-34338

Conversation

@elizashurov

Copy link
Copy Markdown
Contributor

The sup parameter now accepts a JSON object that maps role names to machine lists instead of a single machine name. This allows tests with multiple roles (e.g. MC, SC) to each get their own machine. Roles not specified in the JSON fall back to the primary test machine.

…oles via JSON

The -sup parameter now accepts a JSON object that maps role names to
machine lists instead of a single machine name. This allows tests with
multiple roles (e.g. MC, SC) to each get their own machine. Roles not
specified in the JSON fall back to the primary test machine.

Signed-off-by: Elizabeth Ashurov <eashurov@redhat.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the queuetest function in tools/toolsHCK.ps1 to allow the -sup parameter to accept a JSON object mapping HLK role names to arrays of machine names, replacing the previous single-machine string behavior. The reviewer recommended addressing backward compatibility for cases where a plain machine name is still passed, and suggested using more idiomatic PowerShell dynamic member access instead of verbose .PSObject.Properties syntax.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread tools/toolsHCK.ps1
@kostyanf14
kostyanf14 merged commit 813c831 into HCK-CI:master Sep 22, 2026
1 check passed
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.

3 participants