2023-03-18 07:24:47 -04:00
|
|
|
---
|
|
|
|
title: code.forgejo.org
|
|
|
|
license: 'CC-BY-SA-4.0'
|
|
|
|
---
|
|
|
|
|
2023-07-03 17:48:12 -04:00
|
|
|
https://code.forgejo.org is a Forgejo instance running the latest
|
|
|
|
stable version, starting with the release candidates. It is dedicated
|
|
|
|
to hosting repositories dedicated to Forgejo development, among which:
|
2023-03-18 07:24:47 -04:00
|
|
|
|
2023-07-03 17:48:12 -04:00
|
|
|
- setup-forgejo a Forgejo Action to spawn a Forgejo instance and a runner for testing purposes https://code.forgejo.org/actions/setup-forgejo
|
2023-03-31 16:57:57 -04:00
|
|
|
- Forgejo Runner https://code.forgejo.org/forgejo/runner
|
|
|
|
- [ACT](https://github.com/nektos/act) soft fork https://code.forgejo.org/forgejo/act
|
2023-03-18 07:24:47 -04:00
|
|
|
|
|
|
|
To make these repositories easier to find, the following push mirrors are in place:
|
|
|
|
|
2023-03-31 16:57:57 -04:00
|
|
|
- https://code.forgejo.org/forgejo/runner => https://codeberg.org/forgejo/runner
|
|
|
|
- https://code.forgejo.org/forgejo/act => https://codeberg.org/forgejo/act
|
2023-11-14 12:04:34 -05:00
|
|
|
|
|
|
|
## Hardware
|
|
|
|
|
|
|
|
https://code.forgejo.org runs on the `code` LXC container hosted on the [hetzner{02,03}.forgejo.org LXC hypervisor](../infrastructure).
|
|
|
|
|
|
|
|
It is deployed and upgraded using the following [Enough command line](https://enough-community.readthedocs.io):
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ mkdir -p ~/.enough
|
|
|
|
$ git clone https://forgejo.octopuce.forgejo.org/forgejo/enough-code ~/.enough/code.forgejo.org
|
|
|
|
$ enough --domain code.forgejo.org service create --host bind-host forgejo
|
|
|
|
```
|
|
|
|
|
|
|
|
Upgrading only Forgejo:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ enough --domain code.forgejo.org playbook -- --limit bind-host,localhost --private-key ~/.enough/code.forgejo.org/infrastructure_key venv/share/enough/playbooks/forgejo/forgejo-playbook.yml
|
|
|
|
```
|
|
|
|
|
|
|
|
Login in the machine hosting the Forgejo instance for debugging purposes:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
enough --domain code.forgejo.org ssh bind-host
|
|
|
|
```
|