refactor: Apply cache fixes directly to existing runner configs
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 31s
API Docs (Node.js Express) / test (20) (push) Successful in 3m56s
API Docs (Node.js Express) / test (16) (push) Successful in 4m4s
API Docs (Node.js Express) / test (18) (push) Successful in 4m10s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 1m22s
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m2s
API Gateway (Java Spring Boot) / test (17) (push) Failing after 2m39s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 2m45s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 3m21s
Frontend (React) / test (16) (push) Failing after 1m46s
LabFusion CI/CD Pipeline / frontend (push) Failing after 1m59s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Frontend (React) / test (18) (push) Failing after 1m50s
Integration Tests / integration-tests (push) Failing after 49s
Integration Tests / performance-tests (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.1) (push) Failing after 1m7s
Frontend (React) / test (20) (push) Failing after 2m30s
Frontend (React) / build (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 1m43s
Frontend (React) / lighthouse (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.9) (push) Failing after 1m2s
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 1m43s
Service Adapters (Python FastAPI) / build (push) Has been skipped
API Docs (Node.js Express) / build (push) Successful in 59s

- Update all runner configuration files with cache networking fixes:
  - config_docker.yaml
  - config_heavy.yaml
  - config_light.yaml
  - config_security.yaml
- Remove separate config_cache_fixed.yaml file
- Update troubleshooting scripts to use updated configs
- Update documentation to reference existing config files

All runner configs now have:
- Fixed cache host: host.docker.internal
- Fixed cache port: 44029
- Host networking for better container connectivity

This provides a cleaner approach by updating existing configs
instead of maintaining a separate fixed configuration file.
This commit is contained in:
GSRN
2025-09-15 16:44:16 +02:00
parent e3800b49b8
commit 79250ea3ab
8 changed files with 64 additions and 163 deletions

View File

@@ -87,12 +87,15 @@ restart_cache_service() {
pkill -f "act_runner" || true
sleep 2
# Start with fixed configuration
if [ -f "config_cache_fixed.yaml" ]; then
echo "✅ Using fixed configuration"
nohup ./act_runner daemon --config config_cache_fixed.yaml > runner.log 2>&1 &
# Start with updated configuration
if [ -f "config_docker.yaml" ]; then
echo "✅ Using updated Docker configuration"
nohup ./act_runner daemon --config config_docker.yaml > runner.log 2>&1 &
elif [ -f "config_heavy.yaml" ]; then
echo "✅ Using updated heavy configuration"
nohup ./act_runner daemon --config config_heavy.yaml > runner.log 2>&1 &
else
echo "⚠️ Fixed configuration not found, using default"
echo "⚠️ Updated configuration not found, using default"
nohup ./act_runner daemon > runner.log 2>&1 &
fi