Skip to content

Conversation

@MaciejKaras
Copy link
Collaborator

@MaciejKaras MaciejKaras commented Oct 20, 2025

Summary

Key changes include:

  • Added support for IBM Power and IBM Z architectures with podman builder configuration
  • Updated repository URLs from quay.io/mongodb/mongodb-kubernetes-tests to 268558157000.dkr.ecr.us-east-1.amazonaws.com/staging/mongodb-kubernetes-tests for release scenarios. This will prevent meko-test image to be available also for our customers
  • Enhanced build pipeline to support both Docker and Podman builders for different architectures

Proof of Work

Staging job is successful -> https://spruce.mongodb.com/version/69033a1e9701b900075d742f (ignore ibm z which is disabled in updated code)

Release job is successful -> https://spruce.mongodb.com/version/69036de79701b900075df4de (ignore GKE code snippets tasks, they need different fix. create_chart_release_pr will fail due to missing tag)

We are not ready yet to enable smoke tests for IBM Z, because our evergreen machines are unstable -> https://jira.mongodb.org/browse/DEVPROD-23283

Checklist

  • Have you linked a jira ticket and/or is the ticket in the title?
  • Have you checked whether your jira ticket required DOCSP changes?
  • Have you added changelog file?

@MaciejKaras MaciejKaras added the skip-changelog Use this label in Pull Request to not require new changelog entry file label Oct 20, 2025
@github-actions
Copy link

github-actions bot commented Oct 20, 2025

⚠️ (this preview might not be accurate if the PR is not rebased on current master branch)

MCK 1.6.0 Release Notes

New Features

  • MongoDBCommunity: Added support to configure custom cluster domain via newly introduced spec.clusterDomain resource field. If spec.clusterDomain is not set, environment variable CLUSTER_DOMAIN is used as cluster domain. If the environment variable CLUSTER_DOMAIN is also not set, operator falls back to cluster.local as default cluster domain.
  • Helm Chart: Introduced two new helm fields operator.podSecurityContext and operator.securityContext that can be used to configure securityContext for Operator deployment through Helm Chart.
  • MongoDBSearch: Switch to gRPC and mTLS for internal communication
    Since MCK 1.4 the mongod and mongot processess communicated using the MongoDB Wire Protocol and used keyfile authentication. This release switches that to gRPC with mTLS authentication. gRPC will allow for load-balancing search queries against multiple mongot processes in the future, and mTLS decouples the internal cluster authentication mode and credentials among mongod processes from the connection to the mongot process. The Operator will automatically enable gRPC for existing and new workloads, and will enable mTLS authentication if both Database Server and MongoDBSearch resource are configured for TLS.

Bug Fixes

  • Fixed parsing of the customEnvVars Helm value when values contain = characters.
  • ReplicaSet: Blocked disabling TLS and changing member count simultaneously. These operations must now be applied separately to prevent configuration inconsistencies.

Other Changes

  • Simplified MongoDB Search setup: Removed the custom Search Coordinator polyfill (a piece of compatibility code previously needed to add the required permissions), as MongoDB 8.2.0 and later now include the necessary permissions via the built-in searchCoordinator role.
  • kubectl-mongodb plugin: cosign, the signing tool that is used to sign kubectl-mongodb plugin binaries, has been updated to version 3.0.2. With this change, released binaries will be bundled with .bundle files containing both signature and certificate information. For more information on how to verify signatures using new cosign version please refer to -> https://github.com/sigstore/cosign/blob/v3.0.2/doc/cosign_verify-blob.md

@MaciejKaras MaciejKaras force-pushed the maciejk/ar-image-release-smoke-tests branch from 411ad0d to 0937335 Compare October 29, 2025 15:40
@MaciejKaras MaciejKaras requested a review from Copilot October 30, 2025 10:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR re-enables multi-architecture (IBM Z and IBM Power) smoke tests for release builds by migrating the meko-test image from the public Quay.io registry to a staging ECR repository. This prevents test images from being publicly available to customers during release processes.

Key changes include:

  • Added support for IBM Power and IBM Z architectures with podman builder configuration
  • Updated repository URLs from quay.io/mongodb/mongodb-kubernetes-tests to 268558157000.dkr.ecr.us-east-1.amazonaws.com/staging/mongodb-kubernetes-tests for release scenarios
  • Enhanced build pipeline to support both Docker and Podman builders for different architectures

Reviewed Changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
scripts/release/tests/build_info_test.py Updates test configurations to include IBM Power and Z architectures with staging ECR repositories
scripts/release/pipeline.py Adds new image constants and builder support, updates argument parsing for skip-if-exists flag
scripts/release/build/build_info.py Adds builder constants and integrates builder field into ImageInfo configuration
scripts/release/atomic_pipeline.py Implements podman build support alongside existing Docker functionality
build_info.json Defines multi-arch image configurations with staging repositories for release scenarios
.evergreen.yml Updates build variants and tasks to support separate IBM Power and Z builds
.evergreen-release.yml Creates dedicated release variants for multi-arch smoke testing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MaciejKaras MaciejKaras force-pushed the maciejk/ar-image-release-smoke-tests branch from 04bdb0a to 0dbe506 Compare October 30, 2025 10:20
@MaciejKaras MaciejKaras force-pushed the maciejk/ar-image-release-smoke-tests branch from 0dbe506 to 19d5534 Compare October 30, 2025 10:28
@MaciejKaras MaciejKaras marked this pull request as ready for review October 31, 2025 08:31
@MaciejKaras MaciejKaras requested a review from a team as a code owner October 31, 2025 08:31
@MaciejKaras MaciejKaras requested review from anandsyncs, lucian-tosa, nammn and viveksinghggits and removed request for nammn October 31, 2025 08:31
architecture_suffix=True,
),
"meko-tests-ibm-z": ImageInfo(
repositories=["268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes-tests"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: It would be better to use constants for the repetitive dev and staging repos.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we could but it's also nice to see all the repositories explicitly. Also each image type has different repository and that would mean creating x3 (per environment) constants. I don't think it's worth to do it.

Copy link
Contributor

@anandsyncs anandsyncs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, there is one nit and another issue the Lucian already mentioned:
https://github.com/mongodb/mongodb-kubernetes/pull/539/files#r2490868628

logger.debug(f"Build args: {build_args}")

# Use buildx for multi-platform builds
@staticmethod
Copy link
Contributor

@lucian-tosa lucian-tosa Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: not sure why static is needed. You are using an instance of the class anyway

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what IDE suggested, because the method was only called internally from the class and self in the method signature was unused. I guess this is idiomatic way.

@MaciejKaras MaciejKaras merged commit e508eec into master Nov 5, 2025
25 of 29 checks passed
@MaciejKaras MaciejKaras deleted the maciejk/ar-image-release-smoke-tests branch November 5, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use this label in Pull Request to not require new changelog entry file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants