Files
rheinsw-mono-repo/backend/.gitlab-ci.yml
Thatsaphorn Atchariyaphap c0b3669c30 Remove Gateway service and configuration
- Delete Gateway module, associated Spring Boot application, and related configuration (`GatewayApplication.java`, `application.yml`, and `pom.xml`).
- Remove Gateway references in `docker-compose.yml`, `.gitlab-ci.yml`, and `backend/pom.xml`.
- Update backend services to directly handle requests under `/api` prefix (e.g., `/api/customers`, `/api/contact`).
- Adjust frontend contact route to connect directly to the server, replacing gateway references with server URLs.
2025-07-15 20:46:43 +02:00

36 lines
849 B
YAML

build_backend:
stage: build
image: maven:3.9.9-eclipse-temurin-21@sha256:2e3824afeb41f61761adee95318814e6669bd59aaf61255b2af47064b8755c02
script:
- cd backend
- mvn package
artifacts:
paths:
- backend/common/target/
- backend/discovery/target/
- backend/server/target
expire_in: 1 hour
docker_common:
extends: .docker-common-template
variables:
IMAGE_NAME: common
WORKDIR_PATH: backend
DOCKERFILE_PATH: Dockerfile.base
needs:
- build_backend
docker_server:
extends: .docker-build-template
variables:
IMAGE_NAME: server
COMMON_IMAGE: "$CI_REGISTRY/$CI_PROJECT_PATH/common"
WORKDIR_PATH: backend
DOCKERFILE_PATH: Dockerfile.app
BUILD_FOLDER: "server/target"
MAIN_CLASS: dev.rheinsw.server.ServerApplication
needs:
- build_backend
- docker_common