Q3
هذا الالتزام موجود في:
60
q3-cicd/README.md
Normal file
60
q3-cicd/README.md
Normal file
@@ -0,0 +1,60 @@
|
||||
# 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.
|
||||
المرجع في مشكلة جديدة
حظر مستخدم