الملفات
ghaymah-exam-abdelaziz-sre/q3-cicd/README.md

44 أسطر
907 B
Markdown

# 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.