mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-18 17:20:28 -04:00
ci: replace minio image
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -14,7 +14,7 @@ CODACY_COVERAGE_REPORTER = "codacy/codacy-coverage-reporter:14.1.3"
|
||||
COLLABORA_CODE = "collabora/code:24.04.5.1.1"
|
||||
OPEN_SEARCH = "opensearchproject/opensearch:2"
|
||||
INBUCKET_INBUCKET = "inbucket/inbucket"
|
||||
MINIO_MC = "minio/mc:RELEASE.2021-10-07T04-19-58Z"
|
||||
MINIO_MC = "quay.io/opencloudeu/minio-mc-ci:1.0"
|
||||
OC_CI_ALPINE = "owncloudci/alpine:latest"
|
||||
OC_CI_BAZEL_BUILDIFIER = "quay.io/opencloudeu/bazel-buildifier-ci:latest"
|
||||
OC_CI_CLAMAVD = "quay.io/opencloudeu/clamav-ci:latest"
|
||||
@@ -2843,7 +2843,7 @@ def purgeCache(name, flush_path, flush_age):
|
||||
"environment": MINIO_MC_ENV,
|
||||
"commands": [
|
||||
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
|
||||
"to_delete=$(mc find s3/%s/ --older-than %sd)" % (flush_path, flush_age),
|
||||
"to_delete=$(mc find s3/%s/ --older-than %sd || true)" % (flush_path, flush_age),
|
||||
'if [ -z "$to_delete" ]; then exit 0; fi',
|
||||
"mc rm $to_delete",
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user