18 lines · 820 B
#!/usr/bin/env bun
/**
 * Retired. The bun self-hosted runner ran jobs directly on the host without isolation; it has been replaced by
 * `gfd runner`, which runs every job in a fresh Docker or Podman container with an egress firewall.
 */
const message = `runner/gitfor-runner.ts has been retired in favour of \`gfd runner\`.

  1. Install gfd: https://github.com/taigrr/gfd (go install github.com/taigrr/gfd@latest)
  2. In the repository (or /orgs/<owner>/runners) settings, create a registration token.
  3. gfd runner register --url <forge url> --token gitfor_reg_...
  4. gfd runner run

Existing GITFOR_RUNNER_TOKEN credentials still work with gfd: remove the runner in settings and register again
to get admin-declared isolation (required for fork pull request jobs).
`;
console.error(message);
process.exit(1);