56e983b5f3
After authenticating with vault it can take time for the credentials to be propagated by the AWS API. previously we would just blindly wait for 10 seconds and then try to continue. This change introduces a retry loop where we will do a `headBucket` request every 0.5 seconds until the bucket is accessible or until we have tried 15 times. This means the build is only held up for at most 0.5 seconds after the bucket is accessible. This is a step towards the final solution since the authentication with vault still happens on every build in the configuraiton phase. A subsequent change will be made to move this out of the configuration phase so that it only runs when the dependencies are required. Original commit: elastic/x-pack-elasticsearch@ab3abba1ea |
||
---|---|---|
.. | ||
bin/x-pack | ||
config/x-pack | ||
keys | ||
src | ||
NOTICE.txt | ||
build.gradle |