الملفات
ghaymah-exam-MohamedSaleh-SRE/q3-cicd/README.md
root 0b1ce7d0e9 Q3
2026-07-26 23:26:31 +00:00

61 أسطر
932 B
Markdown

# CI/CD Documentation
## 1. Staging Environment
- Used for testing new releases.
- Verifies integration before production.
- Safe environment for developers.
- May contain test data.
---
## 2. Production Environment
- Live environment serving end users.
- Requires manual approval before deployment.
- High availability and monitoring.
- Uses real production data.
---
## Difference Between Staging and Production
| Staging | Production |
|----------|------------|
| Testing | Live |
| Test Data | Real Data |
| Developers | End Users |
| Frequent Changes | Stable Releases |
---
## Ghaymah CLI Integration
### Login
```bash
ghaymah login
```
### Initialize Project
```bash
ghaymah init
```
### Deploy
```bash
ghaymah deploy
```
### Check Status
```bash
ghaymah status
```
### Manual Approval
Production deployments require approval using GitHub Environment Protection Rules before executing the deployment job.