From e059edae3ac4dbf69aed1f1dcb1b3dc1056d4eac Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 6 Jan 2023 18:47:23 +0100 Subject: Revert to gsutil MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Everything is hardcoded to gsutil. A bigger change would be required. Change-Id: I5f49b83e5834294ed925c34984a4754f37c0a458 Signed-off-by: Cédric Ollivier --- utils/retention_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/retention_script.sh b/utils/retention_script.sh index 4a06b002c..3d0673ad0 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)" - s4cmd del --endpoint-url https://storage.googleapis.com "$artifact" + gsutil rm "$artifact" else echo "$daysold Days old retaining: $(basename $artifact)" fi -- cgit 1.2.3-korg