-
Notifications
You must be signed in to change notification settings - Fork 7
162 lines (159 loc) Β· 5.14 KB
/
run-regression-combined.yml
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
name: π¬ Run Tests on x86 and ARM
run-name: π¬ ${{ inputs.custom_run_name || (inputs.suite == 'all' && format('{0} | Full Regression', inputs.version)) || format('{0} | {1}', inputs.version, inputs.suite) }}
${{ !contains(inputs.package, 'arm64') && !contains(inputs.package, 'aarch64') && ' | x86' || '' }}
${{ !contains(inputs.package, 'x86') && !contains(inputs.package, 'amd64') && ' | ARM' || '' }}
${{ 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:24.3.5.48.altinitytest
version:
description: "π― Expected version. Example: 23.3.1.64"
type: string
required: true
default: 24.3.5.48.altinitytest
flags:
description: "π© Flags"
type: choice
options:
- "--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_lakes
- data_types
- datetime64_extended_range
- disk_level_encryption
- dns
- engines
- example
- extended_precision_data_types
- functions
- kafka
- kerberos
- key_value
- ldap
- lightweight_delete
- memory
- parquet_all
- parquet
- parquet_minio
- parquet_s3
- part_moves_between_shards
- rbac
- s3_all
- s3_aws
- s3_gcs
- s3_minio
- selects
- session_timezone
- ssl_server
- tiered_storage_all
- tiered_storage_aws
- tiered_storage_gcs
- tiered_storage_local
- tiered_storage_minio
- window_functions
artifacts:
description: "Artifact S3 bucket"
type: choice
options:
- public
- 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
jobs:
x86:
if: ${{ !contains(inputs.package, 'arm64') && !contains(inputs.package, 'aarch64') }}
uses: ./.github/workflows/reusable-workflow-x86.yml
secrets: inherit
with:
package: ${{ inputs.package }}
version: ${{ inputs.version }}
suite: ${{ inputs.suite }}
artifacts: ${{ inputs.artifacts }}
output_format: ${{ inputs.output_format }}
ref: ${{ inputs.ref }}
extra_args: ${{ inputs.flags }} ${{ inputs.extra_args }}
artifact_name: x86
arm:
if: ${{ !contains(inputs.package, 'x86') && !contains(inputs.package, 'amd64') }}
uses: ./.github/workflows/reusable-workflow-arm.yml
secrets: inherit
with:
package: ${{ inputs.package }}
version: ${{ inputs.version }}
suite: ${{ inputs.suite }}
artifacts: ${{ inputs.artifacts }}
output_format: ${{ inputs.output_format }}
ref: ${{ inputs.ref }}
extra_args: ${{ inputs.flags }} ${{ inputs.extra_args }}
artifact_name: arm