Skip to content

Conversation

@MaciejKaras
Copy link
Collaborator

@MaciejKaras MaciejKaras commented Oct 8, 2025

Summary

The main focus of PR is changing how the switch_context function is called. It is removed from most of the functions in .evergreen-functions.yml (setup_building_host, setup_building_host_minikube) and instead added directly to task and group variables in .evergreen.yml. This allows us to not create a synthetic and empty context file for each task in evergreen. Context file is mostly needed for e2e tasks and not for building images or preflight tasks for example.

Other changes:

  • Removed the preflight_om_image task from .evergreen-tasks.yml, which is was unnecessary - we run all preflights on master merges and PRs.
  • Additionally, several unused context files were deleted from the repository.

Proof of Work

Passing CI + tested staging in different PR run, because staging builds are not yet supported.

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 8, 2025
@github-actions
Copy link

github-actions bot commented Oct 8, 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 marked this pull request as ready for review October 8, 2025 15:11
@MaciejKaras MaciejKaras requested a review from a team as a code owner October 8, 2025 15:11
@MaciejKaras MaciejKaras requested review from anandsyncs, lsierant and lucian-tosa and removed request for anandsyncs October 8, 2025 15:11
@MaciejKaras MaciejKaras merged commit c45bc73 into master Oct 9, 2025
29 of 38 checks passed
@MaciejKaras MaciejKaras deleted the maciejk/refac-context-switch branch October 9, 2025 14:11
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