snippets/get_from_s3.erb in dockly-1.13.0 vs snippets/get_from_s3.erb in dockly-2.0.0

- old
+ new

@@ -3,9 +3,9 @@ output_path="<%= data[:output_path] %>" log "fetch: starting to fetch $s3_path" for attempt in {1..200}; do [[ $worked != 0 ]] || break log "fetch: attempt ${attempt} to get $s3_path ..." - s3cmd -f get $s3_path $output_path 2> >(log) && worked=0 || (log "fetch: attempt failed, sleeping 30"; sleep 30) + aws s3 cp --quiet $s3_path $output_path 2> >(log) && worked=0 || (log "fetch: attempt failed, sleeping 30"; sleep 30) done [[ $worked != 0 ]] && fatal "fetch: failed to pull deb from S3" log "fetch: successfully fetched $s3_path"