Commit Graph

53 Commits

Author SHA1 Message Date
masoodafar-web 02b2966e96 fix(cms-deployment): change imagePullPolicy to Always for cms container and clean up unused images during deployment
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 21m47s
2026-06-19 01:56:43 +03:30
masoodafar-web e77b5f9658 fix(ci): fix proto publish - remove allow-insecure-connections, add CI=true env, use source name
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 16m36s
2026-04-24 04:43:28 +03:30
masoodafar-web 9288d0640b feat: externalize appsettings to K8s Secret — config persists independently of image rebuilds
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m57s
- Add cms-config.yaml (K8s Secret) for staging and production
- Mount appsettings.{Environment}.json from Secret into /app/
- Update CI/CD pipelines to apply Secret before Deployment
- Remove redundant env vars (Kestrel, FileStorage) — now in config file
2026-02-23 21:58:05 +03:30
masoodafar-web de83c31346 fix: production uses namespace default + remove foursat namespace references
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 9m18s
2026-02-23 21:36:08 +03:30
masoodafar-web 68da3f45a3 fix: staging uses namespace default, not foursat
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-02-23 20:38:27 +03:30
masoodafar-web 3153fd8a74 feat: add PersistentVolume for CMS uploads + apply manifests in CI/CD
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 12m12s
- Add k8s/staging/ and k8s/production/ deployment manifests
- PVC 20Gi for /app/Uploads (file uploads persist across pod restarts)
- FileStorage__UploadPath env var set to /app/Uploads
- Replicas reduced to 1 (ReadWriteOnce PVC)
- Pipelines now: create namespace → apply manifests → restart/update
2026-02-23 20:11:56 +03:30
masoodafar-web 27d995faf4 fix: production deployment — appsettings.Production.json + fix K8S_SERVER + set image
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m48s
- appsettings.Production.json: CmsBaseUrl=cms.kbs1.ir, FrontOfficeBaseUrl=kbs1.ir, DB=KBS
- prod-deploy.yml: K8S_SERVER 194.5.195.53 → 45.149.79.127
- prod-deploy.yml: kubectl set image instead of rollout restart
2026-02-17 01:58:07 +03:30
masoodafar-web 5a4e4a960d fix: Update production deployment workflow for improved Docker handling and Kubernetes integration
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m19s
2026-02-11 00:40:29 +03:30
masoodafar-web dc1e00f514 fix: Disable BuildKit for Docker image build in CI workflow
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 9m15s
2026-02-11 00:19:27 +03:30
masoodafar-web 9d929dc7fb fix: Add network option to Docker run and build commands in CI workflow
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 3m23s
2026-02-11 00:08:02 +03:30
masoodafar-web 9b7d61593b fix: Remove unnecessary security options from Docker container in CI workflow
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 23s
2026-02-10 23:41:56 +03:30
masoodafar-web e3e3e8cec4 fix: Enhance Docker container security options in CI workflow
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 13s
2026-02-10 23:13:07 +03:30
masoodafar-web 2885ff20c0 fix: Streamline Docker registry login process in CI workflow
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 15s
2026-02-10 23:08:51 +03:30
masoodafar-web f2a0b4d211 fix: Update dotnet restore command to use custom NuGet configuration
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 5s
2026-02-10 23:05:45 +03:30
masoodafar-web 6c9f3dd671 fix: Add storage driver option to Docker daemon startup in Kubernetes deployment
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 5s
2026-02-10 23:03:03 +03:30
masoodafar-web d1ca72300d refactor: Remove ICurrentUserService dependency from query handlers and update user ID handling logic
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 8s
2026-02-10 23:01:49 +03:30
masoodafar-web 96daf899c7 fix: increase Docker daemon startup timeout to 3 minutes
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 3m12s
2026-01-29 17:13:41 +03:30
masoodafar-web eddc82dfce refactor: use docker-sshpass image (fully offline)
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 4m23s
2026-01-29 06:49:26 +03:30
masoodafar-web 0c95b03f0b fix: ensure sshpass is installed only if not present before deployment
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-01-29 06:05:46 +03:30
masoodafar-web 45c01fc157 refactor: merge two jobs into one pipeline
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-01-29 06:00:45 +03:30
masoodafar-web 55a775f51c perf: remove unnecessary apt-get install git
Build and Deploy to Kubernetes / publish-packages (push) Successful in 1m1s
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-01-29 05:57:07 +03:30
masoodafar-web 5b0558ee24 fix: streamline Kubernetes deployment process by removing SSH and adding kubectl installation
Build and Deploy to Kubernetes / publish-packages (push) Successful in 1m13s
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-01-29 05:54:44 +03:30
masoodafar-web cabf3886de fix: use rollout restart for simpler deployment
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
Build and Deploy to Kubernetes / publish-packages (push) Has been cancelled
2026-01-29 05:53:08 +03:30
masoodafar-web 0baed05fd4 fix: use cached docker:dind from Nexus
Build and Deploy to Kubernetes / publish-packages (push) Successful in 49s
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-01-29 05:41:09 +03:30
masoodafar-web e327eb23ba feat: add kubernetes deployment step via SSH
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
Build and Deploy to Kubernetes / publish-packages (push) Has been cancelled
2026-01-29 05:18:47 +03:30
masoodafar-web 20280cf07f fix: proper restore and disable auto-push in CI
Build and Deploy to Kubernetes / publish-packages (push) Successful in 1m33s
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 1m7s
- Add restore step before build
- Add CI=true env to disable PushToFoursatNuget target
- Add --allow-insecure-connections to csproj push command
- Add Condition to skip push target in CI
2026-01-29 04:59:48 +03:30
masoodafar-web c67caca0ae fix: add --allow-insecure-connections to nuget push
Build and Deploy to Kubernetes / publish-packages (push) Failing after 1m6s
Build and Deploy to Kubernetes / build-and-deploy (push) Has been skipped
2026-01-29 04:56:40 +03:30
masoodafar-web e14a653fa8 feat: add publish-packages job to CI/CD workflow
Build and Deploy to Kubernetes / publish-packages (push) Failing after 1m6s
Build and Deploy to Kubernetes / build-and-deploy (push) Has been skipped
- Auto-detect and pack *Protobuf*.csproj files
- Push to Nexus with --skip-duplicate
- Build job now depends on publish-packages
2026-01-29 04:44:39 +03:30
masoodafar-web 52af1bfaad chore: تنظیم Nexus برای NuGet و Docker offline
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 11m13s
- Dockerfile: استفاده از Nexus Docker (194.5.195.53:32082)
- NuGet.config: استفاده از Nexus NuGet با HTTP و allowInsecureConnections
- workflow: حذف kubectl dependency، اضافه کردن 32082 به insecure-registries
- csproj: تغییر push آدرس به Nexus foursat-nuget-hosted
2026-01-29 02:56:14 +03:30
masoodafar-web 4743b52cae fix: Remove dependency installation step for offline builds in kub-deploy.yml
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 1m4s
2026-01-29 02:41:22 +03:30
masoodafar-web 0b0fa3aa61 fix: Simplify kubectl installation and update deployment messages in kub-deploy.yml
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-01-29 02:36:21 +03:30
masoodafar-web 8894e72a8e fix: Update kubectl installation to use a fixed version instead of fetching stable version
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 1m9s
2026-01-29 02:20:40 +03:30
masoodafar-web 1c130b14e1 fix: Update Dockerfile to use .NET 9.0 images from internal registry
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 11s
2026-01-29 02:15:45 +03:30
Admin 98f3036bd0 fix: Remove domain from insecure-registries, use IP only
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m8s
2026-01-03 15:15:24 +00:00
masoodafar-web d8031a0d17 fix: update registry URL in deployment workflows to the correct address
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 5m58s
2026-01-03 17:28:10 +03:30
admin 41308e189a Add production deployment workflow
Build and Deploy to Production / build-and-deploy (push) Successful in 1m46s
2025-12-23 20:16:13 +00:00
masoodafar-web d24f326fbc chore: update cms-stage workflow branch to stage_new
Push nuget and docker image Actions Workflow / Deploy (push) Has been cancelled
2025-12-20 04:21:28 +03:30
masoodafar-web 50ba9e3794 chore: remove duplicate cms-stage workflow file 2025-12-20 04:21:15 +03:30
masoodafar-web c5915bb074 feat: add GitHub Actions workflow for NuGet and Docker image deployment
Push nuget and docker image Actions Workflow / Deploy (push) Has been cancelled
2025-12-20 04:19:22 +03:30
masoud d9ccfcc587 fix: replace tabs with spaces in workflow file
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 3m33s
2025-12-07 18:00:58 +00:00
masoud e5fc13b9e2 chore: migrate from IP to domain (git.foursat.afrino.co) 2025-12-07 17:02:17 +00:00
masoodafar-web 4d6d0dfc9a feat: Add kubectl deployment and image rollout steps 2025-12-06 22:57:25 +03:30
masoud 80f4e124d6 Add insecure registry 2025-12-05 18:11:14 +00:00
masoud 0c054739ba Fix proxy password 2025-12-05 18:05:52 +00:00
masoud 7b292a9443 Fix proxy config for docker build 2025-12-05 18:02:41 +00:00
masoud 2f177221be Add proxy to workflow 2025-12-05 18:01:02 +00:00
masoud 2a6f32027d Use git clone instead of actions/checkout 2025-12-05 17:27:35 +00:00
masoud e78b175de6 Use docker:latest container with privileged 2025-12-05 17:24:00 +00:00
masoud f3a7c20e35 Add Docker service to workflow 2025-12-05 17:21:53 +00:00
masoud 615473cf0d Add Kubernetes CI/CD pipeline for kub-stage 2025-12-05 16:25:14 +00:00