Source code for aws_ops_alpha.project.simple_glue.simple_glue_truth_table

# -*- coding: utf-8 -*-

"""
this module is generated by https://pypi.org/project/tt4human = 0.3.1
"""

from pathlib import Path
from tt4human.api import BetterStrEnum, TruthTable


[docs]class StepEnum(BetterStrEnum): create_virtualenv = "CREATE_VIRTUALENV" install_dependencies = "INSTALL_DEPENDENCIES" deploy_config = "DEPLOY_CONFIG" build_glue_artifact_locally = "BUILD_GLUE_ARTIFACT_LOCALLY" run_code_coverage_test = "RUN_CODE_COVERAGE_TEST" build_documentation = "BUILD_DOCUMENTATION" update_documentation = "UPDATE_DOCUMENTATION" deploy_cdk_stack = "DEPLOY_CDK_STACK" run_integration_test = "RUN_INTEGRATION_TEST" create_artifact_snapshot = "CREATE_ARTIFACT_SNAPSHOT" create_git_tag = "CREATE_GIT_TAG" delete_cdk_stack = "DELETE_CDK_STACK" delete_artifact_snapshot = "DELETE_ARTIFACT_SNAPSHOT" delete_config = "DELETE_CONFIG"
[docs]class SemanticBranchNameEnum(BetterStrEnum): main = "main" feature = "feature" fix = "fix" doc = "doc" app = "app" release = "release" cleanup = "cleanup"
[docs]class RuntimeNameEnum(BetterStrEnum): local = "local" ci = "ci"
[docs]class EnvNameEnum(BetterStrEnum): devops = "devops" sbx = "sbx" tst = "tst" stg = "stg" prd = "prd"
truth_table = TruthTable.from_csv( path=Path(__file__).absolute().parent.joinpath("simple_glue_truth_table.tsv"), ) if __name__ == "__main__": assert truth_table.evaluate(case={'step': 'CREATE_VIRTUALENV', 'semantic_branch_name': 'main', 'runtime_name': 'local', 'env_name': 'devops'}) is True