Update sgeupdated pipeline v12
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s

This commit is contained in:
2025-08-30 02:57:42 +03:00
parent e9a361489e
commit f2d5182215

View File

@@ -33,20 +33,20 @@ jobs:
git pull origin main git pull origin main
# --- Backend --- # --- Backend ---
if echo "${CHANGED_FILES}" | grep -q "sge-backend"; then if echo "${CHANGED_FILES}" | grep -q "sge-backend"; then
echo "Backend changes detected..." echo "Backend changes detected..."
cd sge-backend cd sge-backend
mvn clean install mvn clean install
cd .. cd ..
# Stop & remove old backend container (ignore errors if not exists) # Stop & remove old backend container (ignore errors if not exists)
docker stop sgeupdated-backend-1 || true docker stop sgeupdated-backend-1 || true
docker rm sgeupdated-backend-1 || true docker rm sgeupdated-backend-1 || true
# Build Docker image and restart container # Build Docker image and restart container
docker compose build --no-cache backend docker compose build --no-cache backend
docker compose up -d --force-recreate backend docker compose up -d --force-recreate backend
fi fi
# --- Frontend --- # --- Frontend ---
if echo "${CHANGED_FILES}" | grep -q "sge-frontend"; then if echo "${CHANGED_FILES}" | grep -q "sge-frontend"; then