From 4f88ca8183d3d44c87d6024095ef2f8f7c81eb8b Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Wed, 30 Nov 2022 21:52:34 -0600 Subject: [PATCH 1/3] bump: Bump rclone to 1.60.1, bump alpine to 3.17 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb7da5a..15a2316 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM alpine:3.11 +FROM alpine:3.17 LABEL maintainer="Drew Short " -ARG rclone_version=v1.50.2 +ARG rclone_version=v1.60.1 ARG rclone_arch=amd64 RUN apk update \ @@ -24,4 +24,4 @@ COPY ./assets/* /opt/resource/ RUN chmod 755 /opt/resource/check \ && chmod +x /opt/resource/in \ - && chmod +x /opt/resource/out \ No newline at end of file + && chmod +x /opt/resource/out From 8dcf2568d710902dde91c503fbeaa4d4ed2d1b1c Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Thu, 1 Dec 2022 10:33:47 -0600 Subject: [PATCH 2/3] README: Cleanup documentation, change to registry-image type --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4f9f17d..6eed810 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,9 @@ for tagged image versions available. ```bash resource_types: - name: rclone - type: docker-image + type: registry-image source: - repository: sothr/concourse-rclone-resource + repository: docker.io/sothr/concourse-rclone-resource tag: latest ``` @@ -115,4 +115,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file +limitations under the License. From c11f22d705dd177a1fc089d772371a57e5691e0a Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sun, 4 Dec 2022 22:41:43 -0600 Subject: [PATCH 3/3] rclone: drop size-only flag. This creates confusing results. * Lots of things have identical sizes and differing contents, this is a really confusing default setting and counters the rclone default behaviour --- assets/out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/out b/assets/out index 3a4c351..cab780e 100644 --- a/assets/out +++ b/assets/out @@ -111,7 +111,7 @@ for destination in $destinations; do fi echo "Target: ${rclone_target}" # shellcheck disable=2086 - rclone ${rclone_command} "${rclone_source}" "${rclone_target}" --size-only --progress --stats=2s ${rclone_args} + rclone ${rclone_command} "${rclone_source}" "${rclone_target}" --progress --stats=2s ${rclone_args} copy_rc=$? if [[ -n "${rclone_sleep}" ]]; then sleep ${rclone_sleep} @@ -206,4 +206,4 @@ else digest: $( echo -n "sha256:${sha256}" | jq -R . ) } }" >&3 -fi \ No newline at end of file +fi