Changeset View
Changeset View
Standalone View
Standalone View
.buildkite/dagster-buildkite/dagster_buildkite/steps/dagster.py
Show First 20 Lines • Show All 511 Lines • ▼ Show 20 Lines | def schema_checks(version=SupportedPython.V3_8): | ||||
return [ | return [ | ||||
StepBuilder("SQL schema checks") | StepBuilder("SQL schema checks") | ||||
.on_integration_image(version) | .on_integration_image(version) | ||||
.run("pip install -e python_modules/dagster", "python scripts/check_schemas.py") | .run("pip install -e python_modules/dagster", "python scripts/check_schemas.py") | ||||
.build() | .build() | ||||
] | ] | ||||
def graphql_python_client_backcompat_checks(version=SupportedPython.V3_8): | |||||
return [ | |||||
StepBuilder("Backwards compat checks for the GraphQL Python Client") | |||||
.on_integration_image(version) | |||||
.run( | |||||
"""pip install \ | |||||
-e python_modules/dagster-graphql \ | |||||
-e python_modules/automation \ | |||||
""", | |||||
rexledesma: nit: these can be separate lines
| |||||
"dagster-graphql-client query check", | |||||
) | |||||
.build() | |||||
] | |||||
def manifest_checks(version=SupportedPython.V3_7): | def manifest_checks(version=SupportedPython.V3_7): | ||||
library_path = os.path.join(GIT_REPO_ROOT, "python_modules", "libraries") | library_path = os.path.join(GIT_REPO_ROOT, "python_modules", "libraries") | ||||
library_packages = [ | library_packages = [ | ||||
os.path.join("python_modules", "libraries", library) for library in os.listdir(library_path) | os.path.join("python_modules", "libraries", library) for library in os.listdir(library_path) | ||||
] | ] | ||||
commands = ["pip install check-manifest"] | commands = ["pip install check-manifest"] | ||||
commands += [ | commands += [ | ||||
Show All 36 Lines | def dagster_steps(): | ||||
# https://github.com/dagster-io/dagster/issues/2785 | # https://github.com/dagster-io/dagster/issues/2785 | ||||
steps += pipenv_smoke_tests() | steps += pipenv_smoke_tests() | ||||
steps += version_equality_checks() | steps += version_equality_checks() | ||||
steps += docs_steps() | steps += docs_steps() | ||||
steps += examples_tests() | steps += examples_tests() | ||||
steps += helm_steps() | steps += helm_steps() | ||||
steps += schema_checks() | steps += schema_checks() | ||||
steps += graphql_python_client_backcompat_checks() | |||||
return steps | return steps |
nit: these can be separate lines