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
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:
@@ -31,11 +31,17 @@ This ensures that cache failures don't cause the entire pipeline to fail.
|
||||
|
||||
### 2. Runner Configuration Fixes
|
||||
|
||||
Created `runners/config_cache_fixed.yaml` with:
|
||||
Updated all existing runner configuration files with:
|
||||
- **Fixed Host**: `host.docker.internal` (allows containers to access host)
|
||||
- **Fixed Port**: `44029` (instead of random port 0)
|
||||
- **Host Network**: Uses host networking for better connectivity
|
||||
|
||||
Updated files:
|
||||
- `runners/config_docker.yaml`
|
||||
- `runners/config_heavy.yaml`
|
||||
- `runners/config_light.yaml`
|
||||
- `runners/config_security.yaml`
|
||||
|
||||
### 3. Troubleshooting Tools
|
||||
|
||||
Created diagnostic scripts:
|
||||
@@ -46,16 +52,22 @@ These scripts help diagnose and fix cache issues.
|
||||
|
||||
## How to Apply the Fixes
|
||||
|
||||
### Option 1: Use the Fixed Configuration
|
||||
### Option 1: Use the Updated Configuration
|
||||
|
||||
1. Stop your current runner:
|
||||
```bash
|
||||
pkill -f act_runner
|
||||
```
|
||||
|
||||
2. Start with the fixed configuration:
|
||||
2. Start with an updated configuration:
|
||||
```bash
|
||||
./act_runner daemon --config config_cache_fixed.yaml
|
||||
./act_runner daemon --config config_docker.yaml
|
||||
# or
|
||||
./act_runner daemon --config config_heavy.yaml
|
||||
# or
|
||||
./act_runner daemon --config config_light.yaml
|
||||
# or
|
||||
./act_runner daemon --config config_security.yaml
|
||||
```
|
||||
|
||||
### Option 2: Run the Troubleshooting Script
|
||||
|
||||
Reference in New Issue
Block a user