From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C60AD26ED25 for ; Wed, 22 Apr 2026 22:17:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776896223; cv=none; b=IDK2/SayfXaaMwD78ZL5Kt7XEfKHdjrDYDLN8Q2CWeXKVrnQIl5z3kamcWes10+U1QHR/oUPel3xJh0lYou8J/DGPQJ1R6e23OTbPdlu4dMfhAelFNrOlnO1xLyvNKQ5WdOUoxxrR01QvkiRNiatF4f9kzynZRf7AlZgg6IJW6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776896223; c=relaxed/simple; bh=GSJN+izEmqmPzgKLV+IrPCxg0z8t1807fVslMptTuvE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fNaTk45L1zCLVFQ2kCJaxQWdxvDXRtVRUznuKRXHedATHPKbENpi4b1zr3bdt5o4wz3lYLHq+E38YtgVyPD4uaXbrIYiR5eRDwUWbgw37ZnARYSjqa1NmSP0E6xgWe+GZNvIezhILPFvKDwKcpX3ndEAfV6btxcsILNlenqosqs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rbtZlkUp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rbtZlkUp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FCE4C19425; Wed, 22 Apr 2026 22:17:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776896223; bh=GSJN+izEmqmPzgKLV+IrPCxg0z8t1807fVslMptTuvE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=rbtZlkUpK8ZBJ4BR17Qd4gFfVNEkQTwa4ySku1wNs9vLAVgVXgyIRpKYaECzB9y3a MPj/lUTfn8SQ0sQIYu7V+HyfuTJhXIHQ2jTh7gqbLPM/UY+cks2wKSKG0WOXeP14fV FVkT6u4K2yyv9PeXr/ktFwBCiFE1hZZVAvVn1GZ9zqOZYHGP00oxTHMIYhro7j/ZFQ d7k1PMx1KIbmCWxQbz4ivd/LtqiIJDF7oS/ss6+RkJxHLG2savDk+/F8z2WnZgvyiR dVqcyj+V5LSL8F0bR5wN5Y72GLJY4HPmCbaRxnu5uexFDMD1zGLxkIvfuOPKP/Zvq4 GyBtQOL5OdVeA== From: Daniel Gomez Date: Thu, 23 Apr 2026 00:16:47 +0200 Subject: [PATCH 6/8] gen_hosts: make the linux workflow node name follow bootlinux_builder Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260423-kdevops-series-a-fixes-v1-6-69a82d0e1631@samsung.com> References: <20260423-kdevops-series-a-fixes-v1-0-69a82d0e1631@samsung.com> In-Reply-To: <20260423-kdevops-series-a-fixes-v1-0-69a82d0e1631@samsung.com> To: Luis Chamberlain , Chuck Lever Cc: kdevops@lists.linux.dev, Daniel Gomez , Daniel Gomez X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776896208; l=1875; i=da.gomez@samsung.com; s=20240621; h=from:subject:message-id; bh=ttGtmmJMFRJVbKYLi4hsXh43qb0L6y/cidIOifbLZ/Y=; b=KolDyWBrG+XBwG9CRi7o6KvITkLkU7W5hj/F3bNztat+u3DjsQOyIGeQgpOsEuWPd19RAGuOr Q1FIn+jRjK8BhZ4jQ5msmt+2pBFOPvjchnyS64snry2wyb54HmCKnxu X-Developer-Key: i=da.gomez@samsung.com; a=ed25519; pk=BqYk31UHkmv0WZShES6pIZcdmPPGay5LbzifAdZ2Ia4= From: Daniel Gomez workflows/linux.j2 hardcoded -builder as the node name regardless of whether a dedicated builder was requested. Everywhere else in kdevops the convention is -builder when bootlinux_builder is set and otherwise, and gen_nodes already emits names along that rule. The template produced inventory entries gen_nodes did not cover; fix it so both sides agree. Fixes: 3089c3fec57 ("nixos: add NixOS support as third bringup option with libvirt integration") Generated-by: Claude AI Signed-off-by: Daniel Gomez --- playbooks/roles/gen_hosts/templates/workflows/linux.j2 | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/playbooks/roles/gen_hosts/templates/workflows/linux.j2 b/playbooks/roles/gen_hosts/templates/workflows/linux.j2 index 47c20ab8..79a11757 100644 --- a/playbooks/roles/gen_hosts/templates/workflows/linux.j2 +++ b/playbooks/roles/gen_hosts/templates/workflows/linux.j2 @@ -1,12 +1,23 @@ -{# Template for the kernel builder workflow #} +{# Template for the bootlinux workflow. + + When bootlinux_builder is set, a dedicated build node carries the + -builder suffix (matching gen_nodes' builder_nodes list). Otherwise + the node takes the generic prefix-only name that gen_nodes emits + as generic_nodes. +#} +{% if bootlinux_builder | default(false) %} +{% set node_name = kdevops_host_prefix + '-builder' %} +{% else %} +{% set node_name = kdevops_host_prefix %} +{% endif %} [all] localhost ansible_connection=local -{{ kdevops_host_prefix }}-builder +{{ node_name }} [all:vars] ansible_python_interpreter = "{{ kdevops_python_interpreter }}" [baseline] -{{ kdevops_host_prefix }}-builder +{{ node_name }} [baseline:vars] ansible_python_interpreter = "{{ kdevops_baseline_python_interpreter }}" -- 2.53.0