Evergreen
DevOps & SecurityevergreenEvergreen is an Agent Skill for devops & security published in the mongodb/mongo-java-driver repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Evergreen CI infrastructure, configuration validation. Use when modifying .evergreen/ config, preparing to submit changes or understanding the Evergreen test matrix.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/mongodb/mongo-java-driver/blob/HEAD/.agents/skills/evergreen/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/evergreen, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Evergreen
Evergreen (MongoDB Internal CI)
Primary CI runs on MongoDB’s Evergreen system.
Configuration lives in .evergreen/.
- Do not modify
.evergreen/configuration without review - Evergreen runs the full test matrix across MongoDB versions, OS platforms, and JDK versions
Validating Evergreen Configuration
After modifying .evergreen/ files, validate the config locally:
evergreen validate .evergreen/.evg.yml
Always run this before submitting changes to .evergreen/ to catch syntax errors and invalid task definitions.
Testing with a Patch Build
To test your changes on Evergreen before merging, create a patch build:
evergreen patch -u
This uploads your uncommitted and committed local changes as a patch build on Evergreen, allowing you to run the full CI test matrix against your branch.