Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/docker-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@
# Pipeline CI/CD — conforme au cours ENSAE "Mise en production"
#
# Reproduit exactement le schéma du cours :
# push sur une branche → build image Docker push sur Docker Hub
# Build image Docker puis push sur le registre
#
# Secrets GitHub à configurer :
# DOCKERHUB_USERNAME : votre identifiant Docker Hub
# DOCKERHUB_TOKEN : Access Token Docker Hub
# (hub.docker.com → Account Settings → Security)
# KUBECONFIG_SSP : kubeconfig SSP Cloud encodé en base64
# ─────────────────────────────────────────────────────────────────
name: Build & Deploy FastCrowdVision

on:
push:
branches:
- main
tags:
- "v*"

jobs:
docker:
Expand Down Expand Up @@ -51,4 +56,3 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Implementing vision algorithms for human detection on mobile devices.



for inference uvicorn server:app --reload
for inference uvicorn server:app --reload

## Setup
```
Expand Down
18 changes: 18 additions & 0 deletions argocd/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: fastcrowdvision
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/aayrapet/FastCrowdVision.git
targetRevision: feat/argocd-migration
path: kubernetes
destination:
server: https://kubernetes.default.svc
namespace: user-pmakamwe
syncPolicy:
automated:
prune: true
selfHeal: true
2 changes: 1 addition & 1 deletion kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ spec:
claimName: fastcrowdvision-hf-cache
- name: tmp-dir
emptyDir:
sizeLimit: 2Gi
sizeLimit: 2Gi