Changeset View
Changeset View
Standalone View
Standalone View
.buildkite/pipeline.py
Show First 20 Lines • Show All 570 Lines • ▼ Show 20 Lines | return ( | ||||
"cd tmp", | "cd tmp", | ||||
"coverage debug sys", | "coverage debug sys", | ||||
"coverage debug data", | "coverage debug data", | ||||
"coverage combine", | "coverage combine", | ||||
"coveralls-lcov -v -n lcov.* > coverage.js.json", | "coveralls-lcov -v -n lcov.* > coverage.js.json", | ||||
"coveralls", # add '--merge=coverage.js.json' to report JS coverage | "coveralls", # add '--merge=coverage.js.json' to report JS coverage | ||||
) | ) | ||||
.on_python_image( | .on_python_image( | ||||
"coverage-image:v1", | "coverage-image:py3.7.8-2020-10-22T213422", | ||||
[ | [ | ||||
"COVERALLS_REPO_TOKEN", # exported by /env in ManagedSecretsBucket | "COVERALLS_REPO_TOKEN", # exported by /env in ManagedSecretsBucket | ||||
"CI_NAME", | "CI_NAME", | ||||
"CI_BUILD_NUMBER", | "CI_BUILD_NUMBER", | ||||
"CI_BUILD_URL", | "CI_BUILD_URL", | ||||
"CI_BRANCH", | "CI_BRANCH", | ||||
"CI_PULL_REQUEST", | "CI_PULL_REQUEST", | ||||
], | ], | ||||
▲ Show 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | return [ | ||||
"pip install yamllint", | "pip install yamllint", | ||||
"yamllint -c .yamllint.yaml --strict `git ls-files {base_paths} {base_paths_ignored}`".format( | "yamllint -c .yamllint.yaml --strict `git ls-files {base_paths} {base_paths_ignored}`".format( | ||||
base_paths=base_paths, base_paths_ignored=base_paths_ignored | base_paths=base_paths, base_paths_ignored=base_paths_ignored | ||||
), | ), | ||||
) | ) | ||||
.on_integration_image(SupportedPython.V3_7) | .on_integration_image(SupportedPython.V3_7) | ||||
.build(), | .build(), | ||||
StepBuilder("validate helm schema") | StepBuilder("validate helm schema") | ||||
.run("helm lint helm/dagster -f helm/dagster/values.yaml") | .run( | ||||
"pip install -e python_modules/automation", | |||||
"dagster-helm schema | git diff --no-index --exit-code -- helm/dagster/values.schema.json -", | |||||
"helm lint helm/dagster -f helm/dagster/values.yaml", | |||||
) | |||||
.on_integration_image(SupportedPython.V3_7) | .on_integration_image(SupportedPython.V3_7) | ||||
.build(), | .build(), | ||||
] | ] | ||||
def python_steps(): | def python_steps(): | ||||
steps = [] | steps = [] | ||||
steps += publish_test_images() | steps += publish_test_images() | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |