Purpose of Jobs in Ctrlplane
The primary purpose of jobs in Ctrlplane is to:- Reflect the status of external processes
- Provide a unified view of deployment activities
- Enable orchestration and coordination across different CI/CD tools
Job Creation Triggers
Jobs in Ctrlplane can be created by various events:- New releases
- New resources added to an environment
- Changes in filtering labels of an environment or resource
- Manual intervention
- Triggering of a runbook
Job Agents
Job agents are the key components that facilitate the integration between Ctrlplane and external CI/CD systems. When a job needs to be triggered, Ctrlplane uses the appropriate job agent to initiate the process in the underlying CI/CD tool. Job agents are responsible for:- Triggering jobs in the external system
- Keeping the job status in Ctrlplane synchronized with the external system
Benefits of Using Ctrlplane for Job Management
While it’s recommended to use the native interfaces of your CI/CD tools for real-time information, Ctrlplane offers several advantages:- Centralized View: Ctrlplane provides a unified interface to monitor jobs across different CI/CD platforms.
- Advanced Orchestration: Based on configured policies, resources, and environments, Ctrlplane can orchestrate complex deployment scenarios that may involve multiple CI/CD systems.
- Automated Triggering: Ctrlplane can automatically trigger jobs based on various events, reducing manual intervention.
- Cross-Platform Coordination: Ctrlplane can coordinate jobs across different CI/CD platforms, enabling more complex deployment strategies.
Best Practices
- Use Native Tools for Detailed Monitoring: While Ctrlplane provides status updates, use the native interfaces of your CI/CD tools for detailed, real-time information about job execution.
- Leverage Ctrlplane for Orchestration: Use Ctrlplane’s features to orchestrate complex deployment scenarios that involve multiple systems or stages.
- Regular Synchronization: Ensure that your job agents are configured to regularly synchronize status information between Ctrlplane and your CI/CD tools.