railyard/apps/rithub-server/custom/public/assets/seo/git-hosting-with-ci-runners.html
caelum0x 6801c08af9
Some checks failed
ci / cargo test (abacus) (push) Has been cancelled
ci / cargo test (agent-runtime) (push) Has been cancelled
ci / cargo test (context-passport) (push) Has been cancelled
ci / cargo test (game-economy) (push) Has been cancelled
ci / cargo test (ledgerline) (push) Has been cancelled
ci / cargo test (mint) (push) Has been cancelled
ci / cargo test (rago) (push) Has been cancelled
ci / cargo test (relay) (push) Has been cancelled
ci / node suites (push) Has been cancelled
ci / cargo test (toolgate) (push) Has been cancelled
ci / cargo test (turnstile) (push) Has been cancelled
ci / cargo test (vend) (push) Has been cancelled
feat(RIT-OPS,RIT-BRD): rename gitea -> rit everywhere we control, deployed + live-verified
apps/gitea -> apps/rithub-server; compose services/containers renamed
(rithub-server-app/postgres/act-runner) with explicit project name and
volume names pinned to the exact existing Docker volumes (no data loss);
our own GITEA_* compose/env var names -> RIT_*; new rit-admin CLI wrapper
on railyard-box; giteaSession.mjs/giteaOAuth.mjs/giteaInfo.mjs ->
ritSession/ritOAuth/ritInfo across 6 apps; GiteaForgeAdapter -> RitForgeAdapter
+ giteaSyncService/importGiteaRepos/syncGiteaRepos -> rit* in ritgram
(tsc clean); apps/console/lib/gitea.ts -> lib/ritProvision.ts; Go
internal/giteaclient -> internal/ritclient in rithub-async-import (go
build/test clean); new /auth/rit + /forges/rit/connect routes with
/gitea back-compat aliases; locale/swagger/footer/captcha template text
scrubbed of remaining "Gitea" strings.

Deployed to railyard-box: old containers stopped/removed, /srv/railyard-gitea
renamed to /srv/rithub-server with a symlink kept, docker compose up -d from
the new path, act_runner network-alias fix for its persisted instance URL.
Live-verified: docker compose config diff showed zero unintended value
changes, DB row counts unchanged (19 users, 635 repos), full route
regression 200/expected, 0 "gitea" in headers/bodies on every checked page,
real git clone+push over HTTPS and SSH with a disposable account (deleted
after). Deferred on purpose (documented in plans/railyard.md): the forge
discriminator / DB column names / Postgres role+volume names (data
migrations, not a naming change) and the upstream GITEA__ env-to-ini keys
and X-Gitea-* wire headers (hardcoded in the vendored engine binary).

See plans/railyard.md RIT-OPS/RIT-BRD entry for the full old->new map and
live evidence.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-12-01 16:34:39 +03:00

