summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-01-06 18:28:32 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2023-01-06 18:30:55 +0100
commit4f3ef44f1e06e0ccd1797283663096cdf4a62237 (patch)
tree2ec67597a5143af3fe0297ecc6d0f0b650d6333e /utils
parentccd6e3781dee56ab6c58a19a1617f65564acfa8a (diff)
Leverage s3 as lf-build5 and 6 are down
Change-Id: I18542f425dcbe585b1bb494bd89a66f7e7e962ee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/retention_script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/retention_script.sh b/utils/retention_script.sh
index 3d0673ad0..4a06b002c 100755
--- a/utils/retention_script.sh
+++ b/utils/retention_script.sh
@@ -29,7 +29,7 @@ do
if [[ "$daysold" -gt "10" ]]; then
echo "$daysold Days old deleting: $(basename $artifact)"
- gsutil rm "$artifact"
+ s4cmd del --endpoint-url https://storage.googleapis.com "$artifact"
else
echo "$daysold Days old retaining: $(basename $artifact)"
fi