Skip to content

Conversation

MaciejKaras
Copy link
Collaborator

@MaciejKaras MaciejKaras commented Sep 17, 2025

Summary

This PR is re-adding release tasks for readinessprobe and version-upgrade-post-start-hook. It is also bumping readinessprobe to 1.0.23 and version-upgrade-post-start-hook to 1.0.10. Next time when we are going to release the operator the readinessprobe and version-upgrade-post-start-hook are also going to be released, if the version was incremented. The new skip-if-exists flag in build_info.json makes sure we don't overwrite the tag if it already exists.

The pre-commit hook was run to update the readinessprobe to 1.0.23 and version-upgrade-post-start-hook to 1.0.10. This was based only on updating release.json respective values and running pre-commit script updated logic.

The mongodb-community-operator/conifg/ directory contained unused .yaml files that were also referencing readinessprobe and version-upgrade-post-start-hook - those I deleted. The mongodb-community-operator/conifg/samples/ were moved to public/samples/community/.

Proof of Work

Triggered release job -> https://spruce.mongodb.com/version/68ca8a70f93aab0007c723d3/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

...which pushes them to quay with -rc suffix:

  • quay.io/mongodb/mongodb-<REDACTED:macos_notary_keyid>-version-upgrade-post-start-hook:1.0.10-rc@sha256:082df2395b5a8ee4c89053a098b8b7b021b0cc5313d2090a2048e29aa13ffaea
  • quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.23-rc@sha256:85c0257d3f63921509878543db8aa91f53cdee1db8ce5e380984da60b9642dae

In the subsequent run the images were skipped as expected:

[2025/09/17 16:27:33.509] INFO     2025-09-17 14:27:33,509 [atomic_pipeline]  Image with tag quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.23-rc already exists. Skipping it.
[2025/09/17 16:27:33.509] INFO     2025-09-17 14:27:33,509 [atomic_pipeline]  All specified image tags already exist. Skipping build.

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 changed the base branch from master to maciejk/ar-image-staging September 17, 2025 09:16
@MaciejKaras MaciejKaras added the skip-changelog Use this label in Pull Request to not require new changelog entry file label Sep 17, 2025
Copy link

github-actions bot commented Sep 17, 2025

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

MCK 1.5.0 Release Notes

New Features

  • Improve automation agent certificate rotation: the agent now restarts automatically when its certificate is renewed, ensuring smooth operation without manual intervention and allowing seamless certificate updates without requiring manual Pod restarts.

Bug Fixes

  • MongoDBMultiCluster: fix resource stuck in Pending state if any clusterSpecList item has 0 members. After the fix, a value of 0 members is handled correctly, similarly to how it's done in the MongoDB resource.
  • MultiClusterSharded: Blocked removing non-zero member cluster from MongoDB resource. This prevents from scaling down member cluster without current configuration available, which could lead to unexpected issues.

@MaciejKaras MaciejKaras added skip-changelog Use this label in Pull Request to not require new changelog entry file and removed skip-changelog Use this label in Pull Request to not require new changelog entry file labels Sep 17, 2025
@MaciejKaras MaciejKaras marked this pull request as ready for review September 17, 2025 14:39
@MaciejKaras MaciejKaras requested a review from a team as a code owner September 17, 2025 14:39
@MaciejKaras MaciejKaras requested review from lsierant and nammn and removed request for a team September 17, 2025 14:39
# Conflicts:
#	scripts/dev/contexts/public_kind_code_snippets
# Conflicts:
#	scripts/dev/contexts/e2e_mdb_kind_ubi_cloudqa
#	scripts/dev/contexts/e2e_smoke_ibm_power
#	scripts/dev/contexts/e2e_smoke_ibm_z
#	scripts/dev/contexts/e2e_static_mdb_kind_ubi_cloudqa
#	scripts/dev/contexts/e2e_static_smoke_arm
#	scripts/dev/contexts/e2e_static_smoke_ibm_power
#	scripts/dev/contexts/e2e_static_smoke_ibm_z
#	scripts/dev/contexts/variables/om60_image
#	scripts/dev/contexts/variables/om70_image
#	scripts/dev/contexts/variables/om80_image
# Conflicts:
#	scripts/dev/contexts/migrate_all_agents
#	scripts/dev/contexts/preflight_release_images
#	scripts/dev/contexts/preflight_release_images_check_only
#	scripts/dev/contexts/release_agent
…ging

# Conflicts:
#	.evergreen-functions.yml
# Conflicts:
#	.evergreen-functions.yml
@MaciejKaras MaciejKaras requested review from mircea-cosbuc and removed request for nammn October 9, 2025 15:01
# Conflicts:
#	scripts/dev/contexts/root-context
Base automatically changed from maciejk/ar-image-staging to master October 9, 2025 16:40
# Conflicts:
#	.evergreen-functions.yml
#	.evergreen-release.yml
#	scripts/dev/contexts/evg-private-context
#	scripts/dev/contexts/root-context
@MaciejKaras MaciejKaras force-pushed the maciejk/ar-missing-releases branch from 3b0adf3 to c0ce4e8 Compare October 9, 2025 17:05
@MaciejKaras MaciejKaras merged commit 7f864b2 into master Oct 10, 2025
30 of 37 checks passed
@MaciejKaras MaciejKaras deleted the maciejk/ar-missing-releases branch October 10, 2025 10:18
@yardenshoham
Copy link

yardenshoham commented Oct 10, 2025

The docs in https://github.com/mongodb/mongodb-kubernetes/tree/master/docs/mongodbcommunity link to mongodb-community-operator/conifg/samples so those links 404 now

MaciejKaras added a commit that referenced this pull request Oct 10, 2025
@MaciejKaras
Copy link
Collaborator Author

@yardenshoham thanks for letting us know 💪

#519

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.

5 participants