140 lines
8.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Git Hosting With Built-In CI Runners — Rithub</title>
<meta name="description" content="Rithub bundles git hosting and CI in one instance -- register a runner once and every repo can run .github/workflows/*.yml, with no separate CI service to install or pay for.">
<link rel="canonical" href="https://rithub.dev/assets/seo/git-hosting-with-ci-runners.html">
<link rel="stylesheet" href="/assets/css/railyard-brand.css">
<style>
body{max-width:760px;margin:0 auto;padding:32px 20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;line-height:1.6;color:#1a1a1a}
h1{font-size:28px;margin-bottom:8px}
h2{font-size:20px;margin-top:40px}
.answer{font-size:18px;padding:16px;border-left:3px solid #444;background:#f6f6f6}
.cta{display:inline-block;margin-top:16px;padding:12px 20px;background:#1a1a1a;color:#fff;text-decoration:none;border-radius:4px}
code{background:#f0f0f0;padding:2px 5px;border-radius:3px;font-size:14px}
pre{background:#f0f0f0;padding:12px;border-radius:4px;overflow-x:auto}
ol li, ul li{margin-bottom:8px}
footer{margin-top:60px;font-size:13px;opacity:.7}
footer a{margin-right:4px}
</style>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"dateModified": "2026-11-30",
"mainEntity": [
{
"@type": "Question",
"name": "What does 'built-in CI runners' mean for a git host?",
"acceptedAnswer": {
"@type": "Answer",
"text": "It means the CI execution engine ships as part of the git hosting instance itself -- you register a runner process against the same server that hosts your repos, and any repository can immediately use .github/workflows/*.yml, with no separate CI product, account, or billing relationship to set up."
}
},
{
"@type": "Question",
"name": "How do I register a CI runner on Rithub?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Generate a registration token from the instance's Actions admin settings, then run the act_runner binary against the instance URL with that token. Once registered, the runner shows online with its labels (for example ubuntu-latest, ubuntu-22.04) and starts picking up queued jobs from any repository with Actions enabled."
}
},
{
"@type": "Question",
"name": "Is this the same as GitHub Actions or GitLab CI?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The workflow YAML format and runs-on labels are compatible with GitHub Actions syntax, so most existing .github/workflows files run as they are. The difference is where the runner lives: on infrastructure you register and control, not a shared vendor-hosted pool."
}
},
{
"@type": "Question",
"name": "Has a real workflow actually been run on a registered runner?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. A runner was registered against the live Rithub instance and confirmed online with labels ubuntu-latest, ubuntu-22.04, ubuntu-24.04. A real repository's .github/workflows/ci.yml job was pushed and polling its run status via the API showed queued, then running, then success in under a minute."
}
}
]
}
</script>
<script>
(function () {
try {
var ua = navigator.userAgent || '';
var isAutomated =
navigator.webdriver === true ||
/HeadlessChrome|Headless Chrome|Playwright|Puppeteer/i.test(ua);
var optedOut = window.localStorage && window.localStorage.getItem('rithub.qa.optout') === '1';
window.__rithubInsightsSkip = isAutomated || optedOut;
} catch (e) {
window.__rithubInsightsSkip = false;
}
window.rithubInsightsFilter = function (type, payload) {
return window.__rithubInsightsSkip ? null : payload;
};
})();
</script>
<script defer src="https://insights.ereboslab.com/s.js" data-site="s_FLXojc0pSLRIIJ6ndYp0p-li" data-before-send="rithubInsightsFilter"></script>
</head>
<body>
<h1>Git Hosting With Built-In CI Runners</h1>
<p class="updated" style="font-size:13px;color:#666;margin:0 0 16px" data-marker="rit-geo-freshness-2026-11-30">Updated 2026-11-30</p>
<p class="answer"><strong>Rithub bundles CI into the same instance as git hosting</strong> — register one runner against your Rithub server and every repository on it can run <code>.github/workflows/*.yml</code> jobs immediately, with no separate CI product, account, or per-minute bill.</p>
<h2>Why "built-in" matters</h2>
<ul>
<li>GitHub pairs repos with GitHub Actions; Bitbucket pairs repos with Bitbucket Pipelines — both are still a second managed product with its own billing, even when bundled into the same login.</li>
<li>Rithub's CI runner talks directly to the same instance that hosts the repository — one service, one admin panel, one thing to keep running.</li>
<li>No CI minutes to buy, meter, or run out of: the runner is a process you control, not a shared cloud pool.</li>
</ul>
<h2>How the built-in runner actually works</h2>
<ol>
<li><strong>Generate a registration token</strong> from the instance's Actions admin settings (instance-wide or per-repository).</li>
<li><strong>Run the <code>act_runner</code> binary</strong> on any machine, pointed at the Rithub instance URL with that token:
<pre>act_runner register --instance https://rithub.dev --token &lt;token&gt;
act_runner daemon</pre>
</li>
<li><strong>The runner reports online</strong> with its labels — on the live Rithub instance this was confirmed as <code>[ubuntu-latest ubuntu-22.04 ubuntu-24.04]</code>.</li>
<li><strong>Any repository with Actions enabled</strong> can now use it — push a <code>.github/workflows/ci.yml</code> with a matching <code>runs-on:</code> label and the job queues automatically.</li>
</ol>
<h2>How it was verified, not just enabled</h2>
<p>A registered runner was confirmed online, a real repository was pushed with a workflow file, and the run's status was polled through the API: <code>queued</code> → <code>running</code> → <code>success</code> in under a minute, on infrastructure this instance controls end to end.</p>
<h2>Frequently asked questions</h2>
<p><strong>What does "built-in" actually mean here?</strong><br>
The CI engine ships with the git-hosting instance — register a runner against the same server, no separate CI product to set up.</p>
<p><strong>How do I register a runner?</strong><br>
Generate a token from Actions admin settings, then run <code>act_runner register</code> + <code>act_runner daemon</code> against the instance URL.</p>
<p><strong>Is the workflow format compatible with GitHub Actions?</strong><br>
Yes, in most cases — rename <code>.github/workflows</code> to <code>.github/workflows</code> and existing syntax usually runs unchanged.</p>
<p><strong>Has this actually been run, not just configured?</strong><br>
Yes — a real workflow went queued → running → success on a registered runner, confirmed via the API.</p>
<a class="cta" href="https://rithub.dev/explore/repos">See repositories already running on Rithub</a>
<p style="margin-top:12px">Want an account? Email <a href="mailto:arhan@scribase.com">arhan@scribase.com</a> to request access.</p>
<footer>Rithub — code hosting. More detail: <a href="/assets/seo/github-actions-alternative-hosted.html">GitHub Actions alternative, hosted</a>. More guides:
<a href="/assets/seo/github-alternative-for-teams.html">GitHub alternative for teams</a> ·
<a href="/assets/seo/gitlab-alternative-hosted.html">GitLab alternative, hosted</a> ·
<a href="/assets/seo/bitbucket-alternative.html">Bitbucket alternative</a> ·
<a href="/assets/seo/private-git-hosting-free.html">private git hosting, free</a> ·
<a href="/assets/seo/github-account-flagged-move-repos.html">GitHub account flagged? move your repos</a> ·
<a href="/assets/seo/github-flagged-emergency-checklist.html">GitHub flagged: emergency checklist</a> ·
<a href="/assets/seo/migrate-from-github-to-hosted-git.html">migrate from GitHub to hosted git</a> ·
<a href="/assets/seo/github-to-rithub-migration-checklist.html">GitHub to Rithub migration checklist</a> ·
<a href="/assets/seo/github-copilot-training-opt-out.html">opt out of GitHub Copilot training</a> ·
<a href="/assets/seo/github-down-alternative.html">alternative to use when GitHub is down</a> ·
<a href="/assets/seo/github-per-seat-pricing-alternative.html">alternative to GitHub's per-seat pricing</a> ·
<a href="/assets/seo/gitlab-alternative-free-private-repos.html">GitLab alternative with free private repos</a> ·
<a href="/assets/seo/codeberg-alternative.html">Codeberg alternative</a> ·
<a href="/assets/seo/migrate-github-issues-and-pull-requests.html">migrate GitHub issues and pull requests</a>.
</footer>
</body>
</html>