Skip to content

Conversation

@chucklever
Copy link
Contributor

Get "separate builder" workflow working again.

A user can enable WORKFLOWS_TESTS alongside BOOTLINUX_BUILDER, which
prevents KDEVOPS_WORKFLOW_NAME from being set to "linux". This
causes the wrong hosts template to be selected, generating an
unusable hosts file.

Adding a dependency on !BOOTLINUX_BUILDER to WORKFLOWS_TESTS ensures
the two options are mutually exclusive.

Generated-by: Claude AI
Fixes: 40df5ef ("gen_hosts: use kdevops_workflow_name directly for template selection")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
The linux.j2 template uses kdevops_hosts_prefix but should use
kdevops_host_prefix to match all other workflow templates. The former
is a role default with a static value of "kdevops", while the latter
comes from Kconfig and reflects the user's configured host prefix.

This typo causes the generated hosts file to always use "kdevops-builder"
regardless of the configured KDEVOPS_HOST_PREFIX.

Fixes: 24c71ee ("gen_hosts: Get the 'separate kernel builder' workflow working again")
Generated-by: Claude AI
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
The builder.j2 template became orphaned when commit 40df5ef
refactored template selection to use workflows/<name>.j2 files. The
workflows/linux.j2 template now serves this purpose. Remove the dead
code.

Generated-by: Claude AI
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
@chucklever chucklever merged commit cf54736 into main Dec 17, 2025
20 of 22 checks passed
@chucklever chucklever deleted the cel/builder-fixes branch December 17, 2025 15:14
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.

2 participants