ci(nextgen): fix CI/CD workflow paths, ArgoCD targetRevision, and container startup migrations
Build and Push Docker Images / deploy (push) Blocked by required conditions Details
Build and Push Docker Images / build (api) (push) Successful in 2m49s Details
Build and Push Docker Images / build (musicseerr) (push) Successful in 5m52s Details
Build and Push Docker Images / build (nextgen) (push) Successful in 8m10s Details
Build and Push Docker Images / build (web) (push) Successful in 3m54s Details
Build and Push Docker Images / build (worker) (push) Has been cancelled Details

This commit is contained in:
fchinembiri 2026-07-28 08:46:09 +02:00
parent 6ab81944c1
commit 1ba2621f5b
4 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,10 @@ on:
- 'apps/api/**' - 'apps/api/**'
- 'apps/web/**' - 'apps/web/**'
- 'apps/nextgen/**' - 'apps/nextgen/**'
- 'apps/nextgen-dev/**'
- 'apps/nextgen-main/**'
- 'apps/musicseerr/**' - 'apps/musicseerr/**'
- 'k8s/nextgen/**'
jobs: jobs:
build: build:

View File

@ -28,4 +28,4 @@ EXPOSE 3001
ENV PORT=3001 ENV PORT=3001
ENV NODE_ENV=production ENV NODE_ENV=production
CMD ["sh", "-c", "mkdir -p ../data && ([ -f ../data/school.db ] || node src/database/init.js) && node src/index.js"] CMD ["sh", "-c", "mkdir -p ../data && node src/database/init.js && node src/index.js"]

View File

@ -91,7 +91,7 @@ spec:
project: default project: default
source: source:
repoURL: http://gitea.geocrop.svc.cluster.local:3000/fchinembiri/geocrop-platform..git repoURL: http://gitea.geocrop.svc.cluster.local:3000/fchinembiri/geocrop-platform..git
targetRevision: '{{branch}}' targetRevision: HEAD
path: k8s/nextgen/next-gen-chart path: k8s/nextgen/next-gen-chart
helm: helm:
parameters: parameters:

View File

@ -22,7 +22,7 @@ spec:
command: command:
- sh - sh
- -c - -c
- "mkdir -p /app/data && ([ -f /app/data/school.db ] || node src/database/init.js) && node src/index.js" - "mkdir -p /app/data && node src/database/init.js && node src/index.js"
ports: ports:
- name: http - name: http
containerPort: {{ .Values.service.port }} containerPort: {{ .Values.service.port }}