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

Update scripts to make our pgbouncer-related scripts multiplatform #30054

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Mar 12, 2023

The images were traditionally amd-only and they are used by the Helm Chart, however this means that if someone uses the chart on ARM, they have an emulated performance (16x slower or so).

This change switches our scripts to use the buildx and qemu (by default installed with Docker Desktop) to build and push multiplatform images.

Fixes: #29967


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:helm-chart Airflow Helm Chart label Mar 12, 2023
@potiuk potiuk force-pushed the fix-multi-platform-images-for-pgbouncers branch from 41868f5 to a6a94f5 Compare March 12, 2023 15:44
@potiuk potiuk requested a review from ephraimbuddy March 12, 2023 15:44
@potiuk potiuk force-pushed the fix-multi-platform-images-for-pgbouncers branch from a6a94f5 to ef1c18c Compare March 12, 2023 15:49
chart/newsfragments/30054.improvement.rst Outdated Show resolved Hide resolved
The images were traditionally amd-only and they are used by the
Helm Chart, however this means that if someone uses the chart on ARM,
they have an emulated performance (16x slower or so).

This change switches our scripts to use the buildx and qemu (by
default installed with Docker Desktop) to build and push
multiplatform images.

Fixes: apache#29967
@potiuk potiuk force-pushed the fix-multi-platform-images-for-pgbouncers branch from ef1c18c to 5708f2c Compare March 15, 2023 21:35
@potiuk potiuk merged commit 39cfc67 into apache:main Mar 15, 2023
@potiuk potiuk deleted the fix-multi-platform-images-for-pgbouncers branch March 15, 2023 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:helm-chart Airflow Helm Chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build our supporting images for chart in multi-platform versions
2 participants