Skip to content

Conversation

@alpar-t
Copy link
Contributor

@alpar-t alpar-t commented Oct 18, 2019

Note that retries will not work if the connection is refused.
The version of curl in the base image does not support --retry-connrefused

Closes #48129

Note that retries will not work if the conncetion is refused.
The version of curl in the base image does not support `--retry-connrefused`
@alpar-t alpar-t added the :Delivery/Build Build or test infrastructure label Oct 18, 2019
@alpar-t alpar-t requested a review from mark-vieira October 18, 2019 14:36
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment, otherwise LGTM.

ENV JAVA_HOME /opt/jdk-${jdkVersion}

RUN curl -L --retry 8 -s ${jdkUrl} | tar -C /opt -zxf -
RUN curl -L --retry 8 -s ${jdkUrl} --continue-at - --output /tmp/jdk.tar.gz && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be worthwhile to use -S here so we can see the errors. Is there significant motivation for suppressing all output here? AFAIK this doesn't affect the image in any way.

@alpar-t
Copy link
Contributor Author

alpar-t commented Oct 21, 2019

@elasticmachine run elasticsearch-ci/2

@alpar-t
Copy link
Contributor Author

alpar-t commented Oct 22, 2019

@elasticmachine update branch

@alpar-t alpar-t merged commit a2a2667 into elastic:6.8 Oct 23, 2019
@alpar-t alpar-t deleted the docker-retries branch October 23, 2019 08:22
@pcsanwald
Copy link
Contributor

@atorok added 6.8.5 as this looks not to have made 6.8.4.

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v6.8.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants