packages: octez-node - multi distribution / multi arch support
What
This MR to be reviewed after !11693 (merged) add support to arm64 architectures.
Why
because also want arm64 architecture support
How
we use buildkit to amend and existing manifest to add multi arch support.
We build a matrix of two release for two architectures. Adding more debian flavor, releases and architectures in the future should just be a matter of adding value to the build matrix .
Manually testing the MR
Check if the cache is correctly used and that the arm64 packages are created.
You can use skopeo ( or simmilar tools to check if the image manifest is correct )
skopeo inspect docker://registry.gitlab.com/tezos/tezos/build-debian-unstable:latest-abate-debian-packages-2
check if "com.tezos.build-pipeline-id" correspond to the last pipeline.
docker buildx imagetools inspect registry.gitlab.com/tezos/tezos/build-debian-unstable:latest-abate-debian-packages-2
check if the image manifest contains the two images for arm64 and amd64
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by pietro