Table of Contents |
---|
Jenkins Tool Registration
Tool Registry-> New Tool
...
Create New Tool->Select Jenkins
Enter a tool name → Click “Create”
...
Summary of New tool created is displayed
Click “Connections” tab → Enter values → click save
...
Click “Test Connection”
...
Pipeline
Flow: Build → Artifact → Deploy
Docker Build → ECR Push / ACR Push / Nexus Push → ArgoCD Deploy → Approval Gate(for Blue/green)
Docker Build Job Configuration sample screenshot
...
ECR Push step configuration sample screenshot
...
Nexus Push step configuration sample screenshot
...
RollBack
Argo deploy step configuration with Rollback sample screenshot
Rollback - When this step is enabled , rollback will happen automatically by deploying the artifact which is pointed to the artifacts.
Repository Tag - Select the repository or run to rollback to
...
Blue/Green Deployment
Blue Green Deployment - Argo CD Blue Green Deployment helps users run multiple versions of services at a time and enables customers to make zero downtime deployments. This toggle can be enabled to identify this deployment as a Blue Green Deployment.
Cluster Creation: Enable Blue green deployment radio button
Argo deploy step configuration with Blue Green Deployment sample screenshot
...
Add Approval gate after Argo deploy step - save & run the pipeline
...
Save the step → Click Start Pipeline
...
Pipeline Logs are updated as the pipeline runs
...
Argo Tool
Project is synced
...
Updated POD is pointing if approved for Blue/Green
Earlier POD will be pointing if rejected for Blue/Green
Specified roll back version will be deployed if Rollback enabled
...