Open, free, and portable cloud. Elastic compute, block storage (non replicated), virtual networking, managed Postgres, and IAM services in public beta.
Retry downloading the boot image if it fails non-prod environment
The boot image download can fail due to various reasons, such as network. We
don't want it to cause failure in our E2E tests. This commit adds a retry logic
to the boot image download in the E2E tests. I didn't add the retry logic for
production case, because we might want to have a deeper look before blindly
retrying.
Clean up the temp file if image download fails
If the image download fails, the temp file is left behind, which breaks
the idempotency of the image download. This commit adds a cleanup step
to remove the temp file if the download fails.
Retry downloading the boot image if it fails non-prod environment The boot image download can fail due to various reasons, such as network. We don't want it to cause failure in our E2E tests. This commit adds a retry logic to the boot image download in the E2E tests. I didn't add the retry logic for production case, because we might want to have a deeper look before blindly retrying.
Clean up the temp file if image download fails If the image download fails, the temp file is left behind, which breaks the idempotency of the image download. This commit adds a cleanup step to remove the temp file if the download fails.