This repository was created for the Paris Salesforce Dev Group presentation on November 5th, 2025.
Presentation Title: Une CI/CD pour vos Agentforce : état des lieux
Presenter: @nabondance
The PDF: pdf
The video: Coming soon
This repository demonstrates a complete CI/CD pipeline for Salesforce Agentforce development, showcasing:
- ✅ Automated Agent Testing - Parallel execution with dynamic test discovery
- ✅ Scratch Org Pool Management - Efficient org provisioning using @flxbl-io/sfp
- ✅ Quality Gates - 75% test pass threshold enforcement
- ✅ GitHub Actions Integration - Complete PR validation and release workflow
- ✅ Production Deployment - Automated release to target org on merge
The demo showcases three main workflows:
Triggered on: Pull Requests to main
Setup → Deploy → Test Discovery → Parallel Testing → Validation → Cleanup
Triggered on: Pull Request merged to main
Setup → Authenticate → Deploy to Production Org
Name: "Prepare Pools" Triggered on: Manual/Scheduled
Authenticate → Prepare Pools (CI&Dev) → Configure Orgs
To know more about pool strategies, see the talk How Scratch Orgs Pools Fit Into Your Salesforce Strategy
- Fork this repository
- Set up secrets in your GitHub repo:
DEVHUB_SFDX_AUTH_URL: Your Dev Hub auth URLORG_SFDX_AUTH_URL: Your target org auth URL (for releases)
- Create a PR to see the validation pipeline in action
- Merge the PR to trigger the release workflow
- Watch the workflows execute automatically
Includes all Agentforce-related metadata types:
- GenAiPromptTemplate
- GenAiFunction
- GenAiPlugin
- Bot & BotBlock
- BotTemplate
- AiEvaluationDefinition
Optimized for CI/CD with:
- Quick org provisioning (10-day expiry)
- Agentforce features enabled
- Post-deployment automation
Pre-configured with:
- Agentforce features enabled
- Developer edition optimized
- Parallel Testing: Dynamic matrix generation for optimal performance
- Pool Management: Significant time savings vs on-demand org creation
- Quality Gates: Automated enforcement of testing standards
- Artifact Handling: Secure org authentication across jobs
- Error Handling: Robust failure scenarios and cleanup
- GitHub Actions: CI/CD orchestration
- Salesforce CLI: Metadata operations and testing
- @flxbl-io/sfp: Advanced DevOps capabilities
- pnpm: Fast package management
- Docker: Containerized execution environment
Feel free to open issues or start discussions about any aspect of this CI/CD approach! You can contact me directly on LinkedIn: Nathan Abondance
Note: This is a demonstration repository. Adapt the configurations to your organization's specific requirements before using in production.
Maintenance: I will try to keep this repo up-to-date with the latest Salesforce and Agentforce features, don't forget to star/follow it.
🫶
