Skip to content

Commit 981bf4e

Browse files
committed
kconfig: add workflow dependencies for NFSD and iSCSI services
Add workflow dependencies to KDEVOPS_SETUP_NFSD and KDEVOPS_ENABLE_ISCSI to restrict their availability to compatible workflows. Both services are supported in fstests, pynfs, nfstest, and gitr workflows based on host template analysis. This ensures service configuration options are only available when the selected workflow can actually use them, preventing unused configurations and missing host groups. Generated-by: Claude AI Reviewed-by: Luis Chamberlain <[email protected]> Reviewed-by: Chuck Lever <[email protected]> Signed-off-by: Daniel Gomez <[email protected]>
1 parent 685a43e commit 981bf4e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

kconfigs/Kconfig.iscsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# FIXME: need defaults for terraform hosts
22
menuconfig KDEVOPS_ENABLE_ISCSI
33
bool "Set up an iSCSI target host"
4+
depends on KDEVOPS_WORKFLOW_ENABLE_FSTESTS || \
5+
KDEVOPS_WORKFLOW_ENABLE_PYNFS || \
6+
KDEVOPS_WORKFLOW_ENABLE_NFSTEST || \
7+
KDEVOPS_WORKFLOW_ENABLE_GITR
48
default n
59
help
610
Provision an additional target node as an iSCSI target.

kconfigs/Kconfig.nfsd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# FIXME: need defaults for terraform hosts
22
config KDEVOPS_SETUP_NFSD
33
bool "Set up the kernel nfs server"
4+
depends on KDEVOPS_WORKFLOW_ENABLE_FSTESTS || \
5+
KDEVOPS_WORKFLOW_ENABLE_PYNFS || \
6+
KDEVOPS_WORKFLOW_ENABLE_NFSTEST || \
7+
KDEVOPS_WORKFLOW_ENABLE_GITR
48
default n
59
help
610
Configure and bring up the kernel NFS server. This will provision

0 commit comments

Comments
 (0)