Skip to content

CLOUDP-333692: Re-design images building #209

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

Draft
wants to merge 33 commits into
base: atomic-releases
Choose a base branch
from

Conversation

Julien-Ben
Copy link
Collaborator

@Julien-Ben Julien-Ben commented Jun 20, 2025

Re-design images building

Changes

Usage of standalone Dockerfiles

Added in a previous PR, they eliminate the need for templating, and make it possible to retire Sonar once the Epic is completed.

Building with docker buildx, multi-platform builds

In build_images.py we use docker buildx through a python API. It eliminates the need for building images separately for each platform, and manually bundling them in a manifest.

Handle build environments explicitly,

Each build scenario, such as merge to master or a local patch, is handled and defined explicitly, at top level, in the main.py CLI. All options are inferred from the environment as before, but can be overridden through flags.
They define parameters such as registry, image tag, signing enabled ...

Proof of work

CI

Note

For the duration of the Atomic Releases epic, both pipelines will be in the repository, until we are done with the staging and promotion process. For now, this new system only work for patches (local, PR, merge to master).
Releases and daily builds still happen with the legacy pipeline.py, the function legacy_pipeline was created in .evergreen-functions.yml for this.

Once the Epic is complete, we'll be able to remove:

  • Sonar
  • Inventories
  • Periodic builds
  • pipeline.py

@Julien-Ben Julien-Ben changed the title Julien ben/ar push staging JCLOUDP-333692ulien ben/ar push staging Jul 25, 2025
@Julien-Ben Julien-Ben changed the title JCLOUDP-333692ulien ben/ar push staging CLOUDP-333692: Re-design images building Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants