PMM: build pmm-server for arm64#4248
Draft
EvgeniyPatlan wants to merge 1 commit into
Draft
Conversation
pmm3-server-autobuild becomes a parent that runs two new per-arch jobs (pmm3-server-autobuild-amd, pmm3-server-autobuild-arm) in parallel and merges the images into a multi-arch manifest, same layout as the client autobuild. Watchtower is built for both arches as well. API tests, image scanning, staging and package testing get arch parameters.
ademidoff
reviewed
Jul 14, 2026
| for arch in amd64 arm64; do | ||
| rm -rf ctx-${arch} | ||
| mkdir -p ctx-${arch}/dockerfiles | ||
| cp watchtower-${arch} ctx-${arch}/watchtower |
Member
There was a problem hiding this comment.
Let's remove everything related to Watchtower as it is being discontinued.
Collaborator
Author
There was a problem hiding this comment.
@ademidoff it is just test job so it really now copies the old behavior. Sure we can remove this job. But I suggest keeping it for now so it would be possible to test with and without watchtower,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a native arm64 build of pmm-server v3, following the same layout we already use for the client:
All of this was tested from a test branch with separate -test job copies and -test docker tags before opening this PR: the multi-arch manifest builds, api tests are green on both arches, an arm64 staging instance comes up with server+watchtower+client working, package tests ran against it.
Depends on percona/pmm#5630 - without the arch-namespaced S3 build cache the arm build downloads cached x86_64 rpms and skips building. Merge that one first.
Two new jobs need to be registered when this merges: pmm3-server-autobuild-amd and pmm3-server-autobuild-arm (pipeline from SCM, master, script paths match the file names).
Not in this PR, follow-ups: