Complete Q3: CI/CD Pipeline
هذا الالتزام موجود في:
43
q3-cicd/README.md
Normal file
43
q3-cicd/README.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# CI/CD Documentation
|
||||
|
||||
## Staging vs Production
|
||||
|
||||
### Staging Environment
|
||||
|
||||
- Used for testing new releases before production.
|
||||
- Contains test data.
|
||||
- Developers and testers verify application functionality.
|
||||
- Failures do not affect real users.
|
||||
|
||||
### Production Environment
|
||||
|
||||
- Used by real users.
|
||||
- Contains live data.
|
||||
- High availability and stability are required.
|
||||
- Every deployment should be approved before release.
|
||||
|
||||
---
|
||||
|
||||
## Ghaymah CLI Integration
|
||||
|
||||
Example deployment workflow:
|
||||
|
||||
1. Install the Ghaymah CLI.
|
||||
2. Authenticate using your account credentials.
|
||||
3. Login to the Ghaymah Container Registry.
|
||||
4. Push the Docker image.
|
||||
5. Deploy the latest image to the production environment.
|
||||
|
||||
Example commands:
|
||||
|
||||
```bash
|
||||
ghaymah login
|
||||
|
||||
ghaymah registry login
|
||||
|
||||
docker push ghaymah.systems/my-api:latest
|
||||
|
||||
ghaymah deploy
|
||||
```
|
||||
|
||||
> Note: The exact commands may vary depending on the installed version of the Ghaymah CLI.
|
||||
المرجع في مشكلة جديدة
حظر مستخدم