ClickHouse/ci/workflows/pull_request.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
733 B
Python
Raw Normal View History

2024-11-21 21:10:27 +00:00
from praktika import Workflow
2024-11-21 21:10:27 +00:00
from ci.workflows.defs import ARTIFACTS, BASE_BRANCH, DOCKERS, SECRETS, Jobs
2024-11-25 15:50:32 +00:00
S3_BUILDS_BUCKET = "clickhouse-builds"
2024-09-28 05:46:19 +00:00
workflow = Workflow.Config(
name="PR",
event=Workflow.Event.PULL_REQUEST,
base_branches=[BASE_BRANCH],
jobs=[
Jobs.style_check_job.copy(),
2024-11-21 21:10:27 +00:00
Jobs.fast_test_job,
*Jobs.build_jobs,
*Jobs.stateless_tests_jobs,
*Jobs.stateful_tests_jobs,
*Jobs.stress_test_jobs,
2024-11-25 11:43:39 +00:00
Jobs.performance_test_job,
2024-11-25 15:50:32 +00:00
*Jobs.compatibility_test_jobs,
2024-11-21 21:10:27 +00:00
],
artifacts=ARTIFACTS,
2024-09-28 05:46:19 +00:00
dockers=DOCKERS,
secrets=SECRETS,
enable_cache=True,
enable_report=True,
enable_merge_ready_status=True,
)
WORKFLOWS = [
workflow,
]