Files
aitbc/.gitea/workflows
aitbc1 868360857d
Some checks failed
AITBC CLI Level 1 Commands Test / test-cli-level1 (push) Failing after 6s
python-tests / test-specific (push) Has been skipped
security-scanning / audit (push) Failing after 3s
python-tests / test (push) Successful in 29s
feat: fix critical path mismatch - configure runner for standard paths
PATH STANDARDIZATION: Fix absolute path issues in CI/CD workflows

Critical Issue Fixed:
- Codebase expects: /opt/aitbc
- Gitea runner was using: /opt/gitea-runner/workspace/repo/aitbc
- This broke systemd services, environment files, and virtual environments

Solution Implemented:
 Updated gitea-runner workdir from /opt/gitea-runner/work to /opt/aitbc
 Runner now clones repository to standard /opt/aitbc path
 All workflows updated to use /opt/aitbc instead of /opt/gitea-runner paths
 Systemd services will now work correctly with hardcoded paths
 Environment files (.env) will work with standard paths
 Virtual environment scripts will work correctly

Changes Made:
- Updated runner configuration: workdir: "/opt/aitbc"
- Updated python-tests.yml workspace paths
- Updated security-scanning.yml workspace paths
- Updated cli-level1-tests.yml workspace paths
- Restarted gitea-runner daemon with new configuration

Benefits:
- Systemd services will start correctly
- Environment configuration will work
- Virtual environments will function properly
- Documentation paths will be accurate
- Standard deployment paths maintained

This fixes the fundamental path mismatch that was causing
systemd services and configuration files to break in CI/CD.
2026-03-27 22:25:17 +01:00
..