Quick Start Guide¶
This guide provides a quick overview of how to use the release strategy implemented in this repository.
Getting Started¶
Prerequisites¶
- Git
- kubectl
- Helm
- k3d (for local development)
- ArgoCD CLI
- GitHub CLI (gh)
Setting Up Your Environment¶
-
Clone the repository:
git clone https://github.com/datascientest-fastapi-project-group-25/fastAPI-project-release.git cd fastAPI-project-release -
Set up a local Kubernetes cluster with ArgoCD:
./scripts/setup-local-k3d-argocd.sh -
Set up ArgoCD API key and GitHub secrets:
./scripts/setup-argocd-github.sh
Development Workflow¶
-
Create a feature or fix branch:
git checkout -b feat/your-feature-name # or git checkout -b fix/your-fix-name -
Make your changes and commit them:
git add . git commit -m "Your commit message" -
Push your branch to GitHub:
git push -u origin feat/your-feature-name -
A PR will be automatically created, and tests will run
-
After review and approval, merge the PR to
main
Accessing Your Deployment¶
-
Port-forward ArgoCD server:
kubectl port-forward svc/argocd-server -n argocd 8080:443 -
Access ArgoCD UI at https://localhost:8080
- Username: admin
-
Password: (retrieved during setup)
-
View your application deployment