Commit Graph

9 Commits

Author SHA1 Message Date
37abc660da fix: enforce working-directory for act_runner host mode compatibility
Some checks failed
/ audit (push) Failing after 4s
ci-cd / build (push) Failing after 5s
ci / build (push) Failing after 3s
AITBC CLI Level 1 Commands Test / test-cli-level1 (18) (push) Failing after 14s
AITBC CLI Level 1 Commands Test / test-cli-level1 (20) (push) Failing after 5s
autofix / fix (push) Failing after 2s
security-scanning / audit (push) Failing after 1s
test / test (push) Failing after 3s
ci-cd / deploy (push) Has been skipped
CRITICAL FIX: Resolve act_runner host mode working directory issue

Problem:
- act_runner host mode does not persist working directory between steps
- Each 'cd repo' command was being lost due to isolated step execution
- npm install was still running in hostexecutor directory instead of repo

Solution:
- Add 'working-directory: repo' to every step after clone
- Enforce working directory at step level instead of inside run commands
- This bypasses act_runner host mode quirks completely

Changes:
- Update all 7 workflows to use working-directory: repo
- Remove 'cd repo' from run commands (redundant with working-directory)
- Keep git clone step outside working-directory (needs to run in default dir)
- Add verification steps to confirm correct working directory

Workflows updated:
- ci.yml, audit.yml, fix.yml, test.yml, security-scanning.yml
- cli-level1-tests.yml, ci-cd.yml

This should finally resolve the ENOENT: no such file or directory
errors for package.json by ensuring all npm commands execute in the
correct repository directory.
2026-03-27 12:24:14 +01:00
8759c0e9f2 feat: replace actions/checkout with manual git clone for Gitea compatibility
Some checks failed
/ audit (push) Failing after 5s
ci-cd / build (push) Failing after 7s
ci / build (push) Failing after 4s
AITBC CLI Level 1 Commands Test / test-cli-level1 (18) (push) Failing after 14s
AITBC CLI Level 1 Commands Test / test-cli-level1 (20) (push) Failing after 5s
autofix / fix (push) Failing after 2s
security-scanning / audit (push) Failing after 2s
test / test (push) Failing after 2s
ci-cd / deploy (push) Has been skipped
BREAKING CHANGE: Replace GitHub Actions checkout with explicit git clone

- Remove unreliable actions/checkout@v4 from all workflows
- Add manual git clone with HTTPS URL for deterministic behavior
- Explicit working directory control with 'cd repo' in each step
- Add debug verification steps to confirm repository context
- Fix npm install failures by ensuring correct working directory
- Update all 7 workflows: ci.yml, audit.yml, fix.yml, test.yml, security-scanning.yml, cli-level1-tests.yml, ci-cd.yml
- Use HTTPS clone URL for compatibility with Gitea runners
- Add 'rm -rf repo' to ensure clean clone each run

