ci/fluster: Use the structured tag as the Fluster vector version
The strucutered tag replaces the need to have a separate FLUSTER_VECTORS_VERSION variable just to check if the vectors changed. Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34787>
This commit is contained in:
@@ -26,7 +26,7 @@ export SKIP_UPDATE_FLUSTER_VECTORS=false
|
||||
|
||||
check_fluster()
|
||||
{
|
||||
S3_PATH_FLUSTER="${S3_HOST}/${S3_KERNEL_BUCKET}/$1/${DATA_STORAGE_PATH}/fluster/${FLUSTER_VECTORS_VERSION}/vectors.tar.zst"
|
||||
S3_PATH_FLUSTER="${S3_HOST}/${S3_KERNEL_BUCKET}/$1/${DATA_STORAGE_PATH}/fluster/${FLUSTER_TAG}/vectors.tar.zst"
|
||||
if curl -L --retry 4 -f --retry-connrefused --retry-delay 30 -s --head \
|
||||
"https://${S3_PATH_FLUSTER}"; then
|
||||
echo "Fluster vectors are up-to-date, skip rebuilding them."
|
||||
|
||||
Reference in New Issue
Block a user