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:
- Install the Ghaymah CLI.
- Authenticate using your account credentials.
- Login to the Ghaymah Container Registry.
- Push the Docker image.
- Deploy the latest image to the production environment.
Example commands:
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.