[PROD-001] feat: Complete production deployment setup
Some checks failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled

 Fixed critical issues:
- Fixed .dockerignore to include assets (logo.png, banner-3.gif, custom.css)
- Added psutil dependency for metrics endpoint
- Connected health check endpoints to Reflex app

 Added complete CI/CD pipeline:
- Woodpecker.yml with 11 stages (lint, build, scan, deploy)
- Harbor registry integration
- ArgoCD automated deployment
- Kubernetes health checks

 Enhanced security:
- Multi-stage Docker build
- Non-root user container
- Security scanning ready
- Network policies configured

 Complete documentation:
- Production deployment guide (50+ pages)
- Quick start guide (10 minutes)
- Deployment checklist
- Changelog

🚀 Production ready with automated GitOps deployment!

ApprovalToken: PROD-001
This commit is contained in:
Ehsan.Asadi
2025-12-27 01:49:49 +03:30
parent 7f487cb6e6
commit b884ab435c
19 changed files with 2929 additions and 34 deletions

View File

@@ -3,19 +3,31 @@ kind: Application
metadata:
name: peikarband
namespace: argocd
annotations:
notifications.argoproj.io/subscribe.on-deployed.telegram: ""
notifications.argoproj.io/subscribe.on-health-degraded.telegram: ""
notifications.argoproj.io/subscribe.on-sync-failed.telegram: ""
finalizers:
- resources-finalizer.argocd.argoproj.io
labels:
app: peikarband
environment: production
spec:
project: default
source:
repoURL: https://git.peikarband.ir/ehsan-minadd/peikarband.git
targetRevision: HEAD
targetRevision: main
path: helm/peikarband
helm:
releaseName: peikarband
valueFiles:
- values-production.yaml
parameters:
- name: image.repository
value: harbor.peikarband.ir/peikarband/landing
- name: image.tag
value: latest # This will be updated by CI/CD
destination:
server: https://kubernetes.default.svc
@@ -30,6 +42,7 @@ spec:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ApplyOutOfSyncOnly=true
retry:
limit: 5
backoff:
@@ -44,4 +57,8 @@ spec:
kind: Deployment
jsonPointers:
- /spec/replicas
- group: apps
kind: StatefulSet
jsonPointers:
- /spec/replicas