A Windows-compiled version of the Forgejo Runner, providing a pre-built binary for executing Forgejo Actions workflows on Windows systems. This repository offers convenient downloads for users seeking a straightforward installation without the need for manual compilation.
Forgejo is a self-hosted, lightweight software forge designed for version control and collaboration. It is a community-driven hard-fork of Gitea, emphasizing ease of installation, low maintenance, and an inclusive governance model. Forgejo supports features such as Git repository hosting, issue tracking, pull requests, wikis, and continuous integration through Actions. It is suitable for individuals, teams, and organizations requiring a reliable, open-source alternative to proprietary platforms like GitHub.
Key characteristics include:
- Lightweight and Efficient: Minimal resource usage, making it ideal for deployment on modest hardware.
- Self-Hosted: Full control over data and infrastructure.
- Community-Focused: Governed by a transparent, democratic process.
For more details, refer to the official Forgejo website and documentation.
The Forgejo Runner is a daemon application responsible for executing jobs defined in Forgejo Actions workflows. It connects to a Forgejo instance, polls for pending jobs, runs them in isolated environments, and reports results back to the server. This enables continuous integration and deployment (CI/CD) pipelines, automated testing, and other automation tasks directly within your Forgejo repositories.
The official runner supports Linux only and can be configured to use various execution modes such as containerized (e.g., Docker) or host-based environments. It fetches workflows from the Forgejo server, executes steps defined in YAML files, and handles artifacts, logs, and status updates.
This repository provides a pre-compiled Windows binary of the Forgejo Runner, simplifying setup for Windows users. It is a build of the official Forgejo Runner source code repository, with no modifications of the source tree.
- Scalability: Multiple runners can be registered to a single Forgejo instance for distributed execution.
- Security: Runs jobs in isolated contexts to prevent interference with the host system.
- Customization: Supports custom labels for targeting specific runners (e.g., Windows-specific jobs).
- Integration: Seamless compatibility with Forgejo Actions syntax, which is similar to GitHub Actions.
-
Download the Binary:
- Visit the Releases page to download the latest Windows executable (e.g.,
forgejo-runner.exe).
- Visit the Releases page to download the latest Windows executable (e.g.,
-
Configure the Runner:
- Follow the official documentation for runner configuration.
-
Configure as a Service (Optional, for persistent operation):
- Use Windows Task Scheduler or a third-party tool to run the daemon as a background service.
-
Verify Registration:
- Return to your Forgejo instance's Actions settings to confirm the runner appears online and is available for jobs.
-
Running Workflows:
- In your repository, create
.forgejo/workflows/your-workflow.ymlfiles defining jobs that target Windows (e.g., usingruns-on: [self-hosted, windows]labels). - Trigger a workflow (e.g., via push or manual dispatch) and monitor execution in the Actions tab.
- In your repository, create
For additional configuration, such as enabling Docker support or custom environment variables, consult the official documentation.
- Ensure the runner has network access to your Forgejo instance.
- Check logs in the
--logdir(if specified) for errors. - If registration fails, verify the token's validity and instance URL.
- Windows-specific issues may involve antivirus software interfering with executables; add exceptions as needed.
Here is a curated list of links to official and helpful resources for Forgejo, the Runner, and related tools:
- Forgejo Official Website – Introduction, downloads, and community information.
- Forgejo Documentation (Latest) – Comprehensive guides for installation, administration, and usage.
- Forgejo Installation Guide – Step-by-step setup for deploying Forgejo.
- User Guide – Tutorials for repository management, issues, and more.
- Administrator Guide – Advanced configuration, including security and performance.
- Forgejo Actions Administrator Guide – Detailed setup for enabling and managing Actions on your instance.
- Forgejo Actions User Guide – How to write and run workflows.
- Actions Reference – Syntax and built-in functions for YAML workflows.
- Quick Start for Actions – Beginner tutorial for creating your first workflow.
- Official Forgejo Runner Repository – Source code, issues, and build instructions for the runner.
- Runner Installation Guide – Official instructions for installing and configuring the runner.
- Forgejo Discourse Forum – Community discussions and support threads.
- Forgejo Matrix Channel – Real-time chat for developers and users.
- Codeberg Documentation on Forgejo Actions – Practical guide from a Forgejo hoster.
- Gitea Actions Documentation – Compatible reference, as Forgejo Actions are derived from Gitea (note version differences).
Contributions to improve documentation or binaries are welcome via pull requests. For issues specific to this Windows build, open a new issue in this repository.