Commit graph

46 commits

Author SHA1 Message Date
76819bacec
developer: *.next are at https://code.forgejo.org/infrastructure/k8s
All checks were successful
pr / preview (pull_request) Successful in 1m23s
push / publish (push) Successful in 7s
backport / backport (pull_request) Successful in 2s
2024-07-31 06:52:56 +02:00
4312369146 developer: infrastructure: {dev,try}.next.forgejo.org 302
Some checks are pending
push / publish (push) Waiting to run
2024-07-16 15:50:59 +00:00
86e44a2cf5 developer: infrastructure: v9.next.forgejo.org same as v8 2024-07-16 15:50:59 +00:00
f543025ef4 developer: infrastructure: raise fs.inotify.max_user_instances 2024-07-16 15:50:59 +00:00
feeb7e68a4 developer: infrastructure: map v8.next 2080 to port 22 (#737)
All checks were successful
push / publish (push) Successful in 33s
it helps to minimize the need for configuration if the default port is
used instead of a custom one.

Reviewed-on: #737
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2024-07-01 13:17:34 +00:00
ff00778463
developer: infrastructure: v8.next.forgejo.org runs out of hetzner04
All checks were successful
pr / preview (pull_request) Successful in 55s
backport / backport (pull_request) Successful in 2s
push / publish (push) Successful in 6s
2024-06-29 14:43:32 +02:00
15624dd36e
developer: infrastructure: add runner container for lxc-helpers 2024-06-29 14:43:32 +02:00
eae00f8834
developer: infrastructure: upgrade the runner example to 3.5.0 2024-06-29 14:43:32 +02:00
296ce286e5
developer: infrastructure: wrong container name in example for LXC 2024-06-29 14:43:31 +02:00
dc2849ab18
developer: infrastructure: nft command reminder 2024-06-29 14:43:31 +02:00
6cc67e3e04
developer: infrastructure: no specifics in Forgejo nginx example 2024-06-29 14:43:31 +02:00
7e730394a2
developer: infrastructure: remove ubuntu-runner.forgejo.org
All checks were successful
pr / preview (pull_request) Successful in 43s
backport / backport (pull_request) Successful in 3s
push / publish (push) Successful in 6s
It is no longer useful as explained at:

forgejo-contrib/snap#10 (comment)
2024-06-24 18:59:54 +02:00
3a88278ae8 developer: infrastructure: EX101 with a ASRockRack only
All checks were successful
push / publish (push) Successful in 55s
2024-06-13 19:59:49 +00:00
d718114a48 developer: infrastructure: read-only backpups of gna.org
All checks were successful
push / publish (push) Successful in 55s
For discussions related to Forgejo hosting services.

Refs: forgejo/discussions#72
2024-06-11 19:04:09 +00:00
2cebfa7231 developer: infrastructure: DRBD disaster recovery instructions
All checks were successful
push / publish (push) Successful in 53s
One step is missing when restarting the machine, which happened today
because of a network card failure.
2024-06-09 10:56:20 +00:00
e400655e1c
developer: infrastructure: DRBD speedup trick
All checks were successful
pr / preview (pull_request) Successful in 1m44s
backport / backport (pull_request) Successful in 43s
push / publish (push) Successful in 49s
used while re-imaging hetzner01 to be the secondary of hetzner04
2024-06-03 14:31:13 +02:00
f9c4ad9e0b
developer: infrastructure: hosting {lab,cloud}.forgefriends.org
All checks were successful
pr / preview (pull_request) Successful in 1m30s
backport / backport (pull_request) Successful in 36s
push / publish (push) Successful in 41s
2024-05-31 10:18:42 +02:00
1a8ed80ebd developer: infrastructure: hosting forum.forgefriends.org
All checks were successful
push / publish (push) Successful in 39s
2024-05-30 09:53:26 +00:00
5df2f0d0d3
developer: infrastructure: deploy a runner for forgefriends
All checks were successful
pr / preview (pull_request) Successful in 1m26s
Refs: forgejo/discussions#114
2024-05-29 08:59:34 +02:00
ee6d19ca3f developer: infrastructure: document hetzner04 and rework everything
Some checks are pending
push / publish (push) Waiting to run
The page grew over the past year to have redundancies and
inconsistencies. It is organized to keep sections that are common to
all machines in one place:

* LXC container creation
* Forgejo runner creation
* DRBD
* vSwitch

The other sections are unified (Disk partitioning).
2024-05-28 20:58:14 +00:00
77e3e1205f developer: infrastructure: static pages hosting
All checks were successful
push / publish (push) Successful in 37s
Run a LXC container that hosts static pages.

* manual one time configuration (web server configuration, git clone
  of content)
* webhook based pull for updates

It is created to host the F3 documentation. It can be used in the
future to host the Forgejo website and retire Uberspace.

Refs: forgejo/governance#36
Refs: https://forgejo.org/docs/v7.0/developer/infrastructure/#uberspace
Refs: forgejo/discussions#114
2024-05-26 21:36:04 +00:00
359caf8476 admin(actions): the latest stable runner is 3.4.1
All checks were successful
push / publish (push) Successful in 21s
2024-05-10 07:19:38 +00:00
38c90ce5d6 developer(infrastructure): ubuntu-runner.forgejo.org
All checks were successful
push / publish (push) Successful in 16s
2024-05-07 10:54:55 +00:00
9ad5f2ab0f Add codespell support (without CI) and make it fix some typos (#536)
All checks were successful
push / publish (push) Successful in 15s
Per "request" of @0ko in forgejo/forgejo#3270 (comment)

TODOs
- postponed: how to add codespell (written in Python) to CI -- separate workflow? add to some other step? to some other tool/specification?

Reviewed-on: #536
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
Co-committed-by: Yaroslav Halchenko <debian@onerussian.com>
2024-05-05 14:53:04 +00:00
51a1f2951e developer: infrastructure: v7.next.forgejo.org
All checks were successful
push / publish (push) Successful in 8s
2024-04-21 06:52:09 +00:00
d1662f520e developer: infrastructure: blacklist bots that do not obey robots.txt
All checks were successful
push / publish (push) Successful in 8s
They get /forgejo/forgejo/archive/100448a007707c049a769cb71cd170fcb5b64a25.bundle

despite https://code.forgejo.org/robots.txt having

Disallow: /*/*/archive/
Disallow: /*/*/archive/*.bundle
2024-04-15 10:38:55 +00:00
206ed546b9 developer/infrastructure.md: ephemral -> ephemeral
Some checks are pending
push / publish (push) Waiting to run
2024-03-16 02:44:22 +00:00
0127a9b0a4
developer: infrastructure: check for next.forgejo.org upgrades hourly
All checks were successful
pr / preview (pull_request) Successful in 5m52s
backport / backport (pull_request) Successful in 1s
push / publish (push) Successful in 7s
2024-02-27 12:41:31 +01:00
7dee6e6060 developer: infrastructure: no need for Enough, use ssh instead
All checks were successful
push / publish (push) Successful in 7s
It lowers the learning curve a little more for future sysadmins.

Also remove the obsolete hardware paragraph in the code.forgejo.org
page.
2024-02-26 14:18:39 +00:00
f9702d46cd
developer: infrastructure: next.forgejo.org auto-upgrades
All checks were successful
pr / preview (pull_request) Successful in 1m9s
backport / backport (pull_request) Successful in 2s
push / publish (push) Successful in 7s
2024-02-24 23:11:36 +01:00
62c3b2540b
developer: release: the version metadata is not in the tag
All checks were successful
pr / preview (pull_request) Successful in 1m10s
backport / backport (pull_request) Successful in 2s
push / publish (push) Successful in 8s
It is added to the version when building it but is not part of the
release name.

Refs: forgejo/forgejo#2459
2024-02-24 14:11:02 +01:00
6bb6309a4e
developer: release process update for the hard fork
All checks were successful
pr / preview (pull_request) Successful in 1m23s
backport / backport (pull_request) Successful in 2s
push / publish (push) Successful in 15s
* Release number is v7.0.0+1.22.0 and following semantic versioning
* Remove the workflow page which is no longer needed as:
  * it is implicitly understood pull requests go to the default branch
  * testing requirements are documented in the testing.md page
* Explain how to cut a release and set the tag in forgejo-integration
  for proper numbering of the test releases that come out of the
  development branch

Refs: forgejo/forgejo#2448
2024-02-23 16:53:01 +01:00
73d1ff084b
developer: infrastructure: code.forgejo.org upgrade checklist
All checks were successful
pr / preview (pull_request) Successful in 1m8s
push / publish (push) Successful in 7s
backport / backport (pull_request) Successful in 4s
instead of keeping a backup within the container itself, trigger the
backup external to the container to make sure it reflects the state of
the container after Forgejo is shutdown in case it needs to be
retrieved.
2024-02-11 09:24:45 +01:00
cfa5760e60
developer: infrastructure: upgrade and re-install octopuce
All checks were successful
pr / preview (pull_request) Successful in 53s
backport / backport (pull_request) Successful in 5s
push / publish (push) Successful in 8s
* switch to using lxc-helpers alone instead of enough
  the learning curve of
  [enough](https://enough-community.readthedocs.io) is an unecessary
  burden in this context. Manual installation with lxc-helpers and
  documentation is enough when there only is a need for a handful
  of manual intervention per year
* update the Forgejo runner installation instructions
* tested the docker + self-hosted label to work with a test workflow
* do not maintain and setup a self-signed certificate because it creates a
  complication that is unecessary when behind a VPN
2023-12-28 17:18:25 +01:00
1caecddf18
{developer,user}: next.forgejo.org: update with the new location
All checks were successful
pr / preview (pull_request) Successful in 59s
backport / backport (pull_request) Successful in 6s
push / publish (push) Successful in 8s
2023-12-25 20:35:53 +01:00
10d2156c6e
developer: infrastructure: next.forgejo.org needs rm of the container
All checks were successful
pr / preview (pull_request) Successful in 1m35s
backport / backport (pull_request) Successful in 7s
push / publish (push) Successful in 8s
2023-12-18 21:36:00 +01:00
1afd0a4ef7 developer: infrastructure: quote commands
All checks were successful
push / publish (push) Successful in 6s
so that copy/pasting does not get non-ascii characters
2023-12-15 21:39:47 +00:00
64bdcbbb48
developer: infrastructure: no trailing / in reverse proxy
All checks were successful
pr / preview (pull_request) Successful in 57s
backport / backport (pull_request) Successful in 4s
push / publish (push) Successful in 6s
2023-12-12 11:58:52 +01:00
691d8890cf
developer: infrastructure: hetzner{02,03} root file system backups
All checks were successful
pr / preview (pull_request) Successful in 50s
backport / backport (pull_request) Successful in 4s
push / publish (push) Successful in 7s
No information in the root filesystem is really worth saving as it
can be recreated from this documentation or even from scratch manually
if needs be. But it is cheap to keep that backup and it is worth the
effort if it can save a few hours of work when an accident happen.

The more sophisticated way to do it would be to setup DRBD with the
root file system. But this is not straightforward and to ensure it
won't get the admin in trouble when an accident happen is tricky. It
is the one time when every bit of complication can quickly become a
blocker or an unecessary burden.
2023-12-11 23:59:04 +01:00
c6f7b3f688 developer: infrastructure: code.forgejo.org rotating backups
All checks were successful
push / publish (push) Successful in 6s
2023-12-11 22:16:03 +00:00
13b6b38939
developer: infrastructure: next.forgejo.org
All checks were successful
pr / preview (pull_request) Successful in 52s
backport / backport (pull_request) Successful in 5s
push / publish (push) Successful in 7s
next.forgejo.org has been lagging for a few weeks in upgrades. While
crystal and dachary are busy, I setup and documented an LXC container
on the machine to which we all have access. It can be switched back to
where it was by updating the DNS entry.
2023-12-11 22:57:43 +01:00
8058edc2a0
developer: infrastructure: IP & port forwarding
All checks were successful
pr / preview (pull_request) Successful in 54s
backport / backport (pull_request) Successful in 4s
push / publish (push) Successful in 7s
2023-12-10 14:48:45 +01:00
d2daf216e5 developer: infrastructure: document forgejo-helm runner
All checks were successful
push / publish (push) Successful in 8s
It is special because it needs extended permissions to run k8s tests.
2023-12-06 16:31:54 +00:00
69a63cea19
developer: infrastructure at hetzner
All checks were successful
pr / preview (pull_request) Successful in 54s
backport / backport (pull_request) Successful in 4s
push / publish (push) Successful in 7s
* document the current setup at hetzner01 and maintenance procedures
* document the new hardware setup at hetzner{02,03} for hosting code.forgejo.org
2023-12-05 22:36:09 +01:00
dc58097aec
developer/infrastructure: add Uberspace
All checks were successful
pr / preview (pull_request) Successful in 1m13s
push / publish (push) Successful in 12s
backport / backport (pull_request) Successful in 9s
Refs: forgejo/governance#36
2023-10-20 17:04:33 +02:00
27864fec2b
move docs to subfolder 2023-08-15 00:19:15 +01:00
Renamed from developer/infrastructure.md (Browse further)