-
Notifications
You must be signed in to change notification settings - Fork 0
230 lines (228 loc) Β· 7.18 KB
/
Copy pathrun-regression.yml
File metadata and controls
230 lines (228 loc) Β· 7.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
name: π¬ Run regression
run-name: π¬ ${{ inputs.custom_run_name || (inputs.suite == 'all' && format('{0} | Full Regression | {1}', inputs.version, inputs.arch)) || format('{0} | {1} | {2}', inputs.version, inputs.suite, inputs.arch)}}
${{ inputs.flags != 'none' && format(' | {0}', inputs.flags) || '' }}
${{ inputs.extra_args && format(' | {0}', inputs.extra_args) || '' }}
on:
workflow_dispatch:
inputs:
package:
description: "π¦ Package. Either 'docker://' or 'https://'. Example: 'https://.../clickhouse-common-static_23.3.1.64_amd64.deb', or 'docker://altinity/clickhouse-server:23.8.8'"
required: true
type: string
default: docker://altinity/clickhouse-server:25.3.6.10034.altinitystable
version:
description: "π― Expected version. Example: 25.3.6.10034"
type: string
required: true
default: 25.3.6.10034.altinitystable
arch:
description: "π₯ Architecture"
type: choice
options:
- x86
- arm64
required: true
default: x86
flags:
description: "π© Flags"
type: choice
options:
- "--use-keeper --with-analyzer"
- "--use-keeper"
- "none"
- "--as-binary"
- "--as-binary --use-keeper"
- "--thread-fuzzer"
- "--thread-fuzzer --use-keeper"
- "--thread-fuzzer --as-binary"
- "--thread-fuzzer --as-binary --use-keeper"
- "--with-analyzer"
- "--with-analyzer --use-keeper"
- "--with-analyzer --as-binary"
- "--with-analyzer --as-binary --use-keeper"
- "--thread-fuzzer --with-analyzer"
- "--thread-fuzzer --with-analyzer --use-keeper"
- "--thread-fuzzer --with-analyzer --as-binary"
- "--thread-fuzzer --with-analyzer --as-binary --use-keeper"
suite:
description: "π§ͺ Test suite to run (default: all)"
type: choice
options:
- all
- all_aws
- all_gcs
- aes_encryption
- aggregate_functions
- atomic_insert
- alter_all
- alter_replace_partition
- alter_attach_partition
- alter_move_partition
- attach
- base_58
- benchmark_all
- benchmark_aws
- benchmark_gcs
- benchmark_minio
- clickhouse_keeper
- clickhouse_keeper_failover
- data_types
- datetime64_extended_range
- disk_level_encryption
- dns
- engines
- example
- extended_precision_data_types
- functions
- iceberg
- jwt_authentication
- kafka
- kerberos
- key_value
- ldap
- lightweight_delete
- memory
- parquet_all
- parquet
- parquet_minio
- parquet_s3
- parquet_native_v3
- parquet_minio_native_v3
- parquet_s3_native_v3
- part_moves_between_shards
- rbac
- s3_all
- s3_aws
- s3_azure
- s3_gcs
- s3_minio
- export_part
- export_partition
- selects
- session_timezone
- settings
- ssl_server
- swarms
- tiered_storage_all
- tiered_storage_aws
- tiered_storage_gcs
- tiered_storage_local
- tiered_storage_minio
- version
- window_functions
- hive_partitioning
artifacts:
description: "πΊ Artifact S3 bucket"
type: choice
options:
- internal
output_format:
description: "π Testflows output style."
type: choice
options:
- nice-new-fails
- brisk-new-fails
- plain-new-fails
- pnice-new-fails
- new-fails
- classic
- nice
- fails
- slick
- brisk
- quiet
- short
- manual
- dots
- progress
- raw
ref:
description: "π· Commit SHA to checkout. Default: current (empty string)."
type: string
default: ""
extra_args:
description: "ποΈ Extra test program arguments. Default: none (empty string)."
type: string
default: ""
custom_run_name:
description: 'π Custom run name (optional)'
required: false
workflow_call:
inputs:
package:
description: "π¦ Package. Either 'docker://' or 'https://'. Example: 'https://.../clickhouse-common-static_23.3.1.64_amd64.deb', or 'docker://altinity/clickhouse-server:23.8.8'"
required: true
type: string
version:
description: "π― Expected version. Example: 23.3.1.64"
type: string
arch:
description: "π₯ Architecture"
type: string
required: true
flags:
description: "π© Flags"
type: string
required: false
default: "none"
suite:
description: "π§ͺ Test suite to run"
type: string
required: false
default: all
artifacts:
description: "Artifact S3 bucket"
type: string
required: false
default: internal
output_format:
description: "π Testflows output style."
type: string
required: false
default: new-fails
ref:
description: "Commit SHA to checkout. Default: current (empty string)."
type: string
required: false
default: ""
extra_args:
description: "ποΈ Extra test program arguments. Default: none (empty string)."
type: string
required: false
default: ""
custom_run_name:
description: 'π Custom run name (optional)'
type: string
required: false
run_s3_suites:
description: "Whether to run S3 and Parquet S3 suites"
type: boolean
default: false
workflow_call:
description: "workflow_call input"
type: boolean
default: true
parquet_native_v3:
description: "Whether to run Parquet Native V3 suites"
type: boolean
default: false
jobs:
tiered_storage_gcs:
if: ${{ (inputs.run_s3_suites || inputs.workflow_call != true) && (inputs.suite == 'tiered_storage_gcs' || inputs.suite == 'tiered_storage_all' || inputs.suite == 'all_gcs' || inputs.suite == 'all') }}
uses: ./.github/workflows/reusable-suite.yml
with:
suite_name: tiered_storage
job_name: tiered_storage_gcs - ${{ github.event_name }}
timeout_minutes: 180
storage_path: /gcs
regression_args: '--with-s3gcs --gcs-uri {{GCS_URI}} --gcs-key-id {{GCS_KEY_ID}} --gcs-key-secret {{GCS_KEY_SECRET}}'
artifact_name: tiered_storage-gcs-artifacts
ref: ${{ inputs.ref }}
package: ${{ inputs.package }}
version: ${{ inputs.version }}
flags: ${{ inputs.flags }}
output_format: ${{ inputs.output_format }}
extra_args: ${{ inputs.extra_args }}
artifacts: ${{ inputs.artifacts }}
runner_arch: ${{ inputs.arch }}
secrets: inherit