File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -164,15 +164,13 @@ function copy_from_bincache_to_bucket() {
164164 local arch=" ${2} "
165165 local version=" ${3} "
166166
167- echo " Experimental (i.e ignore if it fails) - copy the images to CloudFlare bucket"
168- (
169- set +eu
170- rclone --config " ${RCLONE_CONFIGURATION_FILE} " \
171- sync \
172- --http-url " https://${BUILDCACHE_SERVER} /images/${arch} /${version} " :http: " r2:flatcar/${channel} /${arch} -usr/${version} "
173- # Exit the function cleanly for now:
174- true
175- )
167+ echo " Copy the images from bincache to CloudFlare bucket"
168+ docker run --rm -ti \
169+ -v " ${RCLONE_CONFIGURATION_FILE} :/opt/rclone.conf:ro" \
170+ docker.io/rclone/rclone:1.71.1 \
171+ --config " /opt/rclone.conf" \
172+ sync \
173+ --http-url " https://${BUILDCACHE_SERVER} /images/${arch} /${version} " :http: " r2:flatcar/${channel} /${arch} -usr/${version} "
176174 # Note: There is no "current" symlink and when switching the release to current we
177175 # could at a later stage (when the update payloads are selected in Nebraska) either
178176 # use folder copies where we delete the old "current" folder first, or we could
You can’t perform that action at this time.
0 commit comments