Skip to content

Resolve "Make build platform runtime tunable"

What does this MR do?

  • add ARCH_LIST parameter
  • depending on ARCH_LIST contents provision buildx agents correspondingly
  • alter "safety belt" logic allowing for mediaType: application/vnd.docker.distribution.manifest.v2+json in cases where ARCH_LIST lists only a single platform
  • default to building only amd64

Success criteria

  • pipeline produces working images amd64 for ARCH_LIST=amd64
  • pipeline produces working images for both amd64 and arm64 with ARCH_LIST=amd64,arm64

Related issues

Closes #630 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • When ready for review, MR is labeled "~workflow::ready for review" per the Distribution MR workflow

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
  • New dependencies are managed with dependencies.io
Edited by Dmytro Makovey

Merge request reports