Skip to content

Allow specifying image platform to pull images

Duplicate of !3908 (closed)

What does this MR do?

Allows specifying image platform to pull images with a specific platform.

Why was this MR needed?

To allow different architecture images to be used on systems that support multi architectures

Business Rationale:

  • ARM architecture on some clouds is MUCH more cost effective (and therefore sustainable) - for instance, AWS Graviton 3 uses 60% less energy and costs 20% less than x86 equivalents (https://aws.amazon.com/ec2/graviton/). This could reduce the carbon footprint of gitlab.com and therefore support ESG as well as do the same for customers.
  • Since much of GitLab standard DevOps componentry (e.g. SAST) only supports x86 containers, enabling platform switching would enable all those containers without having to maintain them in both arches - improving people efficiency at both GitLab and customers who have the desire not to maintain containers in multiple hardware arches.
  • Customers would not have to run multiple runners to access both arches - reducing management overheads.
  • GitLab, ARM and a major cloud company are all going to be focusing on ARM runners for vECU development to support the Software Defined Vehicle (SDV) and GitLab's Automotive Working Group.

What's the best way to test this MR?

What are the relevant issue numbers?

#28653 (closed) and #27919 (closed)

Edited by DarwinJS

Merge request reports