Naming Conventions for Production Environments
Naming conventions are a crucial aspect of software development, providing consistency and clarity in various stages of the development lifecycle. In this article, we will explore the most common naming conventions for production environments, focusing on GitLab CI/CD, GitHub Actions, domain names, branch names, Docker Compose files, and Dockerfile names.
Naming | Common Convention |
---|---|
GitLab CI/CD Convention | prod |
GitHub Actions Convention | prod |
Domain Names | example.com |
Branch Names | main/master |
Docker Compose Files | docker-compose.yml |
Dockerfile Names | Dockerfile |
GitLab CI/CD Convention
In GitLab CI/CD, the convention for naming pipeline stages in production environments commonly involves using “prod” as the keyword. This convention ensures that pipeline stages are easily identifiable and aligned with the production deployment process.