mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 05:01:08 +02:00
🔧 fix(ci): fix todo-backend build and remove obsolete clock app
- Fix todo-backend Dockerfile to build shared packages inline instead of using non-existent docker/shared/build-shared-packages.sh script - Remove clock-backend and clock-web from all CI/CD workflows (app no longer exists in the monorepo) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
304897261d
commit
8a6fe7ebb0
4 changed files with 7 additions and 19 deletions
3
.github/workflows/cd-staging-tagged.yml
vendored
3
.github/workflows/cd-staging-tagged.yml
vendored
|
|
@ -140,7 +140,7 @@ jobs:
|
|||
web)
|
||||
# Apps with their own Dockerfiles (need monorepo root for shared packages)
|
||||
case "$PROJECT" in
|
||||
manacore|todo|calendar|clock)
|
||||
manacore|todo|calendar)
|
||||
DOCKERFILE_PATH="apps/$PROJECT/apps/web/Dockerfile"
|
||||
CONTEXT_PATH="."
|
||||
;;
|
||||
|
|
@ -174,7 +174,6 @@ jobs:
|
|||
manacore) PORT="5173" ;;
|
||||
todo) PORT="5188" ;;
|
||||
calendar) PORT="5186" ;;
|
||||
clock) PORT="5187" ;;
|
||||
*) PORT="5173" ;; # default SvelteKit port
|
||||
esac
|
||||
fi
|
||||
|
|
|
|||
7
.github/workflows/cd-staging.yml
vendored
7
.github/workflows/cd-staging.yml
vendored
|
|
@ -29,8 +29,6 @@ on:
|
|||
- todo-web
|
||||
- calendar-backend
|
||||
- calendar-web
|
||||
- clock-backend
|
||||
- clock-web
|
||||
- picture-backend
|
||||
- picture-web
|
||||
workflow_call:
|
||||
|
|
@ -220,9 +218,6 @@ jobs:
|
|||
# Create calendar database (for calendar-backend service)
|
||||
docker compose exec -T postgres psql -U postgres -c "CREATE DATABASE calendar;" 2>/dev/null || echo "calendar database already exists"
|
||||
|
||||
# Create clock database (for clock-backend service)
|
||||
docker compose exec -T postgres psql -U postgres -c "CREATE DATABASE clock;" 2>/dev/null || echo "clock database already exists"
|
||||
|
||||
# Create picture database (for picture-backend service)
|
||||
docker compose exec -T postgres psql -U postgres -c "CREATE DATABASE picture;" 2>/dev/null || echo "picture database already exists"
|
||||
|
||||
|
|
@ -361,8 +356,6 @@ jobs:
|
|||
check_health todo-web http://localhost:5188/health || exit 1
|
||||
check_health calendar-backend http://localhost:3016/api/v1/health || exit 1
|
||||
check_health calendar-web http://localhost:5186/health || exit 1
|
||||
check_health clock-backend http://localhost:3017/api/v1/health || exit 1
|
||||
check_health clock-web http://localhost:5187/health || exit 1
|
||||
check_health picture-backend http://localhost:3006/api/v1/health || exit 1
|
||||
check_health picture-web http://localhost:5175/health || exit 1
|
||||
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -78,8 +78,6 @@ jobs:
|
|||
- { name: 'todo-web', path: 'apps/todo/apps/web', port: '5188' }
|
||||
- { name: 'calendar-backend', path: 'apps/calendar/apps/backend', port: '3016' }
|
||||
- { name: 'calendar-web', path: 'apps/calendar/apps/web', port: '5186' }
|
||||
- { name: 'clock-backend', path: 'apps/clock/apps/backend', port: '3017' }
|
||||
- { name: 'clock-web', path: 'apps/clock/apps/web', port: '5187' }
|
||||
- { name: 'picture-backend', path: 'apps/picture/apps/backend', port: '3006' }
|
||||
- { name: 'picture-web', path: 'apps/picture/apps/web', port: '5175' }
|
||||
fail-fast: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue