1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-08 07:26:02 +02:00
Commit Graph

2935 Commits

Author SHA1 Message Date
nl6720 58fbac9df5
archwiki: LocalSettings.php: add gitlab.archlinux.org to wgGitRepositoryViewers
This way the commit hash for "MediaWiki" in
https://wiki.archlinux.org/title/Special:Version is clickable.
2024-05-06 16:18:09 +03:00
Christian Heusel 719521b27d
archwiki: Update to 1.41.1-3
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-05-06 15:00:02 +02:00
Leonidas Spyropoulos dbef3bc895
archbuild: delete offload build directories not just artifacts
nullglob + loop so the service doesn't fail if there are no
 /home/*/.cache/offload-build directories (slightly less efficient
 that one find call, but seems safer also in regards to ARG_MAX)
-mindepth 1 so it doesn't try to delete .cache/offload-build for users
 without any recent builds
no verbose output from rm command, otherwise we'll get 500k log lines
 the first time it runs (calculated around 75G of old tmp directories)

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
Co-authored-by: Evangelos Foutras <evangelos@foutras.com>
2024-05-06 00:44:10 +01:00
Christian Heusel c31dd3309d
prepare the split of repo and archive server
related to https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/531

Co-authored-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-05-04 22:14:41 +02:00
Evangelos Foutras c2b80c5e28
install_arch: switch to tar.zst for bootstrap image
2024.05.01 and later images are using Zstandard compression.
2024-05-03 16:03:08 +03:00
Jan Alexander Steffens (heftig) 178af10b2c
matrix: Update synapse to 1.106.0 2024-05-03 00:21:26 +02:00
Jelle van der Waa cd23ccc039
archweb: update to latest release 2024-05-02 19:17:04 +02:00
Jakub Klinkovský 885955e3cb archbuild: add LOGDEST to env_keep in sudoers
The archbuild script actually tries to preserve several other
environment variables, but preserving LOGDEST is specifically needed for
https://gitlab.archlinux.org/archlinux/devtools/-/merge_requests/220
2024-04-29 15:18:50 +02:00
Jelle van der Waa e94a1d84c3
archweb: release new version 2024-04-28 12:15:08 +02:00
Jan Alexander Steffens (heftig) d4ea363669
matrix: Update synapse to 1.105.1 2024-04-25 03:28:42 +02:00
Christian Heusel f38d013c04
validate the sudoers files before using
This is already done for the 'sudo' role, but we also have a few more
sudoers files which currently go in unverified.

Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-04-24 19:28:19 +02:00
Evangelos Foutras e7e6308606
mailman: change lookup tables in main.cf to lmdb:
Arch's postfix 3.9.0-1 package removes support for BDB hash: and btree:
database types, and switches the default to LMDB. [1]

[1] https://gitlab.archlinux.org/archlinux/packaging/packages/postfix/-/commit/2ebb2274ab04
2024-04-23 19:21:03 +03:00
Evangelos Foutras 302bf4e4ce
keycloak: avoid installing specific Java version
jre11-openjdk seems unused as Keycloak has moved to Java 17.
2024-04-22 22:22:50 +03:00
Jan Alexander Steffens (heftig) fe02efe36c
matrix: Update synapse to 1.105.0 2024-04-17 01:41:42 +02:00
Frederik Schwan 4b671ed397
disable agent and tcp forwarding for AUR 2024-04-11 12:00:17 +02:00
Jan Alexander Steffens (heftig) 7c2d112870
matrix: Replace mjolnir with draupnir
Mjolnir does not support Node 20.
2024-04-09 00:01:06 +02:00
Jan Alexander Steffens (heftig) 86c85c5e07
matrix: Update bridge to 2.0.0
The bridge dropped support for Node 18.
2024-04-08 23:53:58 +02:00
Jan Alexander Steffens (heftig) b52fbec262
matrix: Update synapse to 1.104.0 2024-04-08 22:43:57 +02:00
Jakub Klinkovský 124db3a6aa archwiki: Update to 1.41.1-2
Version 1.41.1-2 adds support for the Timeless skin, see
https://gitlab.archlinux.org/archlinux/archwiki/-/merge_requests/71

The 'MonoBook' skin is replaced with 'Timeless' in the configuration
file. MonoBook is quite ugly and legacy skin that should be phased out.
When it is disabled, the skin-specific CSS overrides could be cleaned up
in the archwiki repository.

Also removed outdated comment referring to "internal symbolic names"
that are in a legacy section in the MediaWiki documentation:
https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgDefaultSkin#Legacy_information
2024-03-31 20:54:53 +02:00
Kristian Klausen 8d6822cb3c
grafana: Enable viewers can edit to ease testing on dashboards.al.org
E.g. when adding new metrics (from monitoring.al.org) or when people
outside the DevOps team want to improve one of the dashboards.
2024-03-31 15:22:02 +02:00
Christian Heusel 3ef242d61f
archwiki: Update to version 1.41.1-1
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-03-30 21:08:34 +01:00
Evangelos Foutras 743dd1faeb
borg_client: refactor database related vars/tasks
Move backup-related variable defaults from the database roles into the
borg_client role. Also check group membership to guard installation of
database backup helper scripts.
2024-03-30 19:08:37 +02:00
Evangelos Foutras 268080569a
borg_client: stop ignoring errors during db dumps
Due to the "systemctl is-active foo && backup-foo || true" shorthand,
errors during database dumping were being ignored. Change the MariaDB
section to also be wrapped in a proper if statement. Finally, get rid
of "|| true" silencing statements + enable errexit in helper scripts.
2024-03-30 18:25:34 +02:00
Evangelos Foutras 4519d2e328
grafana: rebase grafana.ini to grafana 10.4.1-1 2024-03-29 20:16:49 +02:00
David Runge 28f8ba48b1
dbscripts: Upgrade to latest commit
cde46716a8
includes fixes for pacman 6.1

Signed-off-by: David Runge <dvzrv@archlinux.org>
2024-03-29 15:45:51 +01:00
Sven-Hendrik Haase 6d85f867e0
keycloak: Upgrade to v24 2024-03-29 01:55:00 +01:00
Evangelos Foutras 82e1cefb70
security_tracker: bump version to 0.14.5
Fixes a NOT NULL violation related to Pacman 6.1 dropping MD5 checksums
from repository databases.
2024-03-25 13:15:03 +02:00
Jan Alexander Steffens (heftig) 64c408c611
matrix: Update synapse to 1.103.0 2024-03-22 14:40:00 +01:00
Kristian Klausen d5f5cf6b52
Cleanup flyspray leftovers
Fixes: 4e5550a8 ("Decommission bugs.archlinux.org and replace it with a static copy[1]")
2024-03-17 00:18:10 +01:00
Kristian Klausen e0423d7e0b
Make the "Geo Mirrors" dashboard and metrics publicly available
This may be interesting for our mirror administrators and mirror owners.

I tried backfilling the data, but was unsuccessful, due to a bug[1]. We
may try again if/when the bug is fixed.

[1] https://github.com/prometheus/prometheus/issues/13747
2024-03-16 22:45:18 +01:00
Evangelos Foutras 1fadf90b44
archbuild: use lineinfile to override makepkg.conf
The only variables we want to change are MAKEFLAGS and SRCDEST so
this is a cleaner approach compared to templating the whole file.
2024-03-16 00:31:14 +02:00
Christian Heusel e25bb53d9f
archwiki: Switch notification mail to noreply
Change this to the noreply mail but also add a wiki tag to it so it can
more easily be filtered in mail programs.

Fixes https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/563

Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-03-13 00:37:31 +01:00
Jan Alexander Steffens (heftig) e1d62dd468
matrix: Update synapse to 1.102.0 2024-03-09 05:55:24 +01:00
Christian Heusel 048167d6be
archwiki: Switch captcha to time-based method
Up until now the captcha has depended on the exact output of the pacman
version command which could lead to multiple problematic scenarios:

    a) User uses testing repos (user pacman newer)
    b) Server is not instantly updated (user pacman newer)
    c) User system is not updated (user pacman older)

Circumvent this problem by switching to a time based captcha instead.

Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-03-06 23:33:01 +01:00
Jelle van der Waa 5909800fd5
archweb: update to latest release 2024-03-05 19:09:50 +01:00
Christian Heusel 8b7f30ff88
archwiki: Update to version 1.41.0-3
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-02-21 22:46:37 +01:00
Jan Alexander Steffens (heftig) 96219779dd
matrix: Update synapse to 1.101.0 2024-02-19 18:44:15 +01:00
Kristian Klausen cf20697629
hedgedoc: Move the client secret to the config file for security
The systemd environment variables can be read by anyone, so move the
secret to the configuration file, which can only be read by root and the
hedgedoc user.

Fix #562
2024-02-19 00:26:53 +01:00
Kristian Klausen 036555ad72
hedgedoc: Make the config file non-world writable
The config file contain secrets, so it should not be world writable.

Fix #562
2024-02-19 00:12:41 +01:00
Kristian Klausen 95e19506ff
fail2ban: Use a managed firewalld ipset
The firewalld direct interface is deprecated and will be removed in a
future release[1]. Recently IPv4 connectivity inside docker containers
on our runners broke and after some troubleshooting, the issue was
pinpointed to the start of the fail2ban service. We also had issues in
the past where sometimes firewalld had to be restarted after boot before
network connectivity worked in libvirt on our runners.

The issuse may be due to a bug in the way fail2ban use the direct
interface, a bug in firewalld or a combination thereof. Let's just avoid
the direct interface altogether and create a clean separation, with
firewalld handling the blocking and fail2ban maintaining the ipset.

[1] https://firewalld.org/documentation/man-pages/firewalld.direct.html
2024-02-18 22:57:42 +01:00
Kristian Klausen c370c9d06e
gitlab_runner: Update concurreny math to reflect the new VM size
Fixes: 97bc3928 ("gitlab_runner: raise max memory to 2GB")
2024-02-18 18:20:09 +01:00
Levente Polyak 97bc392866
gitlab_runner: raise max memory to 2GB
This is required f.e. for the dbscripts pipeline where kcov coverage
requires quite a bit more memory and fails to run in parallel with 1GB
limit.
2024-02-15 21:00:48 +01:00
Christian Heusel ca25ddb960
bugbuddy: fix download script for sq 0.33.0
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-02-15 20:55:26 +01:00
Christian Heusel 52924e45b0
gluebuddy: fix download script for sq 0.33.0
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-02-15 20:55:25 +01:00
Christian Heusel 3a431006a9
gitlab_runner: fix error about unbound variable
When there was an error i.e. with the image verification the loopdev
variable was unbound in the cleanup function. We fix this by defining
the variable as empty.

Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-02-15 20:45:56 +01:00
Christian Heusel fb4d54ce50
gitlab_runner: fix image update for sequoia 0.33.0
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-02-15 20:45:56 +01:00
Jakub Klinkovský 4ddea2283e
archwiki: update the repository URL
Related to https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/557
2024-02-15 19:13:00 +01:00
Christian Heusel 99bc245958
prometheus_exporters: drop flyspray-textcollector
Related to #550
Related to #551

Fixes: 4e5550a8 ("Decommission bugs.archlinux.org and replace it with a static copy[1]")
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-02-14 20:22:27 +01:00
Levente Polyak afac3a3706
dbscripts: bump version to latest commit 2024-02-13 01:21:26 +01:00
Kristian Klausen fe3f724449
gitlab: Enable domain-level redirects feature flag for Pages
This feature is needed for the static copy of bugs.a.o[2], to redirect
some of the migrated tasks to the new gitlab URLs.

[1] https://docs.gitlab.com/ee/user/project/pages/redirects.html#domain-level-redirects
[2] https://gitlab.archlinux.org/archlinux/bugs-archive/-/blob/snapshots/_redirects
2024-02-10 17:38:32 +01:00