2024-11-21 21:10:27 +00:00
|
|
|
from praktika import Workflow
|
2024-11-22 11:35:54 +00:00
|
|
|
|
2024-11-21 21:10:27 +00:00
|
|
|
from ci.workflows.defs import ARTIFACTS, BASE_BRANCH, DOCKERS, SECRETS, Jobs
|
2024-11-22 11:35:54 +00:00
|
|
|
|
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=[
|
2024-11-21 21:10:27 +00:00
|
|
|
Jobs.style_check_job,
|
|
|
|
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,
|
2024-11-15 12:49:28 +00:00
|
|
|
]
|