You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ! aws s3 cp "${SRC_URL}/${ARM_PATH}/clickhouse-common-static-${{ inputs.package_version }}-arm64.tgz" clickhouse-common-static.tgz; then
118
+
echo "Failed to download clickhouse-common-static tar"
119
+
exit 1
120
+
fi
121
+
122
+
tar -xvf clickhouse-common-static.tgz
123
+
124
+
if readelf -S "clickhouse-common-static-${{ inputs.package_version }}/usr/bin/clickhouse" | grep -q '\.symtab'; then
125
+
echo "✓ Binary has symtable"
126
+
else
127
+
echo "✗ Binary is missing symtable"
128
+
exit 1
129
+
fi
107
130
108
131
echo "Uploading processed binaries..."
109
132
if ! aws s3 cp clickhouse "${SRC_URL}/${ARM_PATH}/arm64-bin/non-self-extracting/"; then
@@ -114,6 +137,10 @@ jobs:
114
137
echo "Failed to upload stripped clickhouse binary"
115
138
exit 1
116
139
fi
140
+
if ! aws s3 cp "clickhouse-common-static-${{ inputs.package_version }}/usr/bin/clickhouse" "${SRC_URL}/${ARM_PATH}/arm64-bin/non-self-extracting/clickhouse-with-symtable"; then
141
+
echo "Failed to upload clickhouse-with-symtable binary"
142
+
exit 1
143
+
fi
117
144
118
145
copy-packages:
119
146
needs: extract-package-info
@@ -177,8 +204,32 @@ jobs:
177
204
echo "Running clickhouse binary..."
178
205
./clickhouse -q'q'
179
206
180
-
echo "Stripping the binary..."
181
-
strip clickhouse -o clickhouse-stripped
207
+
echo "Downloading clickhouse-stripped binary..."
208
+
if ! aws s3 cp "${DEST_URL}/packages/AMD_PACKAGES/amd64-bin/clickhouse-stripped" clickhouse-stripped; then
209
+
echo "Failed to download clickhouse-stripped binary"
if ! aws s3 cp "${DEST_URL}/packages/AMD_PACKAGES/clickhouse-common-static-${{ inputs.package_version }}-amd64.tgz" clickhouse-common-static.tgz; then
221
+
echo "Failed to download clickhouse-common-static tar"
222
+
exit 1
223
+
fi
224
+
225
+
tar -xvf clickhouse-common-static.tgz
226
+
227
+
if readelf -S "clickhouse-common-static-${{ inputs.package_version }}/usr/bin/clickhouse" | grep -q '\.symtab'; then
228
+
echo "✓ Binary has symtable"
229
+
else
230
+
echo "✗ Binary is missing symtable"
231
+
exit 1
232
+
fi
182
233
183
234
echo "Uploading processed binaries..."
184
235
if ! aws s3 cp clickhouse "${DEST_URL}/packages/AMD_PACKAGES/amd64-bin/non-self-extracting/"; then
@@ -189,6 +240,10 @@ jobs:
189
240
echo "Failed to upload stripped clickhouse binary"
190
241
exit 1
191
242
fi
243
+
if ! aws s3 cp clickhouse-common-static-${{ inputs.package_version }}/usr/bin/clickhouse "${DEST_URL}/packages/AMD_PACKAGES/amd64-bin/non-self-extracting/clickhouse-with-symtable"; then
244
+
echo "Failed to upload stripped clickhouse binary"
0 commit comments