Skip to content

Commit 881803f

Browse files
authored
Increase postman upload timelines
1 parent 18fc9ee commit 881803f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/postman/scripts/upload-collection.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,13 @@ else
8080
--header 'X-API-Key: **********'
8181
--data ${collection_transformed_path}"
8282

83-
curl --show-error --fail --retry 5 --retry-all-errors --silent --request PUT \
83+
curl --show-error --fail --retry 10 --retry-all-errors --silent --request PUT \
8484
--location "https://api.getpostman.com/collections/${collection_id}" \
8585
--header "Content-Type: application/json" \
8686
--header "X-API-Key: ${POSTMAN_API_KEY}" \
87-
--data "@${collection_transformed_path}"
87+
--data "@${collection_transformed_path}" \
88+
--retry-delay 30 \
89+
--retry-max-time 300
8890
fi
8991

9092
popd -0

0 commit comments

Comments
 (0)