Skip to content

CI: run Linux jobs on the Contabo self-hosted runner - #498

Merged
alexeygrigorev merged 5 commits into
mainfrom
ci/contabo-runner
Nov 23, 2026
Merged

alexeygrigorev merged 5 commits into
mainfrom
ci/contabo-runner

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

GitHub-hosted Actions minutes ran out, so this repo's Linux jobs move to its self-hosted runner contabo-dataops on contabo-ci (runs-on: [self-hosted, contabo]).

Moved (all jobs in the repo): deploy-dataops-v1.yml checks + deploy, sandbox-backup-evidence.yml validate + evidence, validate-backend-e2e.yml browser-e2e, validate-cli.yml cli, validate-dataops-content.yml validate-content, validate-planning-docs.yml validate-planning-docs.

Stayed hosted: nothing (no Windows/macOS/arm or issue/pull_request_target jobs).

Fork guard (public repo): every moved job that can run on pull_request gets if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository, combined with an existing condition via && (sandbox-backup-evidence validate). Fork PRs skip these jobs instead of running untrusted code on the self-hosted runner. The deploy and evidence jobs never run on pull_request.

Runner adaptation: the runner has no sudo, so the browser-e2e Playwright step drops the sudo tee apt retry config and --with-deps; Chromium's OS dependencies are installed on contabo-ci once. make and zip were installed on the host as well.

Hub intake 2caf605f

GitHub-hosted Actions minutes ran out, so the Linux jobs move to the
repository's self-hosted runner on the contabo-ci VPS. Jobs that can run
on a pull_request now skip for fork PRs, so untrusted code never reaches
the self-hosted runner. Playwright no longer installs OS packages with
sudo; the runner host has Chromium's dependencies preinstalled.

Hub intake 2caf605f
@alexeygrigorev
alexeygrigorev marked this pull request as draft November 23, 2026 12:43
@alexeygrigorev

Copy link
Copy Markdown
Member Author

Parked as draft (Hub intake 2caf605f). On the 2 vCPU contabo-ci box this repo's suites ran 3-10x slower than on GitHub-hosted runners and hit job timeouts during the migration. Hosted minutes are free for public repos, so this repo stays on hosted until the box is bigger or the timeouts are revisited. The runner stays registered; the fork-PR approval policy is now all_external_contributors.

@alexeygrigorev
alexeygrigorev marked this pull request as ready for review November 23, 2026 19:45
@alexeygrigorev
alexeygrigorev merged commit 7417799 into main Nov 23, 2026
9 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant