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

Feature: As a baseline developer, I want docker image builds to be multi-architecture in CI so they can be built together on a single node #179

Closed
6 tasks done
csun-cpointe opened this issue Jun 28, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@csun-cpointe
Copy link
Contributor

csun-cpointe commented Jun 28, 2024

Description

Currently we use the orphedomos maven plugin for all our docker builds. This does not support multi architecture builds, resulting is us performing two parallel aiSSEMBLE builds on the different architectures to create our docker images. By utilizing the fabric8 docker maven plugin for our docker builds, we can create images for both architectures in a single aiSSEMBLE build.

As part of enabling multi-architecture docker image builds effort, this issue will focus on enabling our CI to build multi-architecture docker images on a single node.

DOD

Acceptance criteria required to realize the requested feature

  • Turn on multi-architecture builds for the ci profile
  • Local builds should continue to function the same, building only the native architecture as the "main" image (no architecture specifier)
  • Ensure a manifest list is created as part of the build process
  • Update the JenkinsfileBuild.groovy script on the CI build branch to build on only one Jenkins node, and remove the manual manifest list creation logic
  • Update the JenkinsfileRelease.groovy script on the same branch similarly
  • Q: check if the fabric8 will create different platform tags for the docker image => A: No

Test Strategy/Script

References/Additional Context

A clear and concise description of any alternative solutions or features you've considered.
Add any other context, links, or screenshots about the feature request here.

@csun-cpointe csun-cpointe added the enhancement New feature or request label Jun 28, 2024
@csun-cpointe csun-cpointe self-assigned this Jun 28, 2024
@carter-cundiff
Copy link
Contributor

DOD looks good

@Cho-William
Copy link
Contributor

OTS passed

csun-cpointe added a commit that referenced this issue Jul 8, 2024
…e-build

#179 update ci profile to use fabric8 for multi-platform docker build
@carter-cundiff
Copy link
Contributor

Testing passed:
image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants