OpenSearch/elasticsearch
Colin Goodheart-Smithe 56e983b5f3 After auth with Vault retry until can see bucket (elastic/elasticsearch#4912)
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
2017-02-09 15:28:46 +00:00
..
bin/x-pack Build: Reorganize src roots 2016-10-01 09:46:43 +02:00
config/x-pack Expose logs base path 2017-01-16 07:40:29 -05:00
keys Collapsed license code into xpack src 2016-09-29 12:22:19 +02:00
src Moved job lifecycle over to persistent tasks 2017-02-09 16:20:34 +01:00
NOTICE.txt Moved directories around 2016-09-29 12:03:14 +02:00
build.gradle After auth with Vault retry until can see bucket (elastic/elasticsearch#4912) 2017-02-09 15:28:46 +00:00