Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unify pg-build-nonroot-with-cargo base layer and config retries in curl #10575

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fedordikarev
Copy link
Contributor

Ref: https://github.com/neondatabase/cloud/issues/23461

Problem

Just made changes around and see these 2 base layers could be optimised.

and after review comment from @myrrc setting up timeouts and retries in alpine/curl image

Summary of changes

@fedordikarev fedordikarev requested a review from myrrc January 30, 2025 04:10
@fedordikarev fedordikarev requested a review from a team as a code owner January 30, 2025 04:10
Copy link

github-actions bot commented Jan 30, 2025

7414 tests run: 7062 passed, 0 failed, 352 skipped (full report)


Flaky tests (6)

Postgres 17

Code coverage* (full report)

  • functions: 33.3% (8511 of 25522 functions)
  • lines: 49.1% (71481 of 145605 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
194092b at 2025-01-30T15:04:33.025Z :recycle:

Comment on lines 1280 to 1281
RUN echo -e "--retry-connrefused\n--connect-timeout 15\n--retry 5\n--max-time 300\n" > /root/.curlrc
RUN if [ "$TARGETARCH" = "amd64" ]; then\
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you stack it with the next command please to avoid creating extra layer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for pointing, fixed!

@fedordikarev fedordikarev requested a review from myrrc January 30, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants