示例#1
0
def rule_runner() -> RuleRunner:
    return RuleRunner(rules=[
        *external_tool.rules(),
        *tool.rules(),
        *process.rules(),
        *unittest.rules(),
        QueryRule(ProcessResult, (HelmProcess, )),
    ])
示例#2
0
def rule_runner() -> RuleRunner:
    return RuleRunner(
        rules=[
            *external_tool.rules(),
            *publish.rules(),
            *tool.rules(),
            QueryRule(PublishProcesses, [PublishHelmChartRequest]),
            QueryRule(HelmBinary, []),
        ],
        target_types=[HelmChartTarget],
    )
示例#3
0
def rules():
    return [
        *chart.rules(),
        *lint.rules(),
        *package.rules(),
        *publish.rules(),
        *tailor.rules(),
        *test_rules(),
        *sources.rules(),
        *tool.rules(),
        *target_types_rules(),
    ]
示例#4
0
def rule_runner() -> RuleRunner:
    return RuleRunner(
        target_types=[HelmChartTarget, HelmUnitTestTestTarget],
        rules=[
            *external_tool.rules(),
            *tool.rules(),
            *chart.rules(),
            *test_rules(),
            *stripped_source_files.rules(),
            *source_root_rules(),
            *target_types_rules(),
            QueryRule(TestResult, (HelmUnitTestFieldSet,)),
        ],
    )
示例#5
0
def rule_runner() -> RuleRunner:
    return RuleRunner(
        target_types=[],
        rules=[
            *config_files.rules(),
            *external_tool.rules(),
            *tool.rules(),
            *process.rules(),
            QueryRule(HelmBinary, ()),
            QueryRule(HelmSubsystem, ()),
            QueryRule(Process, (HelmProcess, )),
            QueryRule(ProcessResult, (HelmProcess, )),
        ],
    )
示例#6
0
def rule_runner() -> RuleRunner:
    return RuleRunner(
        target_types=[HelmArtifactTarget],
        rules=[
            *config_files.rules(),
            *external_tool.rules(),
            *fetch.rules(),
            *tool.rules(),
            *process.rules(),
            *target_types_rules(),
            QueryRule(AllHelmArtifactTargets, ()),
            QueryRule(ResolvedHelmArtifact, (HelmArtifact, )),
            QueryRule(FetchedHelmArtifacts, (FetchHelmArfifactsRequest, )),
        ],
    )
示例#7
0
def rule_runner() -> RuleRunner:
    return RuleRunner(
        target_types=[HelmChartTarget],
        rules=[
            *config_files.rules(),
            *external_tool.rules(),
            *chart.rules(),
            *sources.rules(),
            *tool.rules(),
            *process.rules(),
            *stripped_source_files.rules(),
            SubsystemRule(HelmSubsystem),
            QueryRule(HelmChart, (HelmChartRequest, )),
        ],
    )
示例#8
0
def rule_runner() -> RuleRunner:
    return RuleRunner(
        target_types=[HelmChartTarget],
        rules=[
            *config_files.rules(),
            *external_tool.rules(),
            *tool.rules(),
            *chart.rules(),
            *package.rules(),
            *stripped_source_files.rules(),
            *source_root_rules(),
            *sources.rules(),
            SubsystemRule(HelmSubsystem),
            QueryRule(BuiltPackage, [HelmPackageFieldSet]),
        ],
    )
示例#9
0
def rule_runner() -> RuleRunner:
    rule_runner = RuleRunner(
        target_types=[HelmChartTarget],
        rules=[
            *config_files.rules(),
            *chart.rules(),
            *external_tool.rules(),
            *helm_lint_rules(),
            *tool.rules(),
            *stripped_source_files.rules(),
            *source_root_rules(),
            *sources.rules(),
            SubsystemRule(HelmSubsystem),
            QueryRule(LintResults, (HelmLintRequest, )),
        ],
    )
    return rule_runner
示例#10
0
def rules():
    return [
        *chart.rules(), *lint.rules(), *package.rules(), *sources.rules(),
        *tool.rules()
    ]