Compare commits

..

19 Commits

Author SHA1 Message Date
deepkoluguri 996a37bc7e fix: use app.use() for SPA fallback instead of Express 5 incompatible wildcards
Build and Deploy Chitfund / build-backend (push) Successful in 1m31s Details
Build and Deploy Chitfund / build-frontend (push) Successful in 6m42s Details
2026-05-12 03:20:44 +00:00
deepkoluguri 9e24cba3b9 fix: express 5 routing wildcard error for SPA fallback
Build and Deploy Chitfund / build-frontend (push) Waiting to run Details
Build and Deploy Chitfund / build-backend (push) Has been cancelled Details
2026-05-12 03:20:32 +00:00
deepkoluguri f71151d19c ci: use flutter stable to fix dart sdk version mismatch
Build and Deploy Chitfund / build-backend (push) Successful in 2m4s Details
Build and Deploy Chitfund / build-frontend (push) Successful in 9m6s Details
2026-05-12 02:47:36 +00:00
Antigravity c35eefd2a9 Add multi-stage build to Flutter Dockerfile
Build and Deploy Chitfund / build-backend (push) Successful in 2m20s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 4m13s Details
2026-05-11 18:22:03 -04:00
deepkoluguri ad10f2450a Revert to working kaniko configuration
Build and Deploy Chitfund / build-backend (push) Successful in 2m20s Details
Build and Deploy Chitfund / build-frontend (push) Successful in 1m8s Details
2026-05-11 22:04:05 +00:00
Antigravity 0edbb9c728 Fix workflow to use standard buildx
Build and Deploy Chitfund / build-backend (push) Failing after 3m55s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 18s Details
2026-05-11 17:58:06 -04:00
deepkoluguri 5311eeb1b5 ci: use --volumes-from to share job container workspace with kaniko
Build and Deploy Chitfund / build-backend (push) Successful in 2m23s Details
Build and Deploy Chitfund / build-frontend (push) Successful in 1m11s Details
2026-05-11 21:49:37 +00:00
deepkoluguri 5a5e61a603 ci: use kaniko git context - clone from gitea directly, no volume mounts
Build and Deploy Chitfund / build-backend (push) Failing after 3s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 3s Details
2026-05-11 21:46:15 +00:00
deepkoluguri 17c32f1ef5 ci: debug volume mount before kaniko
Build and Deploy Chitfund / build-backend (push) Successful in 11s Details
Build and Deploy Chitfund / build-frontend (push) Successful in 8s Details
2026-05-11 21:42:29 +00:00
deepkoluguri b14dad3a3b ci: trigger rebuild after shared-workspace volume fix
Build and Deploy Chitfund / build-backend (push) Failing after 2m16s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 9s Details
2026-05-11 21:38:13 +00:00
deepkoluguri 15a7234fa4 ci: fix kaniko context - mount full repo at /repo, point context at subdirs
Build and Deploy Chitfund / build-backend (push) Failing after 9s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 9s Details
2026-05-11 21:27:48 +00:00
deepkoluguri 2dbf55bff1 ci: fix workspace path - use gitea.workspace expression instead of env var
Build and Deploy Chitfund / build-backend (push) Failing after 14s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 9s Details
2026-05-11 21:25:31 +00:00
deepkoluguri a74a035912 ci: use docker bridge gateway 172.17.0.1:2375 to reach dind from job containers
Build and Deploy Chitfund / build-backend (push) Failing after 2m3s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 8s Details
2026-05-11 21:19:56 +00:00
deepkoluguri 8fef50ba86 ci: trigger rebuild after runner host-network fix 2026-05-11 21:17:25 +00:00
deepkoluguri 3545facd5f ci: wait for dind to be ready before running kaniko
Build and Deploy Chitfund / build-backend (push) Failing after 1m12s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 1m12s Details
2026-05-11 21:03:23 +00:00
deepkoluguri d2bf305446 ci: run kaniko via docker run (no daemon in build, fixes container entrypoint issue)
Build and Deploy Chitfund / build-backend (push) Failing after 8s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 8s Details
2026-05-11 20:55:01 +00:00
deepkoluguri b91e8e58a8 ci: use dind sidecar instead of kaniko - pass DOCKER_HOST explicitly
Build and Deploy Chitfund / build-backend (push) Failing after 1m22s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 1m16s Details
2026-05-11 20:50:09 +00:00
deepkoluguri 0f42b53ab4 ci: switch Docker build to Kaniko (no daemon required)
Build and Deploy Chitfund / build-backend (push) Failing after 9s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 1s Details
2026-05-11 20:41:26 +00:00
deepkoluguri f36d150c08 Update SETUP_COMPLETE.md
Build and Deploy Chitfund / build-backend (push) Failing after 5m47s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 17s Details
2026-05-11 19:59:44 +00:00
6 changed files with 31 additions and 30 deletions

