Files
datastore/ci/workflows/backport_branches.py
zooqueen 0f1e1b5143 merge: ClickHouse 26.6.1.1 into datastore — preserve debrand + ZAP + gRPC/gcloud removal
Merge upstream/changelog-26.6 (9593 commits) into our debranded fork.
- 190 conflicts resolved: 24 delete-side kept-removed (grpc/arrowflight/gcloud), submodules+version→26.6,
  contrib/CMakeLists keeps zap + new libpng, drops capnproto (zap provides kj), Server.cpp/CMakeLists
  re-apply the ZAP wiring + gRPC/arrowflight/gcloud removal.
- Full-tree debrand re-swept over the new 26.6 code (uniform Datastore naming; Azure fork Clickhouse*
  symbols preserved). 0 clickhouse in product src/programs/CMakeLists.
- Version now 26.6.1.1. gRPC/google-cloud/chdig stay removed; ZAP remains the transport.
2026-06-23 12:23:48 -07:00

72 lines
2.2 KiB
Python

from praktika import Workflow
from ci.defs.defs import DOCKERS, SECRETS, ArtifactConfigs
from ci.defs.job_configs import JobConfigs
from ci.jobs.scripts.workflow_hooks.filter_job import should_skip_job
workflow = Workflow.Config(
name="BackportPR",
event=Workflow.Event.PULL_REQUEST,
base_branches=["2[1-9].[1-9][0-9]", "2[1-9].[1-9]"],
jobs=[
*[
job
for job in JobConfigs.build_jobs
if any(t in job.name for t in ("amd_asan_ubsan", "amd_tsan", "amd_debug"))
],
*JobConfigs.release_build_jobs,
*[
job
for job in JobConfigs.special_build_jobs
if any(t in job.name for t in ("darwin",))
],
JobConfigs.docker_server,
*JobConfigs.install_check_jobs,
*JobConfigs.compatibility_test_jobs,
*[job for job in JobConfigs.functional_tests_jobs if "amd_asan_ubsan" in job.name],
*[
job
for job in JobConfigs.unittest_jobs
if any(t in job.name for t in ("asan_ubsan", "tsan"))
],
*[job for job in JobConfigs.stress_test_jobs if "amd_tsan" in job.name],
*[
job
for job in JobConfigs.integration_test_jobs_required
if "amd_asan_ubsan" in job.name
],
*[
job
for job in JobConfigs.integration_test_jobs_non_required
if "amd_tsan" in job.name
],
],
artifacts=[
*ArtifactConfigs.unittests_binaries,
*ArtifactConfigs.clickhouse_binaries,
*ArtifactConfigs.clickhouse_debians,
*ArtifactConfigs.clickhouse_rpms,
*ArtifactConfigs.clickhouse_tgzs,
],
dockers=DOCKERS,
secrets=SECRETS,
enable_job_filtering_by_changes=True,
enable_cache=True,
enable_report=True,
enable_automerge=True,
enable_cidb=True,
enable_commit_status_on_failure=True,
enable_gh_summary_comment=True,
pre_hooks=[
"python3 ./ci/jobs/scripts/workflow_hooks/store_data.py",
"python3 ./ci/jobs/scripts/workflow_hooks/version_log.py",
"python3 ./ci/jobs/scripts/workflow_hooks/check_backport_branch.py",
],
workflow_filter_hooks=[should_skip_job],
post_hooks=[],
)
WORKFLOWS = [
workflow,
]