Add CI/CD pipeline documentation

هذا الالتزام موجود في:
2026-07-28 21:14:12 +00:00
الأصل 8033a1e7fa
التزام fce4707aab
2 ملفات معدلة مع 88 إضافات و0 حذوفات

32
docs/environments.md Normal file
عرض الملف

@@ -0,0 +1,32 @@
# Staging vs Production
## Staging Environment
Purpose:
- Testing before release.
- Validate new features.
- Detect bugs.
- Verify Docker images.
- Run integration tests.
Characteristics:
- Mirrors production.
- Uses test data.
- Safe for experimentation.
- Developers and QA have access.
---
## Production Environment
Purpose:
- Serve real users.
- Provide stable services.
- High availability.
- Performance optimized.
Characteristics:
- Uses real data.
- Restricted access.
- Monitored continuously.
- Requires approval before deployment.

56
docs/ghaymah-cli.md Normal file
عرض الملف

@@ -0,0 +1,56 @@
# Ghaymah CLI Integration
## Install the CLI
```bash
curl -fsSL https://ghaymah.systems/install.sh | bash
```
---
## Login
```bash
ghaymah login
```
---
## Verify Login
```bash
ghaymah whoami
```
---
## Build Docker Image
```bash
docker build -t ghaymah-sre-api .
```
---
## Push Image
```bash
docker push registry.ghaymah.systems/<username>/ghaymah-sre-api:latest
```
---
## Deploy
```bash
ghaymah deploy \
--image registry.ghaymah.systems/<username>/ghaymah-sre-api:latest
```
---
## Check Deployment
```bash
ghaymah apps list
```