Skip to content

chore: use TOML config with buildx to avoid DockerHub rate limits #2002

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

Conversation

lemeurherveCB
Copy link
Contributor

@lemeurherveCB lemeurherveCB commented Mar 25, 2025

This PR uses TOM config with buildx if executed on CI and if /etc/buildkitd.toml file exists to use registry mirrors.

Pipeline reformated as there were a mix of tabs and spaces rendering the indentation less readable.
(Review with whitespace hidden: https://github.com/jenkinsci/docker/pull/2002/files?diff=unified&w=1)
(Extracted in #2003)

Similar to:

Ref:

Testing done

make docker-init + CI

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@lemeurherveCB lemeurherveCB changed the title fix: use TOML config with buildx to avoid DockerHub rate limits chore: use TOML config with buildx to avoid DockerHub rate limits Mar 25, 2025
Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

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

Please, focus the PR on the described change. If you see things to be improved, send a distinct PR which states the reason of the change.

Right now it is +180 -173. It is an insane amount of unrelated changes

@lemeurherveCB

This comment was marked as resolved.

@lemeurherveCB lemeurherveCB mentioned this pull request Mar 25, 2025
6 tasks
@lemeurherveCB lemeurherveCB force-pushed the helpdesk4585-use-toml-config-with-buildx-to-avoid-docker-rate-limit branch from 4a49ff1 to a290a2a Compare March 25, 2025 19:55
@lemeurherveCB
Copy link
Contributor Author

Please, focus the PR on the described change. If you see things to be improved, send a distinct PR which states the reason of the change.

Right now it is +180 -173. It is an insane amount of unrelated changes

Extracted in #2003 🙂

@lemeurherveCB lemeurherveCB force-pushed the helpdesk4585-use-toml-config-with-buildx-to-avoid-docker-rate-limit branch from a290a2a to 6acbf56 Compare March 25, 2025 19:56
@lemeurherveCB

This comment was marked as resolved.

@lemeurherveCB lemeurherveCB marked this pull request as ready for review March 25, 2025 21:13
@lemeurherveCB lemeurherveCB requested a review from a team as a code owner March 25, 2025 21:13
@lemeurherveCB lemeurherveCB requested a review from dduportal March 25, 2025 21:23
@dduportal
Copy link
Contributor

Looks good! Can you fix the conflicts though?

@lemeurherveCB
Copy link
Contributor Author

Looks good! Can you fix the conflicts though?

Done.

Co-authored-by: Damien Duportal <[email protected]>
@dduportal
Copy link
Contributor

LGTM! Many thanks!

@dduportal dduportal merged commit c24bef2 into jenkinsci:master Mar 26, 2025
12 checks passed
@lemeurherveCB lemeurherveCB deleted the helpdesk4585-use-toml-config-with-buildx-to-avoid-docker-rate-limit branch March 26, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants