示例#1
0
        # between these sibling containers, so pass along the ip.
        network_buildkite_container('postgres'),
        connect_sibling_docker_container('postgres',
                                         'test-postgres-db-graphql',
                                         'POSTGRES_TEST_DB_HOST'),
        "popd",
    ]


# Some Dagster packages have more involved test configs or support only certain Python version;
# special-case those here
DAGSTER_PACKAGES_WITH_CUSTOM_TESTS = [
    # Examples: Airline Demo
    ModuleBuildSpec(
        'examples/airline_demo',
        supported_pythons=SupportedPython3sNo38,
        extra_cmds_fn=airline_demo_extra_cmds_fn,
        buildkite_label='airline-demo',
    ),
    # Examples: Events Demo
    # TODO: https://github.com/dagster-io/dagster/issues/2617
    # ModuleBuildSpec(
    #     'examples',
    #     env_vars=['AWS_SECRET_ACCESS_KEY', 'AWS_ACCESS_KEY_ID', 'AWS_DEFAULT_REGION'],
    #     supported_pythons=SupportedPython3sNo38,
    #     tox_file='tox_events.ini',
    #     buildkite_label='events-demo',
    # ),
    # Examples
    ModuleBuildSpec(
        'examples/legacy_examples',
        # See: https://github.com/dagster-io/dagster/issues/1960
示例#2
0
        # between these sibling containers, so pass along the ip.
        network_buildkite_container("postgres"),
        connect_sibling_docker_container(
            "postgres", "test-postgres-db-graphql", "POSTGRES_TEST_DB_HOST"
        ),
        "popd",
    ]


# Some Dagster packages have more involved test configs or support only certain Python version;
# special-case those here
DAGSTER_PACKAGES_WITH_CUSTOM_TESTS = [
    # Examples: Airline Demo
    ModuleBuildSpec(
        "examples/airline_demo",
        supported_pythons=SupportedPython3s,
        extra_cmds_fn=airline_demo_extra_cmds_fn,
        buildkite_label="airline-demo",
    ),
    # Examples: Events Demo
    # TODO: https://github.com/dagster-io/dagster/issues/2617
    # ModuleBuildSpec(
    #     'examples',
    #     env_vars=['AWS_SECRET_ACCESS_KEY', 'AWS_ACCESS_KEY_ID', 'AWS_DEFAULT_REGION'],
    #     supported_pythons=SupportedPython3s,
    #     tox_file='tox_events.ini',
    #     buildkite_label='events-demo',
    # ),
    # Examples
    ModuleBuildSpec(
        "examples/legacy_examples",
        supported_pythons=SupportedPython3s,