View File

@ -4,35 +4,44 @@ on: [push]
jobs: jobs:
build-backend: build-backend:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
DOCKER_HOST: tcp://172.17.0.1:2375
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Docker Buildx - name: Build and push Backend (Kaniko)
uses: docker/setup-buildx-action@v2 run: |
JOB_CONTAINER=$(docker ps --format '{{.Names}}' | grep 'GITEA-ACTIONS-TASK' | head -1)
echo "Using volumes from: $JOB_CONTAINER"
- name: Build and push Backend docker run --rm \
uses: docker/build-push-action@v4 --volumes-from "$JOB_CONTAINER" \
with: gcr.io/kaniko-project/executor:latest \
context: ./backend --context=dir:///workspace/deepkoluguri/chitfund/backend \
push: true --dockerfile=Dockerfile \
tags: 192.168.8.250:5000/chitfund-backend:latest --destination=192.168.8.250:5000/chitfund-backend:latest \
# Local registry is insecure --insecure \
labels: | --skip-tls-verify
org.opencontainers.image.source=${{ gitea.repository_url }}
build-frontend: build-frontend:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
DOCKER_HOST: tcp://172.17.0.1:2375
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Docker Buildx - name: Build and push Frontend (Kaniko)
uses: docker/setup-buildx-action@v2 run: |
JOB_CONTAINER=$(docker ps --format '{{.Names}}' | grep 'GITEA-ACTIONS-TASK' | head -1)
echo "Using volumes from: $JOB_CONTAINER"
- name: Build and push Frontend docker run --rm \
uses: docker/build-push-action@v4 --volumes-from "$JOB_CONTAINER" \
with: gcr.io/kaniko-project/executor:latest \
context: ./luckychit --context=dir:///workspace/deepkoluguri/chitfund/luckychit \
push: true --dockerfile=Dockerfile \
tags: 192.168.8.250:5000/chitfund-frontend:latest --destination=192.168.8.250:5000/chitfund-frontend:latest \
--insecure \
--skip-tls-verify

View File

@ -4,7 +4,7 @@
Your **FREE, zero-transaction-fee UPI payment system** is ready to use! Your **FREE, zero-transaction-fee UPI payment system** is ready to use!
--- ----
## ✨ What You Have Now ## ✨ What You Have Now

View File

@ -19,12 +19,8 @@ JWT_SECRET=2559a382d606e4209085401d693ae25f
JWT_EXPIRES_IN=24h JWT_EXPIRES_IN=24h
# CORS Configuration # CORS Configuration
<<<<<<< HEAD
ALLOWED_ORIGINS=http://localhost:8080,http://localhost:3000,https://chitfund.deepteklabs.com,http://chitfund.deepteklabs.com ALLOWED_ORIGINS=http://localhost:8080,http://localhost:3000,https://chitfund.deepteklabs.com,http://chitfund.deepteklabs.com
=======
ALLOWED_ORIGINS=https://chitfund.deepteklabs.com,http://chitfund.deepteklabs.com,http://localhost:8080,http://localhost:3000
>>>>>>> main
# Rate Limiting # Rate Limiting
RATE_LIMIT_WINDOW_MS=900000 RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100 RATE_LIMIT_MAX_REQUESTS=100

View File

@ -1,5 +1,5 @@
# Frontend Dockerfile for Chitfund (Flutter Web) # Frontend Dockerfile for Chitfund (Flutter Web)
FROM ghcr.io/cirruslabs/flutter:3.24.0 AS build FROM ghcr.io/cirruslabs/flutter:stable AS build
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN flutter pub get RUN flutter pub get

View File

@ -47,7 +47,7 @@ app.use(express.static(BUILD_DIR, {
// Handle Flutter routes (SPA - Single Page Application) // Handle Flutter routes (SPA - Single Page Application)
// Any route not found as a static file should serve index.html // Any route not found as a static file should serve index.html
app.get('*', (req, res) => { app.use( (req, res) => {
res.sendFile(path.join(BUILD_DIR, 'index.html')); res.sendFile(path.join(BUILD_DIR, 'index.html'));
}); });

View File

@ -18,16 +18,12 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta content="IE=Edge" http-equiv="X-UA-Compatible">
<<<<<<< HEAD
<meta name="description" content="Chitfund app to manage your chit funds."> <meta name="description" content="Chitfund app to manage your chit funds.">
<!-- Prevent caching in production for updates --> <!-- Prevent caching in production for updates -->
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0"> <meta http-equiv="Expires" content="0">
=======
<meta name="description" content="Chitfund Application">
>>>>>>> main
<!-- iOS meta tags & icons --> <!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">