forgejo: init, admins: add emilylange #62
Loading…
Reference in a new issue
No description provided.
Delete branch "forgejo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds Forgejo with a custom patchset. One that is just enough to get us started and to be polished later.
It tries to make Forgejo fast when used with large repositories.
There are still some rough edges, e.g. you can totally shoot yourself, as an end user, in the foot by comparing
nixpkgs:master
withnixpkgs:release-24.05
.Not a blocker, I believe. But we should talk to upstream to implement proper pagination in the compare view, I suppose.
The most expensive bits in Forgejo are code paths that shell out to
git
. Those shell invocations then often pin a CPU core at 100%.Forgejo itself is fairly light on the RAM.
Forgejo with those patches and a full nixpkgs pull-mirror ran snappy on a NixOS-shell with
and me clicking around, trying to find expensive code paths and some occasional stress testing.
As such, I think the following specs should suffice for now:
I would like to use the builtin go ssh server instead of the hosts' OpenSSH one.
But we can't let both bind on the same IP+port.
So how about two IPv6. One for Forgejo's
:22
and the other for OpenSSH?Alternative, we can just use the Forgejo with the OpenSSH one, or move OpenSSH to
:2222
.The latter is nicely supported in colmena by setting
deployment.targetPort
.@raito can you provision the VM please when you find time? :)
Things left to do:
forgejo.service
restarts: Not blocking, nice to have.What's left to make this ready for review?
@raito needs to provision the VM and I need to configure SSO when it's running on that VM.
Feel free to review as is, @lukegb :)
Your SSH keys are available on
root@2001:bc8:38ee:100:be24:11ff:fe0b:8a81
, please take2001:bc8:38ee:100:1000::40/64
for the VM.MAC address for WAN:
bc:24:11:0b:8a:81
MAC address for NAT-LAN:
bc:24:11:83:71:56
(DHCP)Please use the raito-vm template for the configuration and follow how fodwatch was introduced (add an host entry, etc, etc.)
FYI, you will need to colmena boot then reboot, I don't recommend applying a interface rename at runtime, it will just break down.
If you need manual KVM assistance, @jade is authorized to access it and can assist.
If you need a larger HDD or a smol cache SSD, let me know, you are provisioned with a 40G encrypted (null key) disk.
fa4fa0b64c
tof60e01b019
12101e80fa
toab9caaf520
WIP: forgejo: init, admins: add emilylangeto forgejo: init, admins: add emilylange