[GHA] less logging while waiting for signed exe
This commit is contained in:
2
.github/scripts/sign-exe.sh
vendored
2
.github/scripts/sign-exe.sh
vendored
@@ -10,7 +10,7 @@ echo "Copying ${in_file} to s3 s3://${AWS_S3_BUCKET}/exes-to-sign/${id}.exe for
|
||||
aws s3 cp $in_file s3://$AWS_S3_BUCKET/exes-to-sign/$id.exe --no-progress
|
||||
for (( i=wait_time; i<timeout; i+=wait_time )) ; {
|
||||
sleep $wait_time
|
||||
object_exists=$(aws s3api head-object --bucket $CDN_BUCKET --key spring-tools/exes-signed/$id.exe || true)
|
||||
object_exists=$(aws s3api head-object --bucket $CDN_BUCKET --key spring-tools/exes-signed/$id.exe > /dev/null 2>&1 || true)
|
||||
if [ -z "$object_exists" ]; then
|
||||
echo "Waited ${i} seconds but ${in_filename} hasn't been signed yet..."
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user