From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 3CC80313E25 for ; Fri, 29 Aug 2025 10:56:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756465008; cv=none; b=sOwcHb1pgyfic+8T1YCOUfzijhGOHJTMQxMVJZVmT4PqrLSOkp4jC6+AIR0uMa5EJAjtdqEcCSoeJDbICGWhft47rRv1gMDqS7bqjEU2DVTyIP8gucV8h+TVNpdvfbxIFErXehakGVJRVFYBcoq8BSpa96Tj1B1nzEnzdFO0Hlo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756465008; c=relaxed/simple; bh=42lXeIGd9pPo7EVo9gjgR3w8EYa2/wf3/rlChs6SZds=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WgP6nSUVFaPITyIHNw7HFKLfHwC3i51/PqJop0a/Zp41Ky74FZayp5FNHC2tEDlOVA1pyuUoI9GQmvDGE4bxqPgkji24b/PhRzqrFGafzY30hqwcb14OImVujINo+qPgFqxbnjWrjU1uJKIKGPY0CgFoskmVSg4zO8e5NHObJoA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=G+WbIKyc; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="G+WbIKyc" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=X+BylXrh+P5l2Oq4q3kSxE85EnWhMWVMNll56tBkez4=; b=G+WbIKyck41+A4V3q37I33v9ZP W9pviJa41SUxcr5uieuFjNi0OupI/0skFPaSJhMY0FPsClVXWQJUX33Kh+Bw5fclyHD4mL+QEn72x 8kyZkd7CPl9uZ/4yBgog9YSc6zOneUOw6yEjaiQDL/cd2tQIlYWU9wSQnjWvZ7bzPxojWz4+sgvSD 70J9u3KqNtn/mKofk8WO+/asgGbioOKIJtGhwNzh5wEM7tQ6CVebL2DPxXwRsGSpsHGYL/16MRVmu Z6+399uS8qegjJguZWNKjvFeib4CML3f8ChTp/limt9UhamRs0H6fqDPqjNcpKTcYoZuYWp9AJp19 cxrqZzeA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1urwmk-00000005PLf-2uSe; Fri, 29 Aug 2025 10:56:46 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 0/2] declared hosts support Date: Fri, 29 Aug 2025 03:56:43 -0700 Message-ID: <20250829105645.1289069-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain This v2, just moves the hunks which were left on v1 to v2 where they were supposed to go and also simplfies the logic by declaring the bools as false originally on the roles that use them. Luis Chamberlain (2): gen_hosts: refactor monolithic hosts.j2 template into per-workflow templates declared_hosts: add support for pre-existing infrastructure Makefile | 7 + kconfigs/Kconfig.bringup | 7 + kconfigs/Kconfig.declared_hosts | 65 +++++ playbooks/roles/devconfig/defaults/main.yml | 1 + playbooks/roles/devconfig/tasks/main.yml | 60 ++++ playbooks/roles/gen_hosts/defaults/main.yml | 1 + playbooks/roles/gen_hosts/tasks/main.yml | 40 ++- playbooks/roles/gen_hosts/templates/hosts.j2 | 264 +++--------------- .../roles/gen_hosts/templates/workflows/ai.j2 | 99 +++++++ .../gen_hosts/templates/workflows/blktests.j2 | 58 ++++ .../gen_hosts/templates/workflows/cxl.j2 | 7 + .../templates/workflows/declared-hosts.j2 | 219 +++++++++++++++ .../gen_hosts/templates/workflows/default.j2 | 62 ++++ .../templates/workflows/fio-tests.j2 | 38 +++ .../gen_hosts/templates/workflows/fstests.j2 | 72 +++++ .../gen_hosts/templates/workflows/gitr.j2 | 41 +++ .../gen_hosts/templates/workflows/ltp.j2 | 41 +++ .../gen_hosts/templates/workflows/mmtests.j2 | 77 +++++ .../gen_hosts/templates/workflows/nfstest.j2 | 41 +++ .../gen_hosts/templates/workflows/pynfs.j2 | 7 + .../templates/workflows/reboot-limit.j2 | 33 +++ .../templates/workflows/selftests.j2 | 53 ++++ .../gen_hosts/templates/workflows/sysbench.j2 | 53 ++++ playbooks/roles/gen_nodes/tasks/main.yml | 5 + workflows/ai/Makefile | 3 +- workflows/blktests/Makefile | 3 +- workflows/cxl/Makefile | 3 +- workflows/fio-tests/Makefile | 3 +- workflows/fstests/Makefile | 3 +- workflows/gitr/Makefile | 3 +- workflows/linux/Makefile | 3 +- workflows/ltp/Makefile | 3 +- workflows/mmtests/Makefile | 3 +- workflows/nfstest/Makefile | 3 +- workflows/pynfs/Makefile | 3 +- workflows/selftests/Makefile | 3 +- workflows/sysbench/Makefile | 3 +- 37 files changed, 1145 insertions(+), 245 deletions(-) create mode 100644 kconfigs/Kconfig.declared_hosts create mode 100644 playbooks/roles/gen_hosts/templates/workflows/ai.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/blktests.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/cxl.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/declared-hosts.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/default.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/fio-tests.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/fstests.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/gitr.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/ltp.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/mmtests.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/nfstest.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/pynfs.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/reboot-limit.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/selftests.j2 create mode 100644 playbooks/roles/gen_hosts/templates/workflows/sysbench.j2 -- 2.50.1