Merge pull request #3481 from flatcar/kai/release-bucket-failure

ci-automation/release.sh: Skip bucket copy on failure until it works
This commit is contained in:
Kai Lüke 2025-11-12 08:38:57 +01:00 committed by GitHub
commit b1ba1c8f21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,12 +170,12 @@ function copy_from_bincache_to_bucket() {
echo "${RCLONE_CONFIGURATION_FILE}" | base64 --decode > "${rclone_configuration_file}"
echo "Copying the images from bincache to CloudFlare bucket"
docker run --rm \
docker run --rm --net host \
-v "${rclone_configuration_file}:/opt/rclone.conf:ro" \
docker.io/rclone/rclone:1.71.1 \
--config "/opt/rclone.conf" \
sync \
--http-url "https://${BUILDCACHE_SERVER}/images/${arch}/${version}" :http: "r2:flatcar/${channel}/${arch}-usr/${version}"
--http-url "https://${BUILDCACHE_SERVER}/images/${arch}/${version}" :http: "r2:flatcar/${channel}/${arch}-usr/${version}" || { echo "ERROR: Skipping bucket copy due to failure" ; }
)
}