Overview

This document explains the Continuous Deployment (CD) process at DEVOPS. The CD pipeline is integrated with CI in the same Jenkinsfile but operates differently based on branch types. Pull request branches only run tests, while regular branches automatically deploy to Rancher environments after successful testing.

How the Pipeline Works

The Jenkins pipeline follows a simple rule to determine whether to deploy:

Regular Branches (feature_main, develop, main, etc.):

Rancher Environments

We maintain two Rancher clusters with different namespaces for various stages of development:

Rancher v2 Dev Environment

URL: https://rancher-v2-dev.DEVOPS.tech/dashboard/home

Namespaces:

Rancher ChatPB Environment

URL: https://rancher-chatpb-dev.DEVOPS.tech:4431/

Namespaces:

Naming Conventions and Standards

Deployment Workload Naming

The system automatically generates workload names using this pattern: