Skip to content

Commit ac468ea

Browse files
committed
Merge branch 'master' into revert-79898-revert-pushing-to-views
2 parents 64e58ef + 061b2a9 commit ac468ea

File tree

174 files changed

+3391
-1139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+3391
-1139
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,21 @@ Please feel free to reach out to tyler `<at>` clickhouse `<dot>` com.
4747
You can also peruse [ClickHouse Events](https://clickhouse.com/company/news-events) for a list of all upcoming trainings, meetups, speaking engagements, etc.
4848

4949
Upcoming meetups
50-
* [Austin Meetup](https://www.meetup.com/clickhouse-austin-user-group/events/307289908) - May 13, 2025
5150
* [London Meetup](https://www.meetup.com/clickhouse-london-user-group/events/306047172/) - May 14, 2025
5251
* [Istanbul Meetup](https://www.meetup.com/clickhouse-turkiye-meetup-group/events/306978337/) - May 15, 2025
5352
* [Shenzhen Meetup](https://www.huodongxing.com/event/7803892350511) - May 17, 2025
53+
* [Belgium Meetup](https://www.meetup.com/clickhouse-belgium-user-group/events/307818346/) - May 20, 2025
5454
* [Seattle Meetup](https://www.meetup.com/clickhouse-seattle-user-group/events/307622716/) - May 20, 2025
5555
* [Tokyo Meetup](https://www.meetup.com/clickhouse-tokyo-user-group/events/307689645/) - June 5, 2025
56+
* [Cyprus Meetup](https://www.meetup.com/clickhouse-cyprus-user-group/events/307819236) - June 10, 2025
5657
* [Washington DC Meetup](https://www.meetup.com/clickhouse-dc-user-group/events/307622954/) - June 12, 2025
58+
* [Tel Aviv Meetup](https://www.meetup.com/clickhouse-meetup-israel/events/307820741/) - June 17, 2025
5759
* [Atlanta Meetup](https://www.meetup.com/clickhouse-atlanta-meetup-group/events/307627590/) - July 8, 2025
5860
* [New York Meetup](https://www.meetup.com/clickhouse-new-york-user-group/events/307627675/) - July 15, 2025
5961

6062

6163
Recent meetups
64+
* [Austin Meetup](https://www.meetup.com/clickhouse-austin-user-group/events/307289908) - May 13, 2025
6265
* [Denver Meetup](https://www.meetup.com/clickhouse-denver-user-group/events/306934991/) - April 23, 2025
6366
* [Jakarta Meetup with AWS](https://www.meetup.com/clickhouse-indonesia-user-group/events/306973747/) - April 22, 2025
6467
* [Kuala Lumper Meetup with CNCF](https://www.meetup.com/clickhouse-malaysia-meetup-group/events/306697678/) - April 16, 2025

ci/jobs/scripts/check_style/aspell-ignore/en/aspell-dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ CapContains
152152
CapUnion
153153
CapnProto
154154
CapnProtoEnumComparingMode
155+
CardSecondary
155156
CatBoost
156157
CellAreaM
157158
CellAreaRads

ci/praktika/info.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ def is_merge_queue_event(self):
113113
def is_push_event(self):
114114
return self.env.EVENT_TYPE == "push"
115115

116+
@property
117+
def is_dispatch_event(self):
118+
return self.env.EVENT_TYPE == "dispatch"
119+
116120
@property
117121
def instance_lifecycle(self):
118122
return self.env.INSTANCE_LIFE_CYCLE

ci/praktika/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def parametrize(
9292
== len(timeout)
9393
== len(provides)
9494
== len(requires)
95-
), f"Parametrization lists must be of the same size [{len(parameter)}, {len(runs_on)}, {len(timeout)}, {len(provides)}, {len(requires)}]"
95+
), f"Parametrization lists for job [{self.name}] must be of the same size [{len(parameter)}, {len(runs_on)}, {len(timeout)}, {len(provides)}, {len(requires)}]"
9696

9797
res = []
9898
for parameter_, runs_on_, timeout_, provides_, requires_ in zip(

ci/praktika/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def generate_local_run_environment(workflow, job, pr=None, sha=None):
3636
BRANCH="branch_name",
3737
SHA=sha or Shell.get_output("git rev-parse HEAD"),
3838
PR_NUMBER=pr or -1,
39-
EVENT_TYPE="",
39+
EVENT_TYPE=workflow.event,
4040
JOB_OUTPUT_STREAM="",
4141
EVENT_FILE_PATH="",
4242
CHANGE_URL="",

ci/praktika/validator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def validate(cls):
5656
for job in workflow.jobs:
5757
cls.evaluate_check(
5858
isinstance(job, Job.Config),
59-
f"Invalid job type [{job}]",
59+
f"Invalid job type [{job}]: type [{type(job)}]",
6060
workflow.name,
6161
)
6262

@@ -158,7 +158,7 @@ def validate(cls):
158158
artifact.is_s3_artifact()
159159
), f"All artifacts must be of S3 type if enable_cache|enable_html=True, artifact [{artifact.name}], type [{artifact.type}], workflow [{workflow.name}]"
160160

161-
if workflow.dockers:
161+
if workflow.dockers and not workflow.disable_dockers_build:
162162
assert (
163163
Settings.DOCKERHUB_USERNAME
164164
), f"Settings.DOCKERHUB_USERNAME must be provided if workflow has dockers, workflow [{workflow.name}]"

ci/praktika/workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,4 @@ class InputConfig:
107107
description: str
108108
is_required: bool
109109
default_value: str
110+
options: Optional[List] = None

ci/praktika/yaml_generator.py

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ class Templates:
112112
default: {DEFAULT_VALUE}\
113113
"""
114114

115+
TEMPLATE_OPTIONS_INPUT = """
116+
{NAME}:
117+
description: {DESCRIPTION}
118+
type: choice
119+
options: {OPTIONS}
120+
default: {DEFAULT_VALUE}\
121+
"""
122+
115123
TEMPLATE_SECRET_CONFIG = """\
116124
{SECRET_NAME}:
117125
required: true
@@ -378,12 +386,22 @@ def generate(self):
378386
# for dispatch workflows only
379387
dispatch_inputs = ""
380388
for input_item in self.workflow_config.dispatch_inputs:
381-
dispatch_inputs += YamlGenerator.Templates.TEMPLATE_INPUT.format(
382-
NAME=input_item.name,
383-
DESCRIPTION=input_item.description,
384-
IS_REQUIRED="true" if input_item.is_required else "false",
385-
DEFAULT_VALUE=input_item.default_value or "''",
386-
)
389+
if not input_item.options:
390+
dispatch_inputs += YamlGenerator.Templates.TEMPLATE_INPUT.format(
391+
NAME=input_item.name,
392+
DESCRIPTION=input_item.description,
393+
IS_REQUIRED="true" if input_item.is_required else "false",
394+
DEFAULT_VALUE=input_item.default_value or "''",
395+
)
396+
else:
397+
dispatch_inputs += (
398+
YamlGenerator.Templates.TEMPLATE_OPTIONS_INPUT.format(
399+
NAME=input_item.name,
400+
DESCRIPTION=input_item.description,
401+
OPTIONS=input_item.options,
402+
DEFAULT_VALUE=input_item.default_value or "''",
403+
)
404+
)
387405

388406
if self.workflow_config.event in (
389407
Workflow.Event.PULL_REQUEST,

docker/keeper/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN arch=${TARGETARCH:-amd64} \
3838
# lts / testing / prestable / etc
3939
ARG REPO_CHANNEL="stable"
4040
ARG REPOSITORY="https://packages.clickhouse.com/tgz/${REPO_CHANNEL}"
41-
ARG VERSION="25.4.3.22"
41+
ARG VERSION="25.4.4.25"
4242
ARG PACKAGES="clickhouse-keeper"
4343
ARG DIRECT_DOWNLOAD_URLS=""
4444

docker/server/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN arch=${TARGETARCH:-amd64} \
3535
# lts / testing / prestable / etc
3636
ARG REPO_CHANNEL="stable"
3737
ARG REPOSITORY="https://packages.clickhouse.com/tgz/${REPO_CHANNEL}"
38-
ARG VERSION="25.4.3.22"
38+
ARG VERSION="25.4.4.25"
3939
ARG PACKAGES="clickhouse-client clickhouse-server clickhouse-common-static"
4040
ARG DIRECT_DOWNLOAD_URLS=""
4141

0 commit comments

Comments
 (0)