I know there is way to declare rules that need to be executed on the local machine using localrules as:
localrules: all, foo
Is there a similar option to declare rules that need to be executed on the cluster? Perhaps a clusterrules
option?
I have a bunch of rules in my pipeline that don't need to be executed on the cluster and while I can list them all with localrules
, it will be easier to just enter the one or two rules that need to be executed on the cluster.
An alternative option is the use of rule groups that will execute all rules from a group on a single node instead of using multiple nodes in the cluster.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…