This resolves the issue where workflows were executing in hostexecutor directory
instead of repository workspace, causing npm install failures.
2026-03-27 12:21:26 +01:00
de0bea7bb4 ci: add checkout and verification steps to test workflows
Some checks failed
/ audit (push) Failing after 2s
ci-cd / build (push) Failing after 3s
ci / build (push) Failing after 2s
autofix / fix (push) Failing after 2s
security / audit (push) Failing after 2s
test / test (push) Successful in 3s
- Added actions/checkout@v4 step to cli-level1-tests.yml test and test-summary jobs
- Added actions/checkout@v4 and repository verification steps to test.yml
- Verification includes pwd, ls -la, and package.json check
- Ensures repository context is available before workflow execution
2026-03-27 12:17:39 +01:00
b476d93867 ci: add workflow_dispatch trigger to all workflows for manual execution
Some checks failed
/ audit (push) Failing after 1s
ci-cd / build (push) Failing after 1s
ci / build (push) Failing after 1s
autofix / fix (push) Failing after 0s
test / test (push) Successful in 1s
security / audit (push) Failing after 8s
- Added workflow_dispatch to audit.yml, ci-cd.yml, ci.yml, cli-level1-tests.yml, security-scanning.yml, and test.yml
- Added push trigger to fix.yml (was workflow_dispatch only)
- Enables manual workflow runs from Gitea UI for all CI/CD pipelines
2026-03-27 12:10:12 +01:00
4599927115 ci: migrate test-summary job from ubuntu-latest to debian runner
Some checks failed
ci-cd / build (push) Failing after 1s
/ audit (push) Failing after 2s
ci / build (push) Failing after 1s
security / audit (push) Failing after 1s
test / test (push) Failing after 1s
- Updated cli-level1-tests.yml test-summary job runs-on from ubuntu-latest to debian
- Aligns with repository-wide standardization to debian runner label
- Completes migration of all workflow jobs to consistent runner configuration
2026-03-27 11:57:30 +01:00
068fd1fc55 ci: migrate all workflows from gitea-runner to debian
Some checks failed
/ audit (push) Failing after 6s
ci-cd / build (push) Failing after 1s
ci / build (push) Failing after 2s
security / audit (push) Failing after 1s
test / test (push) Failing after 0s
- Updated runs-on from gitea-runner to debian across all workflow files
- Changed audit.yml, ci-cd.yml, ci.yml, fix.yml, security-scanning.yml, and test.yml
- Updated cli-level1-tests.yml from gitea-runner to debian
- Fixed audit.yml workflow name from 'gitea-runnername' to 'debianname'
- Standardizes runner configuration to use debian label
2026-03-27 11:55:43 +01:00
792f70c500 ci: migrate all workflows from debian:host to gitea-runner
Some checks failed
/ audit (push) Has been cancelled
ci-cd / build (push) Has been cancelled
ci / build (push) Has been cancelled
security / audit (push) Has been cancelled
test / test (push) Has been cancelled
- Updated runs-on from debian:host to gitea-runner across all workflow files
- Changed audit.yml, ci-cd.yml, ci.yml, fix.yml, security-scanning.yml, and test.yml
- Updated cli-level1-tests.yml from debian:host to gitea-runner
- Fixed audit.yml workflow name from 'name' to 'gitea-runnername'
- Standardizes runner configuration to use gitea-runner label
2026-03-27 11:53:16 +01:00
bb443ba466 ci: migrate all workflows from incus-debian to debian:host runner
Some checks failed
audit / audit (push) Has been cancelled
ci-cd / build (push) Has been cancelled
ci / build (push) Has been cancelled
security / audit (push) Has been cancelled
test / test (push) Has been cancelled
- Updated runs-on from incus-debian to debian:host across all workflow files
- Changed audit.yml, ci-cd.yml, ci.yml, fix.yml, security-scanning.yml, and test.yml
- Updated cli-level1-tests.yml from ubuntu-latest to debian:host
- Standardizes runner configuration across all CI/CD pipelines
2026-03-27 11:49:47 +01:00
9b5cfa775c mv to gitea workflow
Some checks failed
AITBC CI/CD Pipeline / lint-and-test (3.13.5) (push) Has been cancelled
AITBC CI/CD Pipeline / test-cli (push) Has been cancelled
AITBC CI/CD Pipeline / test-services (push) Has been cancelled
AITBC CI/CD Pipeline / test-production-services (push) Has been cancelled
AITBC CI/CD Pipeline / security-scan (push) Has been cancelled
AITBC CI/CD Pipeline / build (push) Has been cancelled
AITBC CI/CD Pipeline / deploy-staging (push) Has been cancelled
AITBC CI/CD Pipeline / deploy-production (push) Has been cancelled
AITBC CI/CD Pipeline / performance-test (push) Has been cancelled
AITBC CI/CD Pipeline / docs (push) Has been cancelled
AITBC CI/CD Pipeline / release (push) Has been cancelled
AITBC CI/CD Pipeline / notify (push) Has been cancelled
Security Scanning / Bandit Security Scan (apps/coordinator-api/src) (push) Has been cancelled
Security Scanning / Bandit Security Scan (cli/aitbc_cli) (push) Has been cancelled
Security Scanning / Bandit Security Scan (packages/py/aitbc-core/src) (push) Has been cancelled
Security Scanning / Bandit Security Scan (packages/py/aitbc-crypto/src) (push) Has been cancelled
Security Scanning / Bandit Security Scan (packages/py/aitbc-sdk/src) (push) Has been cancelled
Security Scanning / Bandit Security Scan (tests) (push) Has been cancelled
Security Scanning / CodeQL Security Analysis (javascript) (push) Has been cancelled
Security Scanning / CodeQL Security Analysis (python) (push) Has been cancelled
Security Scanning / Dependency Security Scan (push) Has been cancelled
Security Scanning / Container Security Scan (push) Has been cancelled
Security Scanning / OSSF Scorecard (push) Has been cancelled
Security Scanning / Security Summary Report (push) Has been cancelled
AITBC CLI Level 1 Commands Test / test-cli-level1 (3.13.5) (push) Has been cancelled
AITBC CLI Level 1 Commands Test / test-summary (push) Has been cancelled
GPU Benchmark CI / gpu-benchmark (3.13.5) (push) Has been cancelled
2026-03-27 11:08:02 +